diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-18 11:00:45 +0800 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-23 15:52:47 +0800 |
| commit | 8266393e9ba0bee395bc256ba56427ec5493e2d1 (patch) | |
| tree | 280913ed25c240e5894e969a7ae00bcba92ce880 /include/crypto/sm3.h | |
| parent | f9fbc8bff1e19dc88ceeb24b39fd78631e5ead13 (diff) | |
| download | linux-next-8266393e9ba0bee395bc256ba56427ec5493e2d1.tar.gz linux-next-8266393e9ba0bee395bc256ba56427ec5493e2d1.zip | |
crypto: sm3-generic - Use API partial block handling
Use the Crypto API partial block handling.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/sm3.h')
| -rw-r--r-- | include/crypto/sm3.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/crypto/sm3.h b/include/crypto/sm3.h index d49211ba9a20..6dc95264a836 100644 --- a/include/crypto/sm3.h +++ b/include/crypto/sm3.h @@ -14,6 +14,7 @@ #define SM3_DIGEST_SIZE 32 #define SM3_BLOCK_SIZE 64 +#define SM3_STATE_SIZE 40 #define SM3_T1 0x79CC4519 #define SM3_T2 0x7A879D8A |
