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
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.