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 "Poly1305 authenticator algorithm (MIPS optimized)" 16 depends on MIPS 17 select CRYPTO_ARCH_HAVE_LIB_POLY1305 18 19config CRYPTO_MD5_OCTEON 20 tristate "MD5 digest algorithm (OCTEON)" 21 depends on CPU_CAVIUM_OCTEON 22 select CRYPTO_MD5 23 select CRYPTO_HASH 24 help 25 MD5 message digest algorithm (RFC1321) implemented 26 using OCTEON crypto instructions, when available. 27 28config CRYPTO_SHA1_OCTEON 29 tristate "SHA1 digest algorithm (OCTEON)" 30 depends on CPU_CAVIUM_OCTEON 31 select CRYPTO_SHA1 32 select CRYPTO_HASH 33 help 34 SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented 35 using OCTEON crypto instructions, when available. 36 37config CRYPTO_SHA256_OCTEON 38 tristate "SHA224 and SHA256 digest algorithm (OCTEON)" 39 depends on CPU_CAVIUM_OCTEON 40 select CRYPTO_SHA256 41 select CRYPTO_HASH 42 help 43 SHA-256 secure hash standard (DFIPS 180-2) implemented 44 using OCTEON crypto instructions, when available. 45 46config CRYPTO_SHA512_OCTEON 47 tristate "SHA384 and SHA512 digest algorithms (OCTEON)" 48 depends on CPU_CAVIUM_OCTEON 49 select CRYPTO_SHA512 50 select CRYPTO_HASH 51 help 52 SHA-512 secure hash standard (DFIPS 180-2) implemented 53 using OCTEON crypto instructions, when available. 54 55config CRYPTO_CHACHA_MIPS 56 tristate "ChaCha stream cipher algorithms (MIPS 32r2 optimized)" 57 depends on CPU_MIPS32_R2 58 select CRYPTO_SKCIPHER 59 select CRYPTO_ARCH_HAVE_LIB_CHACHA 60 61endmenu 62