OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [crypto/] [Config.in] - Blame information for rev 1275

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#
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
  tristate       '  CAST5 (CAST-128) cipher algorithm' CONFIG_CRYPTO_CAST5
74
  tristate       '  CAST6 (CAST-256) cipher algorithm' CONFIG_CRYPTO_CAST6
75
  tristate       '  ARC4 cipher algorithm' CONFIG_CRYPTO_ARC4
76
  if [ "$CONFIG_INET_IPCOMP" = "y" -o \
77
       "$CONFIG_INET_IPCOMP" = "m" -o \
78
       "$CONFIG_INET6_IPCOMP" = "y" -o \
79
       "$CONFIG_INET6_IPCOMP" = "m" ]; then
80
    define_bool CONFIG_CRYPTO_DEFLATE y
81
  else
82
    tristate       '  Deflate compression algorithm' CONFIG_CRYPTO_DEFLATE
83
  fi
84
  tristate       '  Testing module' CONFIG_CRYPTO_TEST
85
fi
86
 
87
endmenu

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.