summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2019-04-18 15:38:56 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-04-25 09:38:15 +0200
commitbd233baf223d818aea7336a6702322fc1fbb7a4d (patch)
treee932d92ba928ccc41f98b7d322fd958ff8960a55 /drivers/crypto
parentcrypto: ccree - do not copy zero size MLLI table (diff)
downloadlinux-bd233baf223d818aea7336a6702322fc1fbb7a4d.tar.xz
linux-bd233baf223d818aea7336a6702322fc1fbb7a4d.zip
crypto: ccree - remove unused defines
Remove unused definitions from AEAD driver code. 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_aead.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/crypto/ccree/cc_aead.c b/drivers/crypto/ccree/cc_aead.c
index 446b0c461a35..0141c6780810 100644
--- a/drivers/crypto/ccree/cc_aead.c
+++ b/drivers/crypto/ccree/cc_aead.c
@@ -23,12 +23,8 @@
#define MAX_HMAC_DIGEST_SIZE (SHA256_DIGEST_SIZE)
#define MAX_HMAC_BLOCK_SIZE (SHA256_BLOCK_SIZE)
-#define AES_CCM_RFC4309_NONCE_SIZE 3
#define MAX_NONCE_SIZE CTR_RFC3686_NONCE_SIZE
-/* Value of each ICV_CMP byte (of 8) in case of success */
-#define ICV_VERIF_OK 0x01
-
struct cc_aead_handle {
cc_sram_addr_t sram_workspace_addr;
struct list_head aead_list;