diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-18 10:59:13 +0800 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-23 11:33:47 +0800 |
| commit | 0865a89413652ecad551c9b782fa5146259640e4 (patch) | |
| tree | 681e7a49a186b2bb7c159cae48f982bd88ce6144 /include/crypto/sha1.h | |
| parent | cc1f5bbe428c915b2076a77d07ad0477c1ee6d10 (diff) | |
crypto: x86/sha1 - 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/sha1.h')
| -rw-r--r-- | include/crypto/sha1.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/crypto/sha1.h b/include/crypto/sha1.h index 044ecea60ac8..dd6de4a4d6e6 100644 --- a/include/crypto/sha1.h +++ b/include/crypto/sha1.h @@ -10,6 +10,7 @@ #define SHA1_DIGEST_SIZE 20 #define SHA1_BLOCK_SIZE 64 +#define SHA1_STATE_SIZE offsetof(struct sha1_state, buffer) #define SHA1_H0 0x67452301UL #define SHA1_H1 0xefcdab89UL |
