~ [ 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 ] ~

Diff markup

Differences between /arch/riscv/crypto/Kconfig (Architecture sparc) and /arch/mips/crypto/Kconfig (Architecture mips)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2                                                     2 
  3 menu "Accelerated Cryptographic Algorithms for !!   3 menu "Accelerated Cryptographic Algorithms for CPU (mips)"
  4                                                     4 
  5 config CRYPTO_AES_RISCV64                      !!   5 config CRYPTO_CRC32_MIPS
  6         tristate "Ciphers: AES, modes: ECB, CB !!   6         tristate "CRC32c and CRC32"
  7         depends on 64BIT && RISCV_ISA_V && TOO !!   7         depends on MIPS_CRC_SUPPORT
  8         select CRYPTO_ALGAPI                   !!   8         select CRYPTO_HASH
  9         select CRYPTO_LIB_AES                  << 
 10         select CRYPTO_SKCIPHER                 << 
 11         help                                        9         help
 12           Block cipher: AES cipher algorithms  !!  10           CRC32c and CRC32 CRC algorithms
 13           Length-preserving ciphers: AES with  << 
 14                                                    11 
 15           Architecture: riscv64 using:         !!  12           Architecture: mips
 16           - Zvkned vector crypto extension     !!  13 
 17           - Zvbb vector extension (XTS)        !!  14 config CRYPTO_POLY1305_MIPS
 18           - Zvkb vector crypto extension (CTR) !!  15         tristate "Hash functions: Poly1305"
 19           - Zvkg vector crypto extension (XTS) !!  16         depends on MIPS
 20                                                !!  17         select CRYPTO_ARCH_HAVE_LIB_POLY1305
 21 config CRYPTO_CHACHA_RISCV64                   << 
 22         tristate "Ciphers: ChaCha"             << 
 23         depends on 64BIT && RISCV_ISA_V && TOO << 
 24         select CRYPTO_SKCIPHER                 << 
 25         select CRYPTO_LIB_CHACHA_GENERIC       << 
 26         help                                       18         help
 27           Length-preserving ciphers: ChaCha20  !!  19           Poly1305 authenticator algorithm (RFC7539)
 28                                                    20 
 29           Architecture: riscv64 using:         !!  21           Architecture: mips
 30           - Zvkb vector crypto extension       << 
 31                                                    22 
 32 config CRYPTO_GHASH_RISCV64                    !!  23 config CRYPTO_MD5_OCTEON
 33         tristate "Hash functions: GHASH"       !!  24         tristate "Digests: MD5 (OCTEON)"
 34         depends on 64BIT && RISCV_ISA_V && TOO !!  25         depends on CPU_CAVIUM_OCTEON
 35         select CRYPTO_GCM                      !!  26         select CRYPTO_MD5
                                                   >>  27         select CRYPTO_HASH
 36         help                                       28         help
 37           GCM GHASH function (NIST SP 800-38D) !!  29           MD5 message digest algorithm (RFC1321)
                                                   >>  30 
                                                   >>  31           Architecture: mips OCTEON using crypto instructions, when available
 38                                                    32 
 39           Architecture: riscv64 using:         !!  33 config CRYPTO_SHA1_OCTEON
 40           - Zvkg vector crypto extension       !!  34         tristate "Hash functions: SHA-1 (OCTEON)"
                                                   >>  35         depends on CPU_CAVIUM_OCTEON
                                                   >>  36         select CRYPTO_SHA1
                                                   >>  37         select CRYPTO_HASH
                                                   >>  38         help
                                                   >>  39           SHA-1 secure hash algorithm (FIPS 180)
 41                                                    40 
 42 config CRYPTO_SHA256_RISCV64                   !!  41           Architecture: mips OCTEON
 43         tristate "Hash functions: SHA-224 and  !!  42 
 44         depends on 64BIT && RISCV_ISA_V && TOO !!  43 config CRYPTO_SHA256_OCTEON
                                                   >>  44         tristate "Hash functions: SHA-224 and SHA-256 (OCTEON)"
                                                   >>  45         depends on CPU_CAVIUM_OCTEON
 45         select CRYPTO_SHA256                       46         select CRYPTO_SHA256
                                                   >>  47         select CRYPTO_HASH
 46         help                                       48         help
 47           SHA-224 and SHA-256 secure hash algo !!  49           SHA-224 and SHA-256 secure hash algorithms (FIPS 180)
 48                                                    50 
 49           Architecture: riscv64 using:         !!  51           Architecture: mips OCTEON using crypto instructions, when available
 50           - Zvknha or Zvknhb vector crypto ext !!  52 
 51           - Zvkb vector crypto extension       !!  53 config CRYPTO_SHA512_OCTEON
 52                                                !!  54         tristate "Hash functions: SHA-384 and SHA-512 (OCTEON)"
 53 config CRYPTO_SHA512_RISCV64                   !!  55         depends on CPU_CAVIUM_OCTEON
 54         tristate "Hash functions: SHA-384 and  << 
 55         depends on 64BIT && RISCV_ISA_V && TOO << 
 56         select CRYPTO_SHA512                       56         select CRYPTO_SHA512
                                                   >>  57         select CRYPTO_HASH
 57         help                                       58         help
 58           SHA-384 and SHA-512 secure hash algo !!  59           SHA-384 and SHA-512 secure hash algorithms (FIPS 180)
 59                                                    60 
 60           Architecture: riscv64 using:         !!  61           Architecture: mips OCTEON using crypto instructions, when available
 61           - Zvknhb vector crypto extension     !!  62 
 62           - Zvkb vector crypto extension       !!  63 config CRYPTO_CHACHA_MIPS
 63                                                !!  64         tristate "Ciphers: ChaCha20, XChaCha20, XChaCha12 (MIPS32r2)"
 64 config CRYPTO_SM3_RISCV64                      !!  65         depends on CPU_MIPS32_R2
 65         tristate "Hash functions: SM3 (ShangMi !!  66         select CRYPTO_SKCIPHER
 66         depends on 64BIT && RISCV_ISA_V && TOO !!  67         select CRYPTO_ARCH_HAVE_LIB_CHACHA
 67         select CRYPTO_HASH                     << 
 68         select CRYPTO_SM3                      << 
 69         help                                       68         help
 70           SM3 (ShangMi 3) secure hash function !!  69           Length-preserving ciphers: ChaCha20, XChaCha20, and XChaCha12
                                                   >>  70           stream cipher algorithms
 71                                                    71 
 72           Architecture: riscv64 using:         !!  72           Architecture: MIPS32r2
 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 && TOO << 
 79         select CRYPTO_ALGAPI                   << 
 80         select CRYPTO_SM4                      << 
 81         help                                   << 
 82           SM4 block cipher algorithm (OSCCA GB << 
 83           ISO/IEC 18033-3:2010/Amd 1:2021)     << 
 84                                                << 
 85           SM4 (GBT.32907-2016) is a cryptograp << 
 86           Organization of State Commercial Adm << 
 87           as an authorized cryptographic algor << 
 88                                                << 
 89           Architecture: riscv64 using:         << 
 90           - Zvksed vector crypto extension     << 
 91           - Zvkb vector crypto extension       << 
 92                                                    73 
 93 endmenu                                            74 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