diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-18 11:00:20 +0800 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-23 15:52:46 +0800 |
| commit | ff3cb9de53baa3da7df0e08798a5638436d8aabc (patch) | |
| tree | c538caed6f1cbf8675d4cca9121bff44b926a392 /include/crypto/sha2.h | |
| parent | 201e9ec3b621c9542441eb7bd34facbc1749b975 (diff) | |
crypto: x86/sha512 - Use API partial block handling
Use the Crypto API partial block handling.
Also remove the unnecessary SIMD fallback path.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/sha2.h')
| -rw-r--r-- | include/crypto/sha2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/crypto/sha2.h b/include/crypto/sha2.h index a913bad5dd3b..e9ad7ab955aa 100644 --- a/include/crypto/sha2.h +++ b/include/crypto/sha2.h @@ -19,6 +19,7 @@ #define SHA512_DIGEST_SIZE 64 #define SHA512_BLOCK_SIZE 128 +#define SHA512_STATE_SIZE 80 #define SHA224_H0 0xc1059ed8UL #define SHA224_H1 0x367cd507UL |
