diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-03-21 07:09:34 +0300 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2026-03-24 03:50:59 +0300 |
| commit | ef01e1eafb20f74e6d951a42a870a40cd8b914ca (patch) | |
| tree | 166bf9dd08bff4d4db34e7cf11c2a90756b1471d /include | |
| parent | 9d7f2a6ed598e82b07582d4f5122f66111ef5c00 (diff) | |
| download | linux-ef01e1eafb20f74e6d951a42a870a40cd8b914ca.tar.xz | |
crypto: sm3 - Remove the original "sm3_block_generic()"
Since the architecture-optimized SM3 code was migrated into lib/crypto/,
sm3_block_generic() is no longer called. Remove it. Then, since this
frees up the name, rename sm3_transform() to sm3_block_generic()
(matching the naming convention used in other hash algorithms).
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20260321040935.410034-12-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/crypto/sm3.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/crypto/sm3.h b/include/crypto/sm3.h index 702c5326b4be..34d7eb32b7db 100644 --- a/include/crypto/sm3.h +++ b/include/crypto/sm3.h @@ -31,8 +31,6 @@ struct sm3_state { u8 buffer[SM3_BLOCK_SIZE]; }; -void sm3_block_generic(struct sm3_state *sctx, u8 const *data, int blocks); - /* State for the SM3 compression function */ struct sm3_block_state { u32 h[SM3_DIGEST_SIZE / 4]; |
