1# 2# Cryptographic API Configuration 3# 4mainmenu_option next_comment 5comment 'Cryptographic options' 6 7if [ "$CONFIG_INET_AH" = "y" -o \ 8 "$CONFIG_INET_AH" = "m" -o \ 9 "$CONFIG_INET_ESP" = "y" -o \ 10 "$CONFIG_INET_ESP" = "m" -o \ 11 "$CONFIG_INET6_AH" = "y" -o \ 12 "$CONFIG_INET6_AH" = "m" -o \ 13 "$CONFIG_INET6_ESP" = "y" -o \ 14 "$CONFIG_INET6_ESP" = "m" ]; then 15 define_bool CONFIG_CRYPTO y 16else 17 bool 'Cryptographic API' CONFIG_CRYPTO 18fi 19 20if [ "$CONFIG_CRYPTO" = "y" ]; then 21 if [ "$CONFIG_INET_AH" = "y" -o \ 22 "$CONFIG_INET_AH" = "m" -o \ 23 "$CONFIG_INET_ESP" = "y" -o \ 24 "$CONFIG_INET_ESP" = "m" -o \ 25 "$CONFIG_INET6_AH" = "y" -o \ 26 "$CONFIG_INET6_AH" = "m" -o \ 27 "$CONFIG_INET6_ESP" = "y" -o \ 28 "$CONFIG_INET6_ESP" = "m" ]; then 29 define_bool CONFIG_CRYPTO_HMAC y 30 else 31 bool ' HMAC support' CONFIG_CRYPTO_HMAC 32 fi 33 tristate ' NULL algorithms' CONFIG_CRYPTO_NULL 34 tristate ' MD4 digest algorithm' CONFIG_CRYPTO_MD4 35 if [ "$CONFIG_INET_AH" = "y" -o \ 36 "$CONFIG_INET_AH" = "m" -o \ 37 "$CONFIG_INET_ESP" = "y" -o \ 38 "$CONFIG_INET_ESP" = "m" -o \ 39 "$CONFIG_INET6_AH" = "y" -o \ 40 "$CONFIG_INET6_AH" = "m" -o \ 41 "$CONFIG_INET6_ESP" = "y" -o \ 42 "$CONFIG_INET6_ESP" = "m" ]; then 43 define_bool CONFIG_CRYPTO_MD5 y 44 else 45 tristate ' MD5 digest algorithm' CONFIG_CRYPTO_MD5 46 fi 47 if [ "$CONFIG_INET_AH" = "y" -o \ 48 "$CONFIG_INET_AH" = "m" -o \ 49 "$CONFIG_INET_ESP" = "y" -o \ 50 "$CONFIG_INET_ESP" = "m" -o \ 51 "$CONFIG_INET6_AH" = "y" -o \ 52 "$CONFIG_INET6_AH" = "m" -o \ 53 "$CONFIG_INET6_ESP" = "y" -o \ 54 "$CONFIG_INET6_ESP" = "m" ]; then 55 define_bool CONFIG_CRYPTO_SHA1 y 56 else 57 tristate ' SHA1 digest algorithm' CONFIG_CRYPTO_SHA1 58 fi 59 tristate ' SHA256 digest algorithm' CONFIG_CRYPTO_SHA256 60 tristate ' SHA384 and SHA512 digest algorithms' CONFIG_CRYPTO_SHA512 61 tristate ' Whirlpool digest algorithms' CONFIG_CRYPTO_WP512 62 if [ "$CONFIG_INET_ESP" = "y" -o \ 63 "$CONFIG_INET_ESP" = "m" -o \ 64 "$CONFIG_INET6_ESP" = "y" -o \ 65 "$CONFIG_INET6_ESP" = "m" ]; then 66 define_bool CONFIG_CRYPTO_DES y 67 else 68 tristate ' DES and Triple DES EDE cipher algorithms' CONFIG_CRYPTO_DES 69 fi 70 tristate ' Blowfish cipher algorithm' CONFIG_CRYPTO_BLOWFISH 71 tristate ' Twofish cipher algorithm' CONFIG_CRYPTO_TWOFISH 72 tristate ' Serpent cipher algorithm' CONFIG_CRYPTO_SERPENT 73 tristate ' AES cipher algorithms' CONFIG_CRYPTO_AES 74 tristate ' CAST5 (CAST-128) cipher algorithm' CONFIG_CRYPTO_CAST5 75 tristate ' CAST6 (CAST-256) cipher algorithm' CONFIG_CRYPTO_CAST6 76 tristate ' TEA and XTEA cipher algorithms' CONFIG_CRYPTO_TEA 77 tristate ' Khazad cipher algorithm' CONFIG_CRYPTO_KHAZAD 78 tristate ' Anubis cipher algorithm' CONFIG_CRYPTO_ANUBIS 79 tristate ' ARC4 cipher algorithm' CONFIG_CRYPTO_ARC4 80 if [ "$CONFIG_INET_IPCOMP" = "y" -o \ 81 "$CONFIG_INET_IPCOMP" = "m" -o \ 82 "$CONFIG_INET6_IPCOMP" = "y" -o \ 83 "$CONFIG_INET6_IPCOMP" = "m" ]; then 84 define_bool CONFIG_CRYPTO_DEFLATE y 85 else 86 tristate ' Deflate compression algorithm' CONFIG_CRYPTO_DEFLATE 87 fi 88 tristate ' Michael MIC keyed digest algorithm' CONFIG_CRYPTO_MICHAEL_MIC 89 tristate ' Testing module' CONFIG_CRYPTO_TEST 90fi 91 92endmenu 93