Kconfig 709 B

12345678910111213141516171819202122232425262728
  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. if CRYPT_PW
  10. config CRYPT_PW_SHA256
  11. bool "Provide sha256crypt"
  12. select SHA256
  13. select SHA256_ALGO
  14. help
  15. Enables support for the sha256crypt password-hashing algorithm.
  16. The prefix is "$5$".
  17. config CRYPT_PW_SHA512
  18. bool "Provide sha512crypt"
  19. select SHA512
  20. select SHA512_ALGO
  21. help
  22. Enables support for the sha512crypt password-hashing algorithm.
  23. The prefix is "$6$".
  24. endif