diff options
author | Jan Glauber <jan.glauber@de.ibm.com> | 2008-01-26 08:11:07 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-01-26 08:11:17 -0500 |
commit | 3f5615e012b4593943bbc2a6c3ce150bb33e1966 (patch) | |
tree | 2f3a65d73707c21e97f0e0020ecad457e2f1fd3c /drivers/crypto | |
parent | 81ef16e763bb899053e06f6050603a305456a085 (diff) |
[S390] crypto: move s390 Kconfig options.
Move s390 crypto Kconfig options to drivers/crypto/Kconfig to have all
hardware crypto devices in one place.
This also makes messing up the kernel source tree easier for some people.
Signed-off-by: Jan Glauber <jan.glauber@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/Kconfig | 63 |
1 files changed, 61 insertions, 2 deletions
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 |