1# SPDX-License-Identifier: GPL-2.0 2 3menu "Accelerated Cryptographic Algorithms for CPU (mips)" 4 5config CRYPTO_POLY1305_MIPS 6 tristate 7 depends on MIPS 8 select CRYPTO_HASH 9 select CRYPTO_ARCH_HAVE_LIB_POLY1305 10 default CRYPTO_LIB_POLY1305_INTERNAL 11 help 12 Poly1305 authenticator algorithm (RFC7539) 13 14 Architecture: mips 15 16config CRYPTO_MD5_OCTEON 17 tristate "Digests: MD5 (OCTEON)" 18 depends on CPU_CAVIUM_OCTEON 19 select CRYPTO_MD5 20 select CRYPTO_HASH 21 help 22 MD5 message digest algorithm (RFC1321) 23 24 Architecture: mips OCTEON using crypto instructions, when available 25 26config CRYPTO_SHA1_OCTEON 27 tristate "Hash functions: SHA-1 (OCTEON)" 28 depends on CPU_CAVIUM_OCTEON 29 select CRYPTO_SHA1 30 select CRYPTO_HASH 31 help 32 SHA-1 secure hash algorithm (FIPS 180) 33 34 Architecture: mips OCTEON 35 36config CRYPTO_SHA256_OCTEON 37 tristate "Hash functions: SHA-224 and SHA-256 (OCTEON)" 38 depends on CPU_CAVIUM_OCTEON 39 select CRYPTO_SHA256 40 select CRYPTO_HASH 41 help 42 SHA-224 and SHA-256 secure hash algorithms (FIPS 180) 43 44 Architecture: mips OCTEON using crypto instructions, when available 45 46config CRYPTO_SHA512_OCTEON 47 tristate "Hash functions: SHA-384 and SHA-512 (OCTEON)" 48 depends on CPU_CAVIUM_OCTEON 49 select CRYPTO_SHA512 50 select CRYPTO_HASH 51 help 52 SHA-384 and SHA-512 secure hash algorithms (FIPS 180) 53 54 Architecture: mips OCTEON using crypto instructions, when available 55 56config CRYPTO_CHACHA_MIPS 57 tristate 58 depends on CPU_MIPS32_R2 59 select CRYPTO_SKCIPHER 60 select CRYPTO_ARCH_HAVE_LIB_CHACHA 61 default CRYPTO_LIB_CHACHA_INTERNAL 62 help 63 Length-preserving ciphers: ChaCha20, XChaCha20, and XChaCha12 64 stream cipher algorithms 65 66 Architecture: MIPS32r2 67 68endmenu 69