blob: 6a5002964224d861d12497ea46802390b8361baf [file] [log] [blame]
Steffen Jaeckel229bd512021-07-08 15:57:33 +02001menuconfig CRYPT_PW
2 bool "Add crypt support for password-based unlock"
3 depends on AUTOBOOT_KEYED && AUTOBOOT_ENCRYPTION
4 help
5 Enable support for crypt-style hashed passphrases.
6 This will then be used as the mechanism of choice to
7 verify whether the entered password to unlock the
8 console is correct or not.
9
10if CRYPT_PW
11
12config CRYPT_PW_SHA256
13 bool "Provide sha256crypt"
14 select SHA256
15 select SHA256_ALGO
16 help
17 Enables support for the sha256crypt password-hashing algorithm.
18 The prefix is "$5$".
19
20config CRYPT_PW_SHA512
21 bool "Provide sha512crypt"
22 select SHA512
Alexandru Gagniuc5df5d692021-09-02 19:54:18 -050023 select SHA512
Steffen Jaeckel229bd512021-07-08 15:57:33 +020024 help
25 Enables support for the sha512crypt password-hashing algorithm.
26 The prefix is "$6$".
27
28endif