diff options
-rw-r--r-- | arch/s390/crypto/Kconfig | 60 | ||||
-rw-r--r-- | drivers/crypto/Kconfig | 63 |
2 files changed, 61 insertions, 62 deletions
diff --git a/arch/s390/crypto/Kconfig b/arch/s390/crypto/Kconfig deleted file mode 100644 index d1defbbfcd81..000000000000 --- a/arch/s390/crypto/Kconfig +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | config CRYPTO_SHA1_S390 | ||
2 | tristate "SHA1 digest algorithm" | ||
3 | depends on S390 | ||
4 | select CRYPTO_ALGAPI | ||
5 | help | ||
6 | This is the s390 hardware accelerated implementation of the | ||
7 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). | ||
8 | |||
9 | config CRYPTO_SHA256_S390 | ||
10 | tristate "SHA256 digest algorithm" | ||
11 | depends on S390 | ||
12 | select CRYPTO_ALGAPI | ||
13 | help | ||
14 | This is the s390 hardware accelerated implementation of the | ||
15 | SHA256 secure hash standard (DFIPS 180-2). | ||
16 | |||
17 | This version of SHA implements a 256 bit hash with 128 bits of | ||
18 | security against collision attacks. | ||
19 | |||
20 | config CRYPTO_DES_S390 | ||
21 | tristate "DES and Triple DES cipher algorithms" | ||
22 | depends on S390 | ||
23 | select CRYPTO_ALGAPI | ||
24 | select CRYPTO_BLKCIPHER | ||
25 | help | ||
26 | This us the s390 hardware accelerated implementation of the | ||
27 | DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). | ||
28 | |||
29 | config CRYPTO_AES_S390 | ||
30 | tristate "AES cipher algorithms" | ||
31 | depends on S390 | ||
32 | select CRYPTO_ALGAPI | ||
33 | select CRYPTO_BLKCIPHER | ||
34 | help | ||
35 | This is the s390 hardware accelerated implementation of the | ||
36 | AES cipher algorithms (FIPS-197). AES uses the Rijndael | ||
37 | algorithm. | ||
38 | |||
39 | Rijndael appears to be consistently a very good performer in | ||
40 | both hardware and software across a wide range of computing | ||
41 | environments regardless of its use in feedback or non-feedback | ||
42 | modes. Its key setup time is excellent, and its key agility is | ||
43 | good. Rijndael's very low memory requirements make it very well | ||
44 | suited for restricted-space environments, in which it also | ||
45 | demonstrates excellent performance. Rijndael's operations are | ||
46 | among the easiest to defend against power and timing attacks. | ||
47 | |||
48 | On s390 the System z9-109 currently only supports the key size | ||
49 | of 128 bit. | ||
50 | |||
51 | config S390_PRNG | ||
52 | tristate "Pseudo random number generator device driver" | ||
53 | depends on S390 | ||
54 | default "m" | ||
55 | help | ||
56 | Select this option if you want to use the s390 pseudo random number | ||
57 | generator. The PRNG is part of the cryptographic processor functions | ||
58 | and uses triple-DES to generate secure random numbers like the | ||
59 | ANSI X9.17 standard. The PRNG is usable via the char device | ||
60 | /dev/prandom. | ||
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 8a70a9edabda..6b658d84d521 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig | |||
@@ -48,8 +48,6 @@ config CRYPTO_DEV_PADLOCK_SHA | |||
48 | If unsure say M. The compiled module will be | 48 | If unsure say M. The compiled module will be |
49 | called padlock-sha.ko | 49 | called padlock-sha.ko |
50 | 50 | ||
51 | source "arch/s390/crypto/Kconfig" | ||
52 | |||
53 | config CRYPTO_DEV_GEODE | 51 | config CRYPTO_DEV_GEODE |
54 | tristate "Support for the Geode LX AES engine" | 52 | tristate "Support for the Geode LX AES engine" |
55 | depends on X86_32 && PCI | 53 | depends on X86_32 && PCI |
@@ -83,6 +81,67 @@ config ZCRYPT_MONOLITHIC | |||
83 | that contains all parts of the crypto device driver (ap bus, | 81 | that contains all parts of the crypto device driver (ap bus, |
84 | request router and all the card drivers). | 82 | request router and all the card drivers). |
85 | 83 | ||
84 | config CRYPTO_SHA1_S390 | ||
85 | tristate "SHA1 digest algorithm" | ||
86 | depends on S390 | ||
87 | select CRYPTO_ALGAPI | ||
88 | help | ||
89 | This is the s390 hardware accelerated implementation of the | ||
90 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). | ||
91 | |||
92 | config CRYPTO_SHA256_S390 | ||
93 | tristate "SHA256 digest algorithm" | ||
94 | depends on S390 | ||
95 | select CRYPTO_ALGAPI | ||
96 | help | ||
97 | This is the s390 hardware accelerated implementation of the | ||
98 | SHA256 secure hash standard (DFIPS 180-2). | ||
99 | |||
100 | This version of SHA implements a 256 bit hash with 128 bits of | ||
101 | security against collision attacks. | ||
102 | |||
103 | config CRYPTO_DES_S390 | ||
104 | tristate "DES and Triple DES cipher algorithms" | ||
105 | depends on S390 | ||
106 | select CRYPTO_ALGAPI | ||
107 | select CRYPTO_BLKCIPHER | ||
108 | help | ||
109 | This us the s390 hardware accelerated implementation of the | ||
110 | DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3). | ||
111 | |||
112 | config CRYPTO_AES_S390 | ||
113 | tristate "AES cipher algorithms" | ||
114 | depends on S390 | ||
115 | select CRYPTO_ALGAPI | ||
116 | select CRYPTO_BLKCIPHER | ||
117 | help | ||
118 | This is the s390 hardware accelerated implementation of the | ||
119 | AES cipher algorithms (FIPS-197). AES uses the Rijndael | ||
120 | algorithm. | ||
121 | |||
122 | Rijndael appears to be consistently a very good performer in | ||
123 | both hardware and software across a wide range of computing | ||
124 | environments regardless of its use in feedback or non-feedback | ||
125 | modes. Its key setup time is excellent, and its key agility is | ||
126 | good. Rijndael's very low memory requirements make it very well | ||
127 | suited for restricted-space environments, in which it also | ||
128 | demonstrates excellent performance. Rijndael's operations are | ||
129 | among the easiest to defend against power and timing attacks. | ||
130 | |||
131 | On s390 the System z9-109 currently only supports the key size | ||
132 | of 128 bit. | ||
133 | |||
134 | config S390_PRNG | ||
135 | tristate "Pseudo random number generator device driver" | ||
136 | depends on S390 | ||
137 | default "m" | ||
138 | help | ||
139 | Select this option if you want to use the s390 pseudo random number | ||
140 | generator. The PRNG is part of the cryptographic processor functions | ||
141 | and uses triple-DES to generate secure random numbers like the | ||
142 | ANSI X9.17 standard. The PRNG is usable via the char device | ||
143 | /dev/prandom. | ||
144 | |||
86 | config CRYPTO_DEV_HIFN_795X | 145 | config CRYPTO_DEV_HIFN_795X |
87 | tristate "Driver HIFN 795x crypto accelerator chips" | 146 | tristate "Driver HIFN 795x crypto accelerator chips" |
88 | select CRYPTO_DES | 147 | select CRYPTO_DES |