Kconfig 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. # SPDX-License-Identifier: GPL-2.0
  2. menu "Accelerated Cryptographic Algorithms for CPU (s390)"
  3. config CRYPTO_CRC32_S390
  4. tristate "CRC32c and CRC32"
  5. depends on S390
  6. select CRYPTO_HASH
  7. select CRC32
  8. help
  9. CRC32c and CRC32 CRC algorithms
  10. Architecture: s390
  11. It is available with IBM z13 or later.
  12. config CRYPTO_SHA512_S390
  13. tristate "Hash functions: SHA-384 and SHA-512"
  14. depends on S390
  15. select CRYPTO_HASH
  16. help
  17. SHA-384 and SHA-512 secure hash algorithms (FIPS 180)
  18. Architecture: s390
  19. It is available as of z10.
  20. config CRYPTO_SHA1_S390
  21. tristate "Hash functions: SHA-1"
  22. depends on S390
  23. select CRYPTO_HASH
  24. help
  25. SHA-1 secure hash algorithm (FIPS 180)
  26. Architecture: s390
  27. It is available as of z990.
  28. config CRYPTO_SHA256_S390
  29. tristate "Hash functions: SHA-224 and SHA-256"
  30. depends on S390
  31. select CRYPTO_HASH
  32. help
  33. SHA-224 and SHA-256 secure hash algorithms (FIPS 180)
  34. Architecture: s390
  35. It is available as of z9.
  36. config CRYPTO_SHA3_256_S390
  37. tristate "Hash functions: SHA3-224 and SHA3-256"
  38. depends on S390
  39. select CRYPTO_HASH
  40. help
  41. SHA3-224 and SHA3-256 secure hash algorithms (FIPS 202)
  42. Architecture: s390
  43. It is available as of z14.
  44. config CRYPTO_SHA3_512_S390
  45. tristate "Hash functions: SHA3-384 and SHA3-512"
  46. depends on S390
  47. select CRYPTO_HASH
  48. help
  49. SHA3-384 and SHA3-512 secure hash algorithms (FIPS 202)
  50. Architecture: s390
  51. It is available as of z14.
  52. config CRYPTO_GHASH_S390
  53. tristate "Hash functions: GHASH"
  54. depends on S390
  55. select CRYPTO_HASH
  56. help
  57. GCM GHASH hash function (NIST SP800-38D)
  58. Architecture: s390
  59. It is available as of z196.
  60. config CRYPTO_AES_S390
  61. tristate "Ciphers: AES, modes: ECB, CBC, CTR, XTS, GCM"
  62. depends on S390
  63. select CRYPTO_ALGAPI
  64. select CRYPTO_SKCIPHER
  65. help
  66. Block cipher: AES cipher algorithms (FIPS 197)
  67. AEAD cipher: AES with GCM
  68. Length-preserving ciphers: AES with ECB, CBC, XTS, and CTR modes
  69. Architecture: s390
  70. As of z9 the ECB and CBC modes are hardware accelerated
  71. for 128 bit keys.
  72. As of z10 the ECB and CBC modes are hardware accelerated
  73. for all AES key sizes.
  74. As of z196 the CTR mode is hardware accelerated for all AES
  75. key sizes and XTS mode is hardware accelerated for 256 and
  76. 512 bit keys.
  77. config CRYPTO_DES_S390
  78. tristate "Ciphers: DES and Triple DES EDE, modes: ECB, CBC, CTR"
  79. depends on S390
  80. select CRYPTO_ALGAPI
  81. select CRYPTO_SKCIPHER
  82. select CRYPTO_LIB_DES
  83. help
  84. Block ciphers: DES (FIPS 46-2) cipher algorithm
  85. Block ciphers: Triple DES EDE (FIPS 46-3) cipher algorithm
  86. Length-preserving ciphers: DES with ECB, CBC, and CTR modes
  87. Length-preserving ciphers: Triple DES EDED with ECB, CBC, and CTR modes
  88. Architecture: s390
  89. As of z990 the ECB and CBC mode are hardware accelerated.
  90. As of z196 the CTR mode is hardware accelerated.
  91. config CRYPTO_CHACHA_S390
  92. tristate "Ciphers: ChaCha20"
  93. depends on S390
  94. select CRYPTO_SKCIPHER
  95. select CRYPTO_LIB_CHACHA_GENERIC
  96. select CRYPTO_ARCH_HAVE_LIB_CHACHA
  97. help
  98. Length-preserving cipher: ChaCha20 stream cipher (RFC 7539)
  99. Architecture: s390
  100. It is available as of z13.
  101. endmenu