1 # SPDX-License-Identifier: GPL-2.0
3 menu "Accelerated Cryptographic Algorithms for CPU (s390)"
5 config CRYPTO_CRC32_S390
6 tristate "CRC32c and CRC32"
11 CRC32c and CRC32 CRC algorithms
15 It is available with IBM z13 or later.
17 config CRYPTO_SHA512_S390
18 tristate "Hash functions: SHA-384 and SHA-512"
22 SHA-384 and SHA-512 secure hash algorithms (FIPS 180)
26 It is available as of z10.
28 config CRYPTO_SHA1_S390
29 tristate "Hash functions: SHA-1"
33 SHA-1 secure hash algorithm (FIPS 180)
37 It is available as of z990.
39 config CRYPTO_SHA256_S390
40 tristate "Hash functions: SHA-224 and SHA-256"
44 SHA-224 and SHA-256 secure hash algorithms (FIPS 180)
48 It is available as of z9.
50 config CRYPTO_SHA3_256_S390
51 tristate "Hash functions: SHA3-224 and SHA3-256"
55 SHA3-224 and SHA3-256 secure hash algorithms (FIPS 202)
59 It is available as of z14.
61 config CRYPTO_SHA3_512_S390
62 tristate "Hash functions: SHA3-384 and SHA3-512"
66 SHA3-384 and SHA3-512 secure hash algorithms (FIPS 202)
70 It is available as of z14.
72 config CRYPTO_GHASH_S390
73 tristate "Hash functions: GHASH"
77 GCM GHASH hash function (NIST SP800-38D)
81 It is available as of z196.
83 config CRYPTO_AES_S390
84 tristate "Ciphers: AES, modes: ECB, CBC, CTR, XTS, GCM"
87 select CRYPTO_SKCIPHER
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
95 As of z9 the ECB and CBC modes are hardware accelerated
98 As of z10 the ECB and CBC modes are hardware accelerated
99 for all AES key sizes.
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
105 config CRYPTO_DES_S390
106 tristate "Ciphers: DES and Triple DES EDE, modes: ECB, CBC, CTR"
109 select CRYPTO_SKCIPHER
110 select CRYPTO_LIB_DES
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
119 As of z990 the ECB and CBC mode are hardware accelerated.
120 As of z196 the CTR mode is hardware accelerated.
122 config CRYPTO_CHACHA_S390
123 tristate "Ciphers: ChaCha20"
125 select CRYPTO_SKCIPHER
126 select CRYPTO_LIB_CHACHA_GENERIC
127 select CRYPTO_ARCH_HAVE_LIB_CHACHA
129 Length-preserving cipher: ChaCha20 stream cipher (RFC 7539)
133 It is available as of z13.