aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/musl/Config.in
blob: 67ede4d1e7e04e6b28992a46bfc487ab179e8a1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Password crypt stubbing

config MUSL_DISABLE_CRYPT_SIZE_HACK
	bool
	prompt "Include crypt() support for SHA256, SHA512 and Blowfish ciphers" if TOOLCHAINOPTS
	depends on USE_MUSL && !EXTERNAL_TOOLCHAIN
	default y
	help
	  Enable this option to re-include crypt() support for the SHA256, SHA512 and
	  Blowfish ciphers. Without this option, attempting to hash a string with a salt
	  requesting one of these ciphers will cause the crypt() function to call stub
	  implementations which will always fail with errno ENOSYS. Including the ciphers
	  will increase the library size by about 14KB after LZMA compression.