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