]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: sm3 - Remove the original "sm3_block_generic()"
authorEric Biggers <ebiggers@kernel.org>
Sat, 21 Mar 2026 04:09:34 +0000 (21:09 -0700)
committerEric Biggers <ebiggers@kernel.org>
Tue, 24 Mar 2026 00:50:59 +0000 (17:50 -0700)
commitef01e1eafb20f74e6d951a42a870a40cd8b914ca
tree166bf9dd08bff4d4db34e7cf11c2a90756b1471d
parent9d7f2a6ed598e82b07582d4f5122f66111ef5c00
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>
include/crypto/sm3.h
lib/crypto/sm3.c