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