b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | # Password crypt stubbing |
| 2 | |
| 3 | config MUSL_DISABLE_CRYPT_SIZE_HACK |
| 4 | bool |
| 5 | prompt "Include crypt() support for SHA256, SHA512 and Blowfish ciphers" if TOOLCHAINOPTS |
| 6 | depends on USE_MUSL && !EXTERNAL_TOOLCHAIN |
| 7 | default y |
| 8 | help |
| 9 | Enable this option to re-include crypt() support for the SHA256, SHA512 and |
| 10 | Blowfish ciphers. Without this option, attempting to hash a string with a salt |
| 11 | requesting one of these ciphers will cause the crypt() function to call stub |
| 12 | implementations which will always fail with errno ENOSYS. Including the ciphers |
| 13 | will increase the library size by about 14KB after LZMA compression. |