u-boot/lib/crypt/Kconfig
Oleksandr Suvorov 36ecaa2ce8 lib: crypt: fix selecting a non-existent option
The option SHA256_ALGO does not exist. Remove selecting it.

Fixes: 26dd993657 ("lib: add crypt subsystem")
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2022-10-11 15:40:48 -04:00

27 lines
669 B
Plaintext

menuconfig CRYPT_PW
bool "Add crypt support for password-based unlock"
depends on AUTOBOOT_KEYED && AUTOBOOT_ENCRYPTION
help
Enable support for crypt-style hashed passphrases.
This will then be used as the mechanism of choice to
verify whether the entered password to unlock the
console is correct or not.
if CRYPT_PW
config CRYPT_PW_SHA256
bool "Provide sha256crypt"
select SHA256
help
Enables support for the sha256crypt password-hashing algorithm.
The prefix is "$5$".
config CRYPT_PW_SHA512
bool "Provide sha512crypt"
select SHA512
help
Enables support for the sha512crypt password-hashing algorithm.
The prefix is "$6$".
endif