@@ -666,6 +666,18 @@ config CRYPTO_CRC32_MIPS
666
666
CRC32c and CRC32 CRC algorithms implemented using mips crypto
667
667
instructions, when available.
668
668
669
+ config CRYPTO_CRC32_S390
670
+ tristate "CRC-32 algorithms"
671
+ depends on S390
672
+ select CRYPTO_HASH
673
+ select CRC32
674
+ help
675
+ Select this option if you want to use hardware accelerated
676
+ implementations of CRC algorithms. With this option, you
677
+ can optimize the computation of CRC-32 (IEEE 802.3 Ethernet)
678
+ and CRC-32C (Castagnoli).
679
+
680
+ It is available with IBM z13 or later.
669
681
670
682
config CRYPTO_XXHASH
671
683
tristate "xxHash hash algorithm"
@@ -898,6 +910,16 @@ config CRYPTO_SHA512_SSSE3
898
910
Extensions version 1 (AVX1), or Advanced Vector Extensions
899
911
version 2 (AVX2) instructions, when available.
900
912
913
+ config CRYPTO_SHA512_S390
914
+ tristate "SHA384 and SHA512 digest algorithm"
915
+ depends on S390
916
+ select CRYPTO_HASH
917
+ help
918
+ This is the s390 hardware accelerated implementation of the
919
+ SHA512 secure hash standard.
920
+
921
+ It is available as of z10.
922
+
901
923
config CRYPTO_SHA1_OCTEON
902
924
tristate "SHA1 digest algorithm (OCTEON)"
903
925
depends on CPU_CAVIUM_OCTEON
@@ -930,6 +952,16 @@ config CRYPTO_SHA1_PPC_SPE
930
952
SHA-1 secure hash standard (DFIPS 180-4) implemented
931
953
using powerpc SPE SIMD instruction set.
932
954
955
+ config CRYPTO_SHA1_S390
956
+ tristate "SHA1 digest algorithm"
957
+ depends on S390
958
+ select CRYPTO_HASH
959
+ help
960
+ This is the s390 hardware accelerated implementation of the
961
+ SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2).
962
+
963
+ It is available as of z990.
964
+
933
965
config CRYPTO_SHA256
934
966
tristate "SHA224 and SHA256 digest algorithm"
935
967
select CRYPTO_HASH
@@ -970,6 +1002,16 @@ config CRYPTO_SHA256_SPARC64
970
1002
SHA-256 secure hash standard (DFIPS 180-2) implemented
971
1003
using sparc64 crypto instructions, when available.
972
1004
1005
+ config CRYPTO_SHA256_S390
1006
+ tristate "SHA256 digest algorithm"
1007
+ depends on S390
1008
+ select CRYPTO_HASH
1009
+ help
1010
+ This is the s390 hardware accelerated implementation of the
1011
+ SHA256 secure hash standard (DFIPS 180-2).
1012
+
1013
+ It is available as of z9.
1014
+
973
1015
config CRYPTO_SHA512
974
1016
tristate "SHA384 and SHA512 digest algorithms"
975
1017
select CRYPTO_HASH
@@ -1010,6 +1052,26 @@ config CRYPTO_SHA3
1010
1052
References:
1011
1053
http://keccak.noekeon.org/
1012
1054
1055
+ config CRYPTO_SHA3_256_S390
1056
+ tristate "SHA3_224 and SHA3_256 digest algorithm"
1057
+ depends on S390
1058
+ select CRYPTO_HASH
1059
+ help
1060
+ This is the s390 hardware accelerated implementation of the
1061
+ SHA3_256 secure hash standard.
1062
+
1063
+ It is available as of z14.
1064
+
1065
+ config CRYPTO_SHA3_512_S390
1066
+ tristate "SHA3_384 and SHA3_512 digest algorithm"
1067
+ depends on S390
1068
+ select CRYPTO_HASH
1069
+ help
1070
+ This is the s390 hardware accelerated implementation of the
1071
+ SHA3_512 secure hash standard.
1072
+
1073
+ It is available as of z14.
1074
+
1013
1075
config CRYPTO_SM3
1014
1076
tristate
1015
1077
@@ -1070,6 +1132,16 @@ config CRYPTO_GHASH_CLMUL_NI_INTEL
1070
1132
This is the x86_64 CLMUL-NI accelerated implementation of
1071
1133
GHASH, the hash function used in GCM (Galois/Counter mode).
1072
1134
1135
+ config CRYPTO_GHASH_S390
1136
+ tristate "GHASH hash function"
1137
+ depends on S390
1138
+ select CRYPTO_HASH
1139
+ help
1140
+ This is the s390 hardware accelerated implementation of GHASH,
1141
+ the hash function used in GCM (Galois/Counter mode).
1142
+
1143
+ It is available as of z196.
1144
+
1073
1145
comment "Ciphers"
1074
1146
1075
1147
config CRYPTO_AES
@@ -1185,6 +1257,23 @@ config CRYPTO_AES_PPC_SPE
1185
1257
architecture specific assembler implementations that work on 1KB
1186
1258
tables or 256 bytes S-boxes.
1187
1259
1260
+ config CRYPTO_AES_S390
1261
+ tristate "AES cipher algorithms"
1262
+ depends on S390
1263
+ select CRYPTO_ALGAPI
1264
+ select CRYPTO_SKCIPHER
1265
+ help
1266
+ This is the s390 hardware accelerated implementation of the
1267
+ AES cipher algorithms (FIPS-197).
1268
+
1269
+ As of z9 the ECB and CBC modes are hardware accelerated
1270
+ for 128 bit keys.
1271
+ As of z10 the ECB and CBC modes are hardware accelerated
1272
+ for all AES key sizes.
1273
+ As of z196 the CTR mode is hardware accelerated for all AES
1274
+ key sizes and XTS mode is hardware accelerated for 256 and
1275
+ 512 bit keys.
1276
+
1188
1277
config CRYPTO_ANUBIS
1189
1278
tristate "Anubis cipher algorithm"
1190
1279
depends on CRYPTO_USER_API_ENABLE_OBSOLETE
@@ -1415,6 +1504,19 @@ config CRYPTO_DES3_EDE_X86_64
1415
1504
algorithm are provided; regular processing one input block and
1416
1505
one that processes three blocks parallel.
1417
1506
1507
+ config CRYPTO_DES_S390
1508
+ tristate "DES and Triple DES cipher algorithms"
1509
+ depends on S390
1510
+ select CRYPTO_ALGAPI
1511
+ select CRYPTO_SKCIPHER
1512
+ select CRYPTO_LIB_DES
1513
+ help
1514
+ This is the s390 hardware accelerated implementation of the
1515
+ DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
1516
+
1517
+ As of z990 the ECB and CBC mode are hardware accelerated.
1518
+ As of z196 the CTR mode is hardware accelerated.
1519
+
1418
1520
config CRYPTO_FCRYPT
1419
1521
tristate "FCrypt cipher algorithm"
1420
1522
select CRYPTO_ALGAPI
@@ -1474,6 +1576,18 @@ config CRYPTO_CHACHA_MIPS
1474
1576
select CRYPTO_SKCIPHER
1475
1577
select CRYPTO_ARCH_HAVE_LIB_CHACHA
1476
1578
1579
+ config CRYPTO_CHACHA_S390
1580
+ tristate "ChaCha20 stream cipher"
1581
+ depends on S390
1582
+ select CRYPTO_SKCIPHER
1583
+ select CRYPTO_LIB_CHACHA_GENERIC
1584
+ select CRYPTO_ARCH_HAVE_LIB_CHACHA
1585
+ help
1586
+ This is the s390 SIMD implementation of the ChaCha20 stream
1587
+ cipher (RFC 7539).
1588
+
1589
+ It is available as of z13.
1590
+
1477
1591
config CRYPTO_SEED
1478
1592
tristate "SEED cipher algorithm"
1479
1593
depends on CRYPTO_USER_API_ENABLE_OBSOLETE
0 commit comments