xref: /linux/arch/s390/crypto/Kconfig (revision 53597deca0e38c30e6cd4ba2114fa42d2bcd85bb)
1# SPDX-License-Identifier: GPL-2.0
2
3menu "Accelerated Cryptographic Algorithms for CPU (s390)"
4
5config CRYPTO_AES_S390
6	tristate "Ciphers: AES, modes: ECB, CBC, CTR, XTS, GCM"
7	select CRYPTO_SKCIPHER
8	help
9	  AEAD cipher: AES with GCM
10	  Length-preserving ciphers: AES with ECB, CBC, XTS, and CTR modes
11
12	  Architecture: s390
13
14	  As of z9 the ECB and CBC modes are hardware accelerated
15	  for 128 bit keys.
16
17	  As of z10 the ECB and CBC modes are hardware accelerated
18	  for all AES key sizes.
19
20	  As of z196 the CTR mode is hardware accelerated for all AES
21	  key sizes and XTS mode is hardware accelerated for 256 and
22	  512 bit keys.
23
24config CRYPTO_HMAC_S390
25	tristate "Keyed-hash message authentication code: HMAC"
26	select CRYPTO_HASH
27	help
28	  s390 specific HMAC hardware support for SHA224, SHA256, SHA384 and
29	  SHA512.
30
31	  Architecture: s390
32
33endmenu
34