summaryrefslogtreecommitdiff
path: root/drivers/crypto/ccree/cc_buffer_mgr.h
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2018-01-22 09:27:03 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2018-02-15 23:26:42 +0800
commitff27e85a85bbde19589f775297db92ff925e5981 (patch)
tree9ae7d4858b55898b41f48833c9e02136975b7602 /drivers/crypto/ccree/cc_buffer_mgr.h
parent63893811b0fcb52f6eaf9811cc08bddd46f81c3e (diff)
crypto: ccree - add AEAD support
Add CryptoCell AEAD support Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccree/cc_buffer_mgr.h')
-rw-r--r--drivers/crypto/ccree/cc_buffer_mgr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/crypto/ccree/cc_buffer_mgr.h b/drivers/crypto/ccree/cc_buffer_mgr.h
index 614c5c5b2721..3ec4b4db5247 100644
--- a/drivers/crypto/ccree/cc_buffer_mgr.h
+++ b/drivers/crypto/ccree/cc_buffer_mgr.h
@@ -48,6 +48,10 @@ int cc_map_cipher_request(struct cc_drvdata *drvdata, void *ctx,
void cc_unmap_cipher_request(struct device *dev, void *ctx, unsigned int ivsize,
struct scatterlist *src, struct scatterlist *dst);
+int cc_map_aead_request(struct cc_drvdata *drvdata, struct aead_request *req);
+
+void cc_unmap_aead_request(struct device *dev, struct aead_request *req);
+
int cc_map_hash_request_final(struct cc_drvdata *drvdata, void *ctx,
struct scatterlist *src, unsigned int nbytes,
bool do_update, gfp_t flags);