Kconfig (3f342a23257df99b792c1edb1236e85badc157de) Kconfig (cf514b2a5902ee4f93e9636ace5228fed27f23bb)
1# SPDX-License-Identifier: GPL-2.0
2
3menu "Accelerated Cryptographic Algorithms for CPU (s390)"
4
5config CRYPTO_CRC32_S390
6 tristate "CRC32c and CRC32"
7 depends on S390
8 select CRYPTO_HASH

--- 67 unchanged lines hidden (view full) ---

76 help
77 GCM GHASH hash function (NIST SP800-38D)
78
79 Architecture: s390
80
81 It is available as of z196.
82
83config CRYPTO_AES_S390
1# SPDX-License-Identifier: GPL-2.0
2
3menu "Accelerated Cryptographic Algorithms for CPU (s390)"
4
5config CRYPTO_CRC32_S390
6 tristate "CRC32c and CRC32"
7 depends on S390
8 select CRYPTO_HASH

--- 67 unchanged lines hidden (view full) ---

76 help
77 GCM GHASH hash function (NIST SP800-38D)
78
79 Architecture: s390
80
81 It is available as of z196.
82
83config CRYPTO_AES_S390
84 tristate "AES cipher algorithms"
84 tristate "Ciphers: AES, modes: ECB, CBC, CTR, XTS, GCM"
85 depends on S390
86 select CRYPTO_ALGAPI
87 select CRYPTO_SKCIPHER
88 help
85 depends on S390
86 select CRYPTO_ALGAPI
87 select CRYPTO_SKCIPHER
88 help
89 This is the s390 hardware accelerated implementation of the
90 AES cipher algorithms (FIPS-197).
89 Block cipher: AES cipher algorithms (FIPS 197)
90 AEAD cipher: AES with GCM
91 Length-preserving ciphers: AES with ECB, CBC, XTS, and CTR modes
91
92
93 Architecture: s390
94
92 As of z9 the ECB and CBC modes are hardware accelerated
93 for 128 bit keys.
95 As of z9 the ECB and CBC modes are hardware accelerated
96 for 128 bit keys.
97
94 As of z10 the ECB and CBC modes are hardware accelerated
95 for all AES key sizes.
98 As of z10 the ECB and CBC modes are hardware accelerated
99 for all AES key sizes.
100
96 As of z196 the CTR mode is hardware accelerated for all AES
97 key sizes and XTS mode is hardware accelerated for 256 and
98 512 bit keys.
99
100config CRYPTO_DES_S390
101 As of z196 the CTR mode is hardware accelerated for all AES
102 key sizes and XTS mode is hardware accelerated for 256 and
103 512 bit keys.
104
105config CRYPTO_DES_S390
101 tristate "DES and Triple DES cipher algorithms"
106 tristate "Ciphers: DES and Triple DES EDE, modes: ECB, CBC, CTR"
102 depends on S390
103 select CRYPTO_ALGAPI
104 select CRYPTO_SKCIPHER
105 select CRYPTO_LIB_DES
106 help
107 depends on S390
108 select CRYPTO_ALGAPI
109 select CRYPTO_SKCIPHER
110 select CRYPTO_LIB_DES
111 help
107 This is the s390 hardware accelerated implementation of the
108 DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
112 Block ciphers: DES (FIPS 46-2) cipher algorithm
113 Block ciphers: Triple DES EDE (FIPS 46-3) cipher algorithm
114 Length-preserving ciphers: DES with ECB, CBC, and CTR modes
115 Length-preserving ciphers: Triple DES EDED with ECB, CBC, and CTR modes
109
116
117 Architecture: s390
118
110 As of z990 the ECB and CBC mode are hardware accelerated.
111 As of z196 the CTR mode is hardware accelerated.
112
113config CRYPTO_CHACHA_S390
119 As of z990 the ECB and CBC mode are hardware accelerated.
120 As of z196 the CTR mode is hardware accelerated.
121
122config CRYPTO_CHACHA_S390
114 tristate "ChaCha20 stream cipher"
123 tristate "Ciphers: ChaCha20"
115 depends on S390
116 select CRYPTO_SKCIPHER
117 select CRYPTO_LIB_CHACHA_GENERIC
118 select CRYPTO_ARCH_HAVE_LIB_CHACHA
119 help
124 depends on S390
125 select CRYPTO_SKCIPHER
126 select CRYPTO_LIB_CHACHA_GENERIC
127 select CRYPTO_ARCH_HAVE_LIB_CHACHA
128 help
120 This is the s390 SIMD implementation of the ChaCha20 stream
121 cipher (RFC 7539).
129 Length-preserving cipher: ChaCha20 stream cipher (RFC 7539)
122
130
131 Architecture: s390
132
123 It is available as of z13.
124
125endmenu
133 It is available as of z13.
134
135endmenu