Steffen Jaeckel | 229bd51 | 2021-07-08 15:57:33 +0200 | [diff] [blame] | 1 | menuconfig 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 | |
| 10 | if CRYPT_PW |
| 11 | |
| 12 | config CRYPT_PW_SHA256 |
| 13 | bool "Provide sha256crypt" |
| 14 | select SHA256 |
Steffen Jaeckel | 229bd51 | 2021-07-08 15:57:33 +0200 | [diff] [blame] | 15 | help |
| 16 | Enables support for the sha256crypt password-hashing algorithm. |
| 17 | The prefix is "$5$". |
| 18 | |
| 19 | config CRYPT_PW_SHA512 |
| 20 | bool "Provide sha512crypt" |
| 21 | select SHA512 |
Steffen Jaeckel | 229bd51 | 2021-07-08 15:57:33 +0200 | [diff] [blame] | 22 | help |
| 23 | Enables support for the sha512crypt password-hashing algorithm. |
| 24 | The prefix is "$6$". |
| 25 | |
| 26 | endif |