summaryrefslogtreecommitdiff
path: root/arch/s390/crypto/Kconfig
blob: e2c27588b21a9640a2d5d101c3e2a4a10a6ecd61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# SPDX-License-Identifier: GPL-2.0

menu "Accelerated Cryptographic Algorithms for CPU (s390)"

config CRYPTO_SHA512_S390
	tristate "Hash functions: SHA-384 and SHA-512"
	select CRYPTO_HASH
	help
	  SHA-384 and SHA-512 secure hash algorithms (FIPS 180)

	  Architecture: s390

	  It is available as of z10.

config CRYPTO_SHA1_S390
	tristate "Hash functions: SHA-1"
	select CRYPTO_HASH
	help
	  SHA-1 secure hash algorithm (FIPS 180)

	  Architecture: s390

	  It is available as of z990.

config CRYPTO_SHA3_256_S390
	tristate "Hash functions: SHA3-224 and SHA3-256"
	select CRYPTO_HASH
	help
	  SHA3-224 and SHA3-256 secure hash algorithms (FIPS 202)

	  Architecture: s390

	  It is available as of z14.

config CRYPTO_SHA3_512_S390
	tristate "Hash functions: SHA3-384 and SHA3-512"
	select CRYPTO_HASH
	help
	  SHA3-384 and SHA3-512 secure hash algorithms (FIPS 202)

	  Architecture: s390

	  It is available as of z14.

config CRYPTO_GHASH_S390
	tristate "Hash functions: GHASH"
	select CRYPTO_HASH
	help
	  GCM GHASH hash function (NIST SP800-38D)

	  Architecture: s390

	  It is available as of z196.

config CRYPTO_AES_S390
	tristate "Ciphers: AES, modes: ECB, CBC, CTR, XTS, GCM"
	select CRYPTO_ALGAPI
	select CRYPTO_SKCIPHER
	help
	  Block cipher: AES cipher algorithms (FIPS 197)
	  AEAD cipher: AES with GCM
	  Length-preserving ciphers: AES with ECB, CBC, XTS, and CTR modes

	  Architecture: s390

	  As of z9 the ECB and CBC modes are hardware accelerated
	  for 128 bit keys.

	  As of z10 the ECB and CBC modes are hardware accelerated
	  for all AES key sizes.

	  As of z196 the CTR mode is hardware accelerated for all AES
	  key sizes and XTS mode is hardware accelerated for 256 and
	  512 bit keys.

config CRYPTO_DES_S390
	tristate "Ciphers: DES and Triple DES EDE, modes: ECB, CBC, CTR"
	select CRYPTO_ALGAPI
	select CRYPTO_SKCIPHER
	select CRYPTO_LIB_DES
	help
	  Block ciphers: DES (FIPS 46-2) cipher algorithm
	  Block ciphers: Triple DES EDE (FIPS 46-3) cipher algorithm
	  Length-preserving ciphers: DES with ECB, CBC, and CTR modes
	  Length-preserving ciphers: Triple DES EDED with ECB, CBC, and CTR modes

	  Architecture: s390

	  As of z990 the ECB and CBC mode are hardware accelerated.
	  As of z196 the CTR mode is hardware accelerated.

config CRYPTO_HMAC_S390
	tristate "Keyed-hash message authentication code: HMAC"
	select CRYPTO_HASH
	help
	  s390 specific HMAC hardware support for SHA224, SHA256, SHA384 and
	  SHA512.

	  Architecture: s390

endmenu