]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/s390/crypto/sha.h
Merge remote-tracking branch 'mips/mips-for-linux-next'
[karo-tx-linux.git] / arch / s390 / crypto / sha.h
index f4e9dc71675f7e5d572c2e6d97312b097e5d89a2..10f2007900790919f41ac6f3d3bd425c9decebb6 100644 (file)
@@ -19,7 +19,7 @@
 #include <crypto/sha.h>
 
 /* must be big enough for the largest SHA variant */
-#define SHA_MAX_STATE_SIZE     16
+#define SHA_MAX_STATE_SIZE     (SHA512_DIGEST_SIZE / 4)
 #define SHA_MAX_BLOCK_SIZE      SHA512_BLOCK_SIZE
 
 struct s390_sha_ctx {