summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/ccp/ccp-dev.h
diff options
context:
space:
mode:
authorGary R Hook <gary.hook@amd.com>2016-07-27 02:10:31 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-08-09 12:47:17 +0200
commit084935b208f6507ef5214fd67052a67a700bc6cf (patch)
tree5b617289cb4807fd950c9028f8c18a26f2949f3c /drivers/crypto/ccp/ccp-dev.h
parentcrypto: ccp - Let a v5 CCP provide the same function as v3 (diff)
downloadlinux-084935b208f6507ef5214fd67052a67a700bc6cf.tar.xz
linux-084935b208f6507ef5214fd67052a67a700bc6cf.zip
crypto: ccp - Add support for the RNG in a version 5 CCP
Signed-off-by: Gary R Hook <gary.hook@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccp/ccp-dev.h')
-rw-r--r--drivers/crypto/ccp/ccp-dev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/ccp/ccp-dev.h b/drivers/crypto/ccp/ccp-dev.h
index 5ff4a73e3bd4..d04bd61ed845 100644
--- a/drivers/crypto/ccp/ccp-dev.h
+++ b/drivers/crypto/ccp/ccp-dev.h
@@ -601,6 +601,8 @@ int ccp_trng_read(struct hwrng *rng, void *data, size_t max, bool wait);
int ccp_run_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd);
+int ccp_register_rng(struct ccp_device *ccp);
+void ccp_unregister_rng(struct ccp_device *ccp);
int ccp_dmaengine_register(struct ccp_device *ccp);
void ccp_dmaengine_unregister(struct ccp_device *ccp);