musl: improve crypt() size hack
[openwrt/openwrt.git] / toolchain / musl / Config.in
1 # Password crypt stubbing
2
3 config MUSL_DISABLE_CRYPT_SIZE_HACK
4 bool "Include crypt() support for SHA256, SHA512 and Blowfish ciphers"
5 depends on TOOLCHAINOPTS && USE_MUSL && !EXTERNAL_TOOLCHAIN
6 default n
7 help
8 Enable this option to re-include crypt() support for the SHA256, SHA512 and
9 Blowfish ciphers. Without this option, attempting to hash a string with a salt
10 requesting one of these ciphers will cause the crypt() function to call stub
11 implementations which will always fail with errno ENOSYS. Including the ciphers
12 will increase the library size by about 14KB after LZMA compression.