Debian Codegraph @

arch/s390/crypto/Kconfig

raw
1 # SPDX-License-Identifier: GPL-2.0
2
3 menu "Accelerated Cryptographic Algorithms for CPU (s390)"
4
5 config CRYPTO_GHASH_S390
6 tristate "Hash functions: GHASH"
7 select CRYPTO_HASH
8 help
9 GCM GHASH hash function (NIST SP800-38D)
10
11 Architecture: s390
12
13 It is available as of z196.
14
15 config CRYPTO_AES_S390
16 tristate "Ciphers: AES, modes: ECB, CBC, CTR, XTS, GCM"
17 select CRYPTO_SKCIPHER
18 help
19 AEAD cipher: AES with GCM
20 Length-preserving ciphers: AES with ECB, CBC, XTS, and CTR modes
21
22 Architecture: s390
23
24 As of z9 the ECB and CBC modes are hardware accelerated
25 for 128 bit keys.
26
27 As of z10 the ECB and CBC modes are hardware accelerated
28 for all AES key sizes.
29
30 As of z196 the CTR mode is hardware accelerated for all AES
31 key sizes and XTS mode is hardware accelerated for 256 and
32 512 bit keys.
33
34 config CRYPTO_DES_S390
35 tristate "Ciphers: DES and Triple DES EDE, modes: ECB, CBC, CTR"
36 select CRYPTO_ALGAPI
37 select CRYPTO_SKCIPHER
38 select CRYPTO_LIB_DES
39 help
40 Block ciphers: DES (FIPS 46-2) cipher algorithm
41 Block ciphers: Triple DES EDE (FIPS 46-3) cipher algorithm
42 Length-preserving ciphers: DES with ECB, CBC, and CTR modes
43 Length-preserving ciphers: Triple DES EDED with ECB, CBC, and CTR modes
44
45 Architecture: s390
46
47 As of z990 the ECB and CBC mode are hardware accelerated.
48 As of z196 the CTR mode is hardware accelerated.
49
50 config CRYPTO_HMAC_S390
51 tristate "Keyed-hash message authentication code: HMAC"
52 select CRYPTO_HASH
53 help
54 s390 specific HMAC hardware support for SHA224, SHA256, SHA384 and
55 SHA512.
56
57 Architecture: s390
58
59 endmenu