crypto: sm3 - Rename CRYPTO_SM3_GENERIC to CRYPTO_SM3

The kconfig options for generic crypto API modules have traditionally
*not* had a "_GENERIC" suffix.  Also, the "_GENERIC" suffix will make
even less sense once the architecture-optimized SM3 code is moved into
lib/crypto/ and the "sm3" crypto_shash is reimplemented on top of that.

Thus, rename CRYPTO_SM3_GENERIC to CRYPTO_SM3.

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20260321040935.410034-4-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
This commit is contained in:
Eric Biggers
2026-03-20 21:09:26 -07:00
parent 77e4ca814c
commit 6dc7fce910
21 changed files with 21 additions and 21 deletions

View File

@@ -111,7 +111,7 @@ choice
config IMA_DEFAULT_HASH_SM3
bool "SM3"
depends on CRYPTO_SM3_GENERIC=y
depends on CRYPTO_SM3=y
endchoice
config IMA_DEFAULT_HASH