X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=arch%2Fs390%2Fcrypto%2Fsha.h;h=10f2007900790919f41ac6f3d3bd425c9decebb6;hb=a2a43ccf6ff3802cf0e3e4abad9347083f14f7f5;hp=f4e9dc71675f7e5d572c2e6d97312b097e5d89a2;hpb=e0724bf6e4a1f2e678d2b2aab01cae22e17862f0;p=karo-tx-linux.git diff --git a/arch/s390/crypto/sha.h b/arch/s390/crypto/sha.h index f4e9dc71675f..10f200790079 100644 --- a/arch/s390/crypto/sha.h +++ b/arch/s390/crypto/sha.h @@ -19,7 +19,7 @@ #include /* 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 {