1 # SPDX-License-Identifier: GPL-2.0
3 menu "Accelerated Cryptographic Algorithms for CPU (mips)"
5 config CRYPTO_POLY1305_MIPS
6 tristate "Hash functions: Poly1305"
8 select CRYPTO_ARCH_HAVE_LIB_POLY1305
10 Poly1305 authenticator algorithm (RFC7539)
14 config CRYPTO_MD5_OCTEON
15 tristate "Digests: MD5 (OCTEON)"
16 depends on CPU_CAVIUM_OCTEON
20 MD5 message digest algorithm (RFC1321)
22 Architecture: mips OCTEON using crypto instructions, when available
24 config CRYPTO_SHA1_OCTEON
25 tristate "Hash functions: SHA-1 (OCTEON)"
26 depends on CPU_CAVIUM_OCTEON
30 SHA-1 secure hash algorithm (FIPS 180)
32 Architecture: mips OCTEON
34 config CRYPTO_SHA256_OCTEON
35 tristate "Hash functions: SHA-224 and SHA-256 (OCTEON)"
36 depends on CPU_CAVIUM_OCTEON
40 SHA-224 and SHA-256 secure hash algorithms (FIPS 180)
42 Architecture: mips OCTEON using crypto instructions, when available
44 config CRYPTO_SHA512_OCTEON
45 tristate "Hash functions: SHA-384 and SHA-512 (OCTEON)"
46 depends on CPU_CAVIUM_OCTEON
50 SHA-384 and SHA-512 secure hash algorithms (FIPS 180)
52 Architecture: mips OCTEON using crypto instructions, when available
54 config CRYPTO_CHACHA_MIPS
55 tristate "Ciphers: ChaCha20, XChaCha20, XChaCha12 (MIPS32r2)"
56 depends on CPU_MIPS32_R2
57 select CRYPTO_SKCIPHER
58 select CRYPTO_ARCH_HAVE_LIB_CHACHA
60 Length-preserving ciphers: ChaCha20, XChaCha20, and XChaCha12
61 stream cipher algorithms
63 Architecture: MIPS32r2