summaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-03-28 05:57:09 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2023-04-06 10:18:53 +0200
commit9697b328d11152d7b918ee82438d4283d4edb563 (patch)
tree6c1058d7ad365639d02eaa5ac7e64b17e79e3e6e /include/crypto
parentcrypto: algif_hash - Allocate hash state with kmalloc (diff)
downloadlinux-9697b328d11152d7b918ee82438d4283d4edb563.tar.xz
linux-9697b328d11152d7b918ee82438d4283d4edb563.zip
crypto: hash - Remove maximum statesize limit
Remove the HASH_MAX_STATESIZE limit now that it is unused. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/hash.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/crypto/hash.h b/include/crypto/hash.h
index 1ed674ba8429..3a04e601ad6a 100644
--- a/include/crypto/hash.h
+++ b/include/crypto/hash.h
@@ -183,8 +183,6 @@ struct shash_desc {
*/
#define HASH_MAX_DESCSIZE (sizeof(struct shash_desc) + 360)
-#define HASH_MAX_STATESIZE 512
-
#define SHASH_DESC_ON_STACK(shash, ctx) \
char __##shash##_desc[sizeof(struct shash_desc) + HASH_MAX_DESCSIZE] \
__aligned(__alignof__(struct shash_desc)); \