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_CURVE25519_PPC64 !! 5 config CRYPTO_CRC32_MIPS 6 tristate "Public key crypto: Curve2551 !! 6 tristate "CRC32c and CRC32" 7 depends on PPC64 && CPU_LITTLE_ENDIAN !! 7 depends on MIPS_CRC_SUPPORT 8 select CRYPTO_LIB_CURVE25519_GENERIC << 9 select CRYPTO_ARCH_HAVE_LIB_CURVE25519 << 10 help << 11 Curve25519 algorithm << 12 << 13 Architecture: PowerPC64 << 14 - Little-endian << 15 << 16 config CRYPTO_CRC32C_VPMSUM << 17 tristate "CRC32c" << 18 depends on PPC64 && ALTIVEC << 19 select CRYPTO_HASH 8 select CRYPTO_HASH 20 select CRC32 << 21 help 9 help 22 CRC32c CRC algorithm with the iSCSI !! 10 CRC32c and CRC32 CRC algorithms 23 11 24 Architecture: powerpc64 using !! 12 Architecture: mips 25 - AltiVec extensions << 26 13 27 Enable on POWER8 and newer processor !! 14 config CRYPTO_POLY1305_MIPS 28 !! 15 tristate "Hash functions: Poly1305" 29 config CRYPTO_CRCT10DIF_VPMSUM !! 16 depends on MIPS 30 tristate "CRC32T10DIF" !! 17 select CRYPTO_ARCH_HAVE_LIB_POLY1305 31 depends on PPC64 && ALTIVEC && CRC_T10 << 32 select CRYPTO_HASH << 33 help 18 help 34 CRC16 CRC algorithm used for the T10 !! 19 Poly1305 authenticator algorithm (RFC7539) 35 << 36 Architecture: powerpc64 using << 37 - AltiVec extensions << 38 << 39 Enable on POWER8 and newer processor << 40 20 41 config CRYPTO_VPMSUM_TESTER !! 21 Architecture: mips 42 tristate "CRC32c and CRC32T10DIF hardw << 43 depends on CRYPTO_CRCT10DIF_VPMSUM && << 44 help << 45 Stress test for CRC32c and CRCT10DIF << 46 powerpc64 AltiVec extensions (POWER8 << 47 Unless you are testing these algorit << 48 22 49 config CRYPTO_MD5_PPC !! 23 config CRYPTO_MD5_OCTEON 50 tristate "Digests: MD5" !! 24 tristate "Digests: MD5 (OCTEON)" 51 depends on PPC !! 25 depends on CPU_CAVIUM_OCTEON >> 26 select CRYPTO_MD5 52 select CRYPTO_HASH 27 select CRYPTO_HASH 53 help 28 help 54 MD5 message digest algorithm (RFC132 29 MD5 message digest algorithm (RFC1321) 55 30 56 Architecture: powerpc !! 31 Architecture: mips OCTEON using crypto instructions, when available 57 << 58 config CRYPTO_SHA1_PPC << 59 tristate "Hash functions: SHA-1" << 60 depends on PPC << 61 help << 62 SHA-1 secure hash algorithm (FIPS 18 << 63 << 64 Architecture: powerpc << 65 32 66 config CRYPTO_SHA1_PPC_SPE !! 33 config CRYPTO_SHA1_OCTEON 67 tristate "Hash functions: SHA-1 (SPE)" !! 34 tristate "Hash functions: SHA-1 (OCTEON)" 68 depends on PPC && SPE !! 35 depends on CPU_CAVIUM_OCTEON >> 36 select CRYPTO_SHA1 >> 37 select CRYPTO_HASH 69 help 38 help 70 SHA-1 secure hash algorithm (FIPS 18 39 SHA-1 secure hash algorithm (FIPS 180) 71 40 72 Architecture: powerpc using !! 41 Architecture: mips OCTEON 73 - SPE (Signal Processing Engine) ext << 74 42 75 config CRYPTO_SHA256_PPC_SPE !! 43 config CRYPTO_SHA256_OCTEON 76 tristate "Hash functions: SHA-224 and !! 44 tristate "Hash functions: SHA-224 and SHA-256 (OCTEON)" 77 depends on PPC && SPE !! 45 depends on CPU_CAVIUM_OCTEON 78 select CRYPTO_SHA256 46 select CRYPTO_SHA256 79 select CRYPTO_HASH 47 select CRYPTO_HASH 80 help 48 help 81 SHA-224 and SHA-256 secure hash algo 49 SHA-224 and SHA-256 secure hash algorithms (FIPS 180) 82 50 83 Architecture: powerpc using !! 51 Architecture: mips OCTEON using crypto instructions, when available 84 - SPE (Signal Processing Engine) ext << 85 52 86 config CRYPTO_AES_PPC_SPE !! 53 config CRYPTO_SHA512_OCTEON 87 tristate "Ciphers: AES, modes: ECB/CBC !! 54 tristate "Hash functions: SHA-384 and SHA-512 (OCTEON)" 88 depends on PPC && SPE !! 55 depends on CPU_CAVIUM_OCTEON 89 select CRYPTO_SKCIPHER !! 56 select CRYPTO_SHA512 >> 57 select CRYPTO_HASH 90 help 58 help 91 Block ciphers: AES cipher algorithms !! 59 SHA-384 and SHA-512 secure hash algorithms (FIPS 180) 92 Length-preserving ciphers: AES with << 93 60 94 Architecture: powerpc using: !! 61 Architecture: mips OCTEON using crypto instructions, when available 95 - SPE (Signal Processing Engine) ext << 96 62 97 SPE is available for: !! 63 config CRYPTO_CHACHA_MIPS 98 - Processor Type: Freescale 8500 !! 64 tristate "Ciphers: ChaCha20, XChaCha20, XChaCha12 (MIPS32r2)" 99 - CPU selection: e500 (8540) !! 65 depends on CPU_MIPS32_R2 100 << 101 This module should only be used for << 102 without hardware AES acceleration (e << 103 size of the AES tables from 16KB to << 104 timining attacks. Nevertheless it mi << 105 architecture specific assembler impl << 106 tables or 256 bytes S-boxes. << 107 << 108 config CRYPTO_AES_GCM_P10 << 109 tristate "Stitched AES/GCM acceleratio << 110 depends on BROKEN << 111 depends on PPC64 && CPU_LITTLE_ENDIAN << 112 select CRYPTO_LIB_AES << 113 select CRYPTO_ALGAPI << 114 select CRYPTO_AEAD << 115 select CRYPTO_SKCIPHER << 116 help << 117 AEAD cipher: AES cipher algorithms ( << 118 GCM (Galois/Counter Mode) authentica << 119 Architecture: powerpc64 using: << 120 - little-endian << 121 - Power10 or later features << 122 << 123 Support for cryptographic accelerati << 124 later CPU. This module supports stit << 125 << 126 config CRYPTO_CHACHA20_P10 << 127 tristate "Ciphers: ChaCha20, XChacha20 << 128 depends on PPC64 && CPU_LITTLE_ENDIAN << 129 select CRYPTO_SKCIPHER 66 select CRYPTO_SKCIPHER 130 select CRYPTO_LIB_CHACHA_GENERIC << 131 select CRYPTO_ARCH_HAVE_LIB_CHACHA 67 select CRYPTO_ARCH_HAVE_LIB_CHACHA 132 help 68 help 133 Length-preserving ciphers: ChaCha20, 69 Length-preserving ciphers: ChaCha20, XChaCha20, and XChaCha12 134 stream cipher algorithms 70 stream cipher algorithms 135 71 136 Architecture: PowerPC64 !! 72 Architecture: MIPS32r2 137 - Power10 or later << 138 - Little-endian << 139 << 140 config CRYPTO_POLY1305_P10 << 141 tristate "Hash functions: Poly1305 (P1 << 142 depends on PPC64 && CPU_LITTLE_ENDIAN << 143 select CRYPTO_HASH << 144 select CRYPTO_LIB_POLY1305_GENERIC << 145 help << 146 Poly1305 authenticator algorithm (RF << 147 << 148 Architecture: PowerPC64 << 149 - Power10 or later << 150 - Little-endian << 151 << 152 config CRYPTO_DEV_VMX << 153 bool "Support for VMX cryptographic ac << 154 depends on PPC64 && VSX << 155 help << 156 Support for VMX cryptographic accele << 157 << 158 config CRYPTO_DEV_VMX_ENCRYPT << 159 tristate "Encryption acceleration supp << 160 depends on CRYPTO_DEV_VMX << 161 select CRYPTO_AES << 162 select CRYPTO_CBC << 163 select CRYPTO_CTR << 164 select CRYPTO_GHASH << 165 select CRYPTO_XTS << 166 default m << 167 help << 168 Support for VMX cryptographic accele << 169 This module supports acceleration fo << 170 choose 'M' here, this module will be << 171 73 172 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.