summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2019-04-18 15:39:03 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-04-25 09:38:15 +0200
commit18dd574acdb70c9c5bc3878d4e98be88259a2fe3 (patch)
tree1626becd0f89ecc45dd7d2412d9cc4fb2831da42 /drivers/crypto
parentcrypto: ccree - use correct internal state sizes for export (diff)
downloadlinux-18dd574acdb70c9c5bc3878d4e98be88259a2fe3.tar.xz
linux-18dd574acdb70c9c5bc3878d4e98be88259a2fe3.zip
crypto: ccree - allow more AEAD assoc data fragments
Increase the maximum supported AEAD associated data fragments. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/ccree/cc_lli_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/ccree/cc_lli_defs.h b/drivers/crypto/ccree/cc_lli_defs.h
index 43aca6b79b9b..f891ab813f41 100644
--- a/drivers/crypto/ccree/cc_lli_defs.h
+++ b/drivers/crypto/ccree/cc_lli_defs.h
@@ -14,7 +14,7 @@
#define CC_MAX_MLLI_ENTRY_SIZE 0xFFFF
#define LLI_MAX_NUM_OF_DATA_ENTRIES 128
-#define LLI_MAX_NUM_OF_ASSOC_DATA_ENTRIES 4
+#define LLI_MAX_NUM_OF_ASSOC_DATA_ENTRIES 8
#define MLLI_TABLE_MIN_ALIGNMENT 4 /* 32 bit alignment */
#define MAX_NUM_OF_BUFFERS_IN_MLLI 4
#define MAX_NUM_OF_TOTAL_MLLI_ENTRIES \