1 # SPDX-License-Identifier: GPL-2.0
3 menu "Accelerated Cryptographic Algorithms for CPU (mips)"
5 config CRYPTO_CRC32_MIPS
6 tristate "CRC32c and CRC32"
7 depends on MIPS_CRC_SUPPORT
10 CRC32c and CRC32 CRC algorithms
14 config CRYPTO_POLY1305_MIPS
15 tristate "Hash functions: Poly1305"
17 select CRYPTO_ARCH_HAVE_LIB_POLY1305
19 Poly1305 authenticator algorithm (RFC7539)
23 config CRYPTO_MD5_OCTEON
24 tristate "Digests: MD5 (OCTEON)"
25 depends on CPU_CAVIUM_OCTEON
29 MD5 message digest algorithm (RFC1321)
31 Architecture: mips OCTEON using crypto instructions, when available
33 config CRYPTO_SHA1_OCTEON
34 tristate "Hash functions: SHA-1 (OCTEON)"
35 depends on CPU_CAVIUM_OCTEON
39 SHA-1 secure hash algorithm (FIPS 180)
41 Architecture: mips OCTEON
43 config CRYPTO_SHA256_OCTEON
44 tristate "Hash functions: SHA-224 and SHA-256 (OCTEON)"
45 depends on CPU_CAVIUM_OCTEON
49 SHA-224 and SHA-256 secure hash algorithms (FIPS 180)
51 Architecture: mips OCTEON using crypto instructions, when available
53 config CRYPTO_SHA512_OCTEON
54 tristate "Hash functions: SHA-384 and SHA-512 (OCTEON)"
55 depends on CPU_CAVIUM_OCTEON
59 SHA-384 and SHA-512 secure hash algorithms (FIPS 180)
61 Architecture: mips OCTEON using crypto instructions, when available
63 config CRYPTO_CHACHA_MIPS
64 tristate "Ciphers: ChaCha20, XChaCha20, XChaCha12 (MIPS32r2)"
65 depends on CPU_MIPS32_R2
66 select CRYPTO_SKCIPHER
67 select CRYPTO_ARCH_HAVE_LIB_CHACHA
69 Length-preserving ciphers: ChaCha20, XChaCha20, and XChaCha12
70 stream cipher algorithms
72 Architecture: MIPS32r2