~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/riscv/crypto/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0
  2 
  3 menu "Accelerated Cryptographic Algorithms for CPU (riscv)"
  4 
  5 config CRYPTO_AES_RISCV64
  6         tristate "Ciphers: AES, modes: ECB, CBC, CTS, CTR, XTS"
  7         depends on 64BIT && RISCV_ISA_V && TOOLCHAIN_HAS_VECTOR_CRYPTO
  8         select CRYPTO_ALGAPI
  9         select CRYPTO_LIB_AES
 10         select CRYPTO_SKCIPHER
 11         help
 12           Block cipher: AES cipher algorithms
 13           Length-preserving ciphers: AES with ECB, CBC, CTS, CTR, XTS
 14 
 15           Architecture: riscv64 using:
 16           - Zvkned vector crypto extension
 17           - Zvbb vector extension (XTS)
 18           - Zvkb vector crypto extension (CTR)
 19           - Zvkg vector crypto extension (XTS)
 20 
 21 config CRYPTO_CHACHA_RISCV64
 22         tristate "Ciphers: ChaCha"
 23         depends on 64BIT && RISCV_ISA_V && TOOLCHAIN_HAS_VECTOR_CRYPTO
 24         select CRYPTO_SKCIPHER
 25         select CRYPTO_LIB_CHACHA_GENERIC
 26         help
 27           Length-preserving ciphers: ChaCha20 stream cipher algorithm
 28 
 29           Architecture: riscv64 using:
 30           - Zvkb vector crypto extension
 31 
 32 config CRYPTO_GHASH_RISCV64
 33         tristate "Hash functions: GHASH"
 34         depends on 64BIT && RISCV_ISA_V && TOOLCHAIN_HAS_VECTOR_CRYPTO
 35         select CRYPTO_GCM
 36         help
 37           GCM GHASH function (NIST SP 800-38D)
 38 
 39           Architecture: riscv64 using:
 40           - Zvkg vector crypto extension
 41 
 42 config CRYPTO_SHA256_RISCV64
 43         tristate "Hash functions: SHA-224 and SHA-256"
 44         depends on 64BIT && RISCV_ISA_V && TOOLCHAIN_HAS_VECTOR_CRYPTO
 45         select CRYPTO_SHA256
 46         help
 47           SHA-224 and SHA-256 secure hash algorithm (FIPS 180)
 48 
 49           Architecture: riscv64 using:
 50           - Zvknha or Zvknhb vector crypto extensions
 51           - Zvkb vector crypto extension
 52 
 53 config CRYPTO_SHA512_RISCV64
 54         tristate "Hash functions: SHA-384 and SHA-512"
 55         depends on 64BIT && RISCV_ISA_V && TOOLCHAIN_HAS_VECTOR_CRYPTO
 56         select CRYPTO_SHA512
 57         help
 58           SHA-384 and SHA-512 secure hash algorithm (FIPS 180)
 59 
 60           Architecture: riscv64 using:
 61           - Zvknhb vector crypto extension
 62           - Zvkb vector crypto extension
 63 
 64 config CRYPTO_SM3_RISCV64
 65         tristate "Hash functions: SM3 (ShangMi 3)"
 66         depends on 64BIT && RISCV_ISA_V && TOOLCHAIN_HAS_VECTOR_CRYPTO
 67         select CRYPTO_HASH
 68         select CRYPTO_SM3
 69         help
 70           SM3 (ShangMi 3) secure hash function (OSCCA GM/T 0004-2012)
 71 
 72           Architecture: riscv64 using:
 73           - Zvksh vector crypto extension
 74           - Zvkb vector crypto extension
 75 
 76 config CRYPTO_SM4_RISCV64
 77         tristate "Ciphers: SM4 (ShangMi 4)"
 78         depends on 64BIT && RISCV_ISA_V && TOOLCHAIN_HAS_VECTOR_CRYPTO
 79         select CRYPTO_ALGAPI
 80         select CRYPTO_SM4
 81         help
 82           SM4 block cipher algorithm (OSCCA GB/T 32907-2016,
 83           ISO/IEC 18033-3:2010/Amd 1:2021)
 84 
 85           SM4 (GBT.32907-2016) is a cryptographic standard issued by the
 86           Organization of State Commercial Administration of China (OSCCA)
 87           as an authorized cryptographic algorithm for use within China.
 88 
 89           Architecture: riscv64 using:
 90           - Zvksed vector crypto extension
 91           - Zvkb vector crypto extension
 92 
 93 endmenu

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php