summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/ccree/cc_driver.h
diff options
context:
space:
mode:
authorGilad Ben-Yossef2018-01-22 10:27:03 +0100
committerHerbert Xu2018-02-15 16:26:42 +0100
commitff27e85a85bbde19589f775297db92ff925e5981 (patch)
tree9ae7d4858b55898b41f48833c9e02136975b7602 /drivers/crypto/ccree/cc_driver.h
parentcrypto: ccree - add ahash support (diff)
downloadkernel-qcow2-linux-ff27e85a85bbde19589f775297db92ff925e5981.tar.gz
kernel-qcow2-linux-ff27e85a85bbde19589f775297db92ff925e5981.tar.xz
kernel-qcow2-linux-ff27e85a85bbde19589f775297db92ff925e5981.zip
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_driver.h')
-rw-r--r--drivers/crypto/ccree/cc_driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/ccree/cc_driver.h b/drivers/crypto/ccree/cc_driver.h
index a7098f5fde40..5862e2bf0795 100644
--- a/drivers/crypto/ccree/cc_driver.h
+++ b/drivers/crypto/ccree/cc_driver.h
@@ -114,6 +114,7 @@ struct cc_drvdata {
void *buff_mgr_handle;
void *cipher_handle;
void *hash_handle;
+ void *aead_handle;
void *request_mgr_handle;
void *ivgen_handle;
void *sram_mgr_handle;
@@ -130,6 +131,7 @@ struct cc_crypto_alg {
unsigned int data_unit;
struct cc_drvdata *drvdata;
struct skcipher_alg skcipher_alg;
+ struct aead_alg aead_alg;
};
struct cc_alg_template {