Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

crypto: blake2s - revert unintended config addition of CRYPTO_BLAKE2S

Commit 2d16803c562e ("crypto: blake2s - remove shash module") removes the
config CRYPTO_BLAKE2S.

Commit 3f342a23257d ("crypto: Kconfig - simplify hash entries") makes
various changes to the config descriptions as part of some consolidation
and clean-up, but among all those changes, it also accidently adds back
CRYPTO_BLAKE2S after its removal due to the original patch being based on
a state before the CRYPTO_BLAKE2S removal.

See Link for the author's confirmation of this happening accidently.

Fixes: 3f342a23257d ("crypto: Kconfig - simplify hash entries")
Link: https://lore.kernel.org/all/MW5PR84MB18424AB8C095BFC041AE33FDAB479@MW5PR84MB1842.NAMPRD84.PROD.OUTLOOK.COM/
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Lukas Bulwahn and committed by
Herbert Xu
1b79573d 611d451e

-21
-21
crypto/Kconfig
··· 916 916 917 917 See https://blake2.net for further information. 918 918 919 - config CRYPTO_BLAKE2S 920 - tristate "BLAKE2s" 921 - select CRYPTO_LIB_BLAKE2S_GENERIC 922 - select CRYPTO_HASH 923 - help 924 - BLAKE2s cryptographic hash function (RFC 7693) 925 - 926 - BLAKE2s is optimized for 8 to 32-bit platforms and can produce 927 - digests of any size between 1 and 32 bytes. The keyed hash is 928 - also implemented. 929 - 930 - This module provides the following algorithms: 931 - - blake2s-128 932 - - blake2s-160 933 - - blake2s-224 934 - - blake2s-256 935 - 936 - Used by Wireguard. 937 - 938 - See https://blake2.net for further information. 939 - 940 919 config CRYPTO_CMAC 941 920 tristate "CMAC (Cipher-based MAC)" 942 921 select CRYPTO_HASH