#
|
#
|
# Cryptographic API Configuration
|
# Cryptographic API Configuration
|
#
|
#
|
mainmenu_option next_comment
|
mainmenu_option next_comment
|
comment 'Cryptographic options'
|
comment 'Cryptographic options'
|
|
|
if [ "$CONFIG_INET_AH" = "y" -o \
|
if [ "$CONFIG_INET_AH" = "y" -o \
|
"$CONFIG_INET_AH" = "m" -o \
|
"$CONFIG_INET_AH" = "m" -o \
|
"$CONFIG_INET_ESP" = "y" -o \
|
"$CONFIG_INET_ESP" = "y" -o \
|
"$CONFIG_INET_ESP" = "m" -o \
|
"$CONFIG_INET_ESP" = "m" -o \
|
"$CONFIG_INET6_AH" = "y" -o \
|
"$CONFIG_INET6_AH" = "y" -o \
|
"$CONFIG_INET6_AH" = "m" -o \
|
"$CONFIG_INET6_AH" = "m" -o \
|
"$CONFIG_INET6_ESP" = "y" -o \
|
"$CONFIG_INET6_ESP" = "y" -o \
|
"$CONFIG_INET6_ESP" = "m" ]; then
|
"$CONFIG_INET6_ESP" = "m" ]; then
|
define_bool CONFIG_CRYPTO y
|
define_bool CONFIG_CRYPTO y
|
else
|
else
|
bool 'Cryptographic API' CONFIG_CRYPTO
|
bool 'Cryptographic API' CONFIG_CRYPTO
|
fi
|
fi
|
|
|
if [ "$CONFIG_CRYPTO" = "y" ]; then
|
if [ "$CONFIG_CRYPTO" = "y" ]; then
|
if [ "$CONFIG_INET_AH" = "y" -o \
|
if [ "$CONFIG_INET_AH" = "y" -o \
|
"$CONFIG_INET_AH" = "m" -o \
|
"$CONFIG_INET_AH" = "m" -o \
|
"$CONFIG_INET_ESP" = "y" -o \
|
"$CONFIG_INET_ESP" = "y" -o \
|
"$CONFIG_INET_ESP" = "m" -o \
|
"$CONFIG_INET_ESP" = "m" -o \
|
"$CONFIG_INET6_AH" = "y" -o \
|
"$CONFIG_INET6_AH" = "y" -o \
|
"$CONFIG_INET6_AH" = "m" -o \
|
"$CONFIG_INET6_AH" = "m" -o \
|
"$CONFIG_INET6_ESP" = "y" -o \
|
"$CONFIG_INET6_ESP" = "y" -o \
|
"$CONFIG_INET6_ESP" = "m" ]; then
|
"$CONFIG_INET6_ESP" = "m" ]; then
|
define_bool CONFIG_CRYPTO_HMAC y
|
define_bool CONFIG_CRYPTO_HMAC y
|
else
|
else
|
bool ' HMAC support' CONFIG_CRYPTO_HMAC
|
bool ' HMAC support' CONFIG_CRYPTO_HMAC
|
fi
|
fi
|
tristate ' NULL algorithms' CONFIG_CRYPTO_NULL
|
tristate ' NULL algorithms' CONFIG_CRYPTO_NULL
|
tristate ' MD4 digest algorithm' CONFIG_CRYPTO_MD4
|
tristate ' MD4 digest algorithm' CONFIG_CRYPTO_MD4
|
if [ "$CONFIG_INET_AH" = "y" -o \
|
if [ "$CONFIG_INET_AH" = "y" -o \
|
"$CONFIG_INET_AH" = "m" -o \
|
"$CONFIG_INET_AH" = "m" -o \
|
"$CONFIG_INET_ESP" = "y" -o \
|
"$CONFIG_INET_ESP" = "y" -o \
|
"$CONFIG_INET_ESP" = "m" -o \
|
"$CONFIG_INET_ESP" = "m" -o \
|
"$CONFIG_INET6_AH" = "y" -o \
|
"$CONFIG_INET6_AH" = "y" -o \
|
"$CONFIG_INET6_AH" = "m" -o \
|
"$CONFIG_INET6_AH" = "m" -o \
|
"$CONFIG_INET6_ESP" = "y" -o \
|
"$CONFIG_INET6_ESP" = "y" -o \
|
"$CONFIG_INET6_ESP" = "m" ]; then
|
"$CONFIG_INET6_ESP" = "m" ]; then
|
define_bool CONFIG_CRYPTO_MD5 y
|
define_bool CONFIG_CRYPTO_MD5 y
|
else
|
else
|
tristate ' MD5 digest algorithm' CONFIG_CRYPTO_MD5
|
tristate ' MD5 digest algorithm' CONFIG_CRYPTO_MD5
|
fi
|
fi
|
if [ "$CONFIG_INET_AH" = "y" -o \
|
if [ "$CONFIG_INET_AH" = "y" -o \
|
"$CONFIG_INET_AH" = "m" -o \
|
"$CONFIG_INET_AH" = "m" -o \
|
"$CONFIG_INET_ESP" = "y" -o \
|
"$CONFIG_INET_ESP" = "y" -o \
|
"$CONFIG_INET_ESP" = "m" -o \
|
"$CONFIG_INET_ESP" = "m" -o \
|
"$CONFIG_INET6_AH" = "y" -o \
|
"$CONFIG_INET6_AH" = "y" -o \
|
"$CONFIG_INET6_AH" = "m" -o \
|
"$CONFIG_INET6_AH" = "m" -o \
|
"$CONFIG_INET6_ESP" = "y" -o \
|
"$CONFIG_INET6_ESP" = "y" -o \
|
"$CONFIG_INET6_ESP" = "m" ]; then
|
"$CONFIG_INET6_ESP" = "m" ]; then
|
define_bool CONFIG_CRYPTO_SHA1 y
|
define_bool CONFIG_CRYPTO_SHA1 y
|
else
|
else
|
tristate ' SHA1 digest algorithm' CONFIG_CRYPTO_SHA1
|
tristate ' SHA1 digest algorithm' CONFIG_CRYPTO_SHA1
|
fi
|
fi
|
tristate ' SHA256 digest algorithm' CONFIG_CRYPTO_SHA256
|
tristate ' SHA256 digest algorithm' CONFIG_CRYPTO_SHA256
|
tristate ' SHA384 and SHA512 digest algorithms' CONFIG_CRYPTO_SHA512
|
tristate ' SHA384 and SHA512 digest algorithms' CONFIG_CRYPTO_SHA512
|
if [ "$CONFIG_INET_ESP" = "y" -o \
|
if [ "$CONFIG_INET_ESP" = "y" -o \
|
"$CONFIG_INET_ESP" = "m" -o \
|
"$CONFIG_INET_ESP" = "m" -o \
|
"$CONFIG_INET6_ESP" = "y" -o \
|
"$CONFIG_INET6_ESP" = "y" -o \
|
"$CONFIG_INET6_ESP" = "m" ]; then
|
"$CONFIG_INET6_ESP" = "m" ]; then
|
define_bool CONFIG_CRYPTO_DES y
|
define_bool CONFIG_CRYPTO_DES y
|
else
|
else
|
tristate ' DES and Triple DES EDE cipher algorithms' CONFIG_CRYPTO_DES
|
tristate ' DES and Triple DES EDE cipher algorithms' CONFIG_CRYPTO_DES
|
fi
|
fi
|
tristate ' Blowfish cipher algorithm' CONFIG_CRYPTO_BLOWFISH
|
tristate ' Blowfish cipher algorithm' CONFIG_CRYPTO_BLOWFISH
|
tristate ' Twofish cipher algorithm' CONFIG_CRYPTO_TWOFISH
|
tristate ' Twofish cipher algorithm' CONFIG_CRYPTO_TWOFISH
|
tristate ' Serpent cipher algorithm' CONFIG_CRYPTO_SERPENT
|
tristate ' Serpent cipher algorithm' CONFIG_CRYPTO_SERPENT
|
tristate ' AES cipher algorithms' CONFIG_CRYPTO_AES
|
tristate ' AES cipher algorithms' CONFIG_CRYPTO_AES
|
tristate ' CAST5 (CAST-128) cipher algorithm' CONFIG_CRYPTO_CAST5
|
tristate ' CAST5 (CAST-128) cipher algorithm' CONFIG_CRYPTO_CAST5
|
tristate ' CAST6 (CAST-256) cipher algorithm' CONFIG_CRYPTO_CAST6
|
tristate ' CAST6 (CAST-256) cipher algorithm' CONFIG_CRYPTO_CAST6
|
tristate ' ARC4 cipher algorithm' CONFIG_CRYPTO_ARC4
|
tristate ' ARC4 cipher algorithm' CONFIG_CRYPTO_ARC4
|
if [ "$CONFIG_INET_IPCOMP" = "y" -o \
|
if [ "$CONFIG_INET_IPCOMP" = "y" -o \
|
"$CONFIG_INET_IPCOMP" = "m" -o \
|
"$CONFIG_INET_IPCOMP" = "m" -o \
|
"$CONFIG_INET6_IPCOMP" = "y" -o \
|
"$CONFIG_INET6_IPCOMP" = "y" -o \
|
"$CONFIG_INET6_IPCOMP" = "m" ]; then
|
"$CONFIG_INET6_IPCOMP" = "m" ]; then
|
define_bool CONFIG_CRYPTO_DEFLATE y
|
define_bool CONFIG_CRYPTO_DEFLATE y
|
else
|
else
|
tristate ' Deflate compression algorithm' CONFIG_CRYPTO_DEFLATE
|
tristate ' Deflate compression algorithm' CONFIG_CRYPTO_DEFLATE
|
fi
|
fi
|
tristate ' Testing module' CONFIG_CRYPTO_TEST
|
tristate ' Testing module' CONFIG_CRYPTO_TEST
|
fi
|
fi
|
|
|
endmenu
|
endmenu
|
|
|