1 # SPDX-License-Identifier: GPL-2.0
3 menu "Accelerated Cryptographic Algorithms for CPU (s390)"
5 config CRYPTO_SHA512_S390
6 tristate "Hash functions: SHA-384 and SHA-512"
10 SHA-384 and SHA-512 secure hash algorithms (FIPS 180)
14 It is available as of z10.
16 config CRYPTO_SHA1_S390
17 tristate "Hash functions: SHA-1"
21 SHA-1 secure hash algorithm (FIPS 180)
25 It is available as of z990.
27 config CRYPTO_SHA256_S390
28 tristate "Hash functions: SHA-224 and SHA-256"
32 SHA-224 and SHA-256 secure hash algorithms (FIPS 180)
36 It is available as of z9.
38 config CRYPTO_SHA3_256_S390
39 tristate "Hash functions: SHA3-224 and SHA3-256"
43 SHA3-224 and SHA3-256 secure hash algorithms (FIPS 202)
47 It is available as of z14.
49 config CRYPTO_SHA3_512_S390
50 tristate "Hash functions: SHA3-384 and SHA3-512"
54 SHA3-384 and SHA3-512 secure hash algorithms (FIPS 202)
58 It is available as of z14.
60 config CRYPTO_GHASH_S390
61 tristate "Hash functions: GHASH"
65 GCM GHASH hash function (NIST SP800-38D)
69 It is available as of z196.
71 config CRYPTO_AES_S390
72 tristate "Ciphers: AES, modes: ECB, CBC, CTR, XTS, GCM"
75 select CRYPTO_SKCIPHER
77 Block cipher: AES cipher algorithms (FIPS 197)
78 AEAD cipher: AES with GCM
79 Length-preserving ciphers: AES with ECB, CBC, XTS, and CTR modes
83 As of z9 the ECB and CBC modes are hardware accelerated
86 As of z10 the ECB and CBC modes are hardware accelerated
87 for all AES key sizes.
89 As of z196 the CTR mode is hardware accelerated for all AES
90 key sizes and XTS mode is hardware accelerated for 256 and
93 config CRYPTO_DES_S390
94 tristate "Ciphers: DES and Triple DES EDE, modes: ECB, CBC, CTR"
97 select CRYPTO_SKCIPHER
100 Block ciphers: DES (FIPS 46-2) cipher algorithm
101 Block ciphers: Triple DES EDE (FIPS 46-3) cipher algorithm
102 Length-preserving ciphers: DES with ECB, CBC, and CTR modes
103 Length-preserving ciphers: Triple DES EDED with ECB, CBC, and CTR modes
107 As of z990 the ECB and CBC mode are hardware accelerated.
108 As of z196 the CTR mode is hardware accelerated.
110 config CRYPTO_CHACHA_S390
111 tristate "Ciphers: ChaCha20"
113 select CRYPTO_SKCIPHER
114 select CRYPTO_LIB_CHACHA_GENERIC
115 select CRYPTO_ARCH_HAVE_LIB_CHACHA
117 Length-preserving cipher: ChaCha20 stream cipher (RFC 7539)
121 It is available as of z13.
123 config CRYPTO_HMAC_S390
124 tristate "Keyed-hash message authentication code: HMAC"
128 s390 specific HMAC hardware support for SHA224, SHA256, SHA384 and