The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/crypto/Config.in

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 #
    2 # Cryptographic API Configuration
    3 #
    4 mainmenu_option next_comment
    5 comment 'Cryptographic options'
    6 
    7 if [ "$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
   16 else
   17   bool 'Cryptographic API' CONFIG_CRYPTO
   18 fi
   19 
   20 if [ "$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   if [ "$CONFIG_INET_ESP" = "y" -o \
   62        "$CONFIG_INET_ESP" = "m" -o \
   63        "$CONFIG_INET6_ESP" = "y" -o \
   64        "$CONFIG_INET6_ESP" = "m" ]; then
   65     define_bool CONFIG_CRYPTO_DES y
   66   else
   67     tristate       '  DES and Triple DES EDE cipher algorithms' CONFIG_CRYPTO_DES
   68   fi
   69   tristate       '  Blowfish cipher algorithm' CONFIG_CRYPTO_BLOWFISH
   70   tristate       '  Twofish cipher algorithm' CONFIG_CRYPTO_TWOFISH
   71   tristate       '  Serpent cipher algorithm' CONFIG_CRYPTO_SERPENT
   72   tristate       '  AES cipher algorithms' CONFIG_CRYPTO_AES
   73   if [ "$CONFIG_INET_IPCOMP" = "y" -o \
   74        "$CONFIG_INET_IPCOMP" = "m" -o \
   75        "$CONFIG_INET6_IPCOMP" = "y" -o \
   76        "$CONFIG_INET6_IPCOMP" = "m" ]; then
   77     define_bool CONFIG_CRYPTO_DEFLATE y
   78   else
   79     tristate       '  Deflate compression algorithm' CONFIG_CRYPTO_DEFLATE
   80   fi
   81   tristate       '  Testing module' CONFIG_CRYPTO_TEST
   82 fi
   83 
   84 endmenu

Cache object: 0b805cf2f9b6e297728e709e27be9b07


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.