162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci
362306a36Sopenharmony_cimenu "Accelerated Cryptographic Algorithms for CPU (mips)"
462306a36Sopenharmony_ci
562306a36Sopenharmony_ciconfig CRYPTO_CRC32_MIPS
662306a36Sopenharmony_ci	tristate "CRC32c and CRC32"
762306a36Sopenharmony_ci	depends on MIPS_CRC_SUPPORT
862306a36Sopenharmony_ci	select CRYPTO_HASH
962306a36Sopenharmony_ci	help
1062306a36Sopenharmony_ci	  CRC32c and CRC32 CRC algorithms
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci	  Architecture: mips
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciconfig CRYPTO_POLY1305_MIPS
1562306a36Sopenharmony_ci	tristate "Hash functions: Poly1305"
1662306a36Sopenharmony_ci	depends on MIPS
1762306a36Sopenharmony_ci	select CRYPTO_ARCH_HAVE_LIB_POLY1305
1862306a36Sopenharmony_ci	help
1962306a36Sopenharmony_ci	  Poly1305 authenticator algorithm (RFC7539)
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci	  Architecture: mips
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciconfig CRYPTO_MD5_OCTEON
2462306a36Sopenharmony_ci	tristate "Digests: MD5 (OCTEON)"
2562306a36Sopenharmony_ci	depends on CPU_CAVIUM_OCTEON
2662306a36Sopenharmony_ci	select CRYPTO_MD5
2762306a36Sopenharmony_ci	select CRYPTO_HASH
2862306a36Sopenharmony_ci	help
2962306a36Sopenharmony_ci	  MD5 message digest algorithm (RFC1321)
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ci	  Architecture: mips OCTEON using crypto instructions, when available
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ciconfig CRYPTO_SHA1_OCTEON
3462306a36Sopenharmony_ci	tristate "Hash functions: SHA-1 (OCTEON)"
3562306a36Sopenharmony_ci	depends on CPU_CAVIUM_OCTEON
3662306a36Sopenharmony_ci	select CRYPTO_SHA1
3762306a36Sopenharmony_ci	select CRYPTO_HASH
3862306a36Sopenharmony_ci	help
3962306a36Sopenharmony_ci	  SHA-1 secure hash algorithm (FIPS 180)
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ci	  Architecture: mips OCTEON
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ciconfig CRYPTO_SHA256_OCTEON
4462306a36Sopenharmony_ci	tristate "Hash functions: SHA-224 and SHA-256 (OCTEON)"
4562306a36Sopenharmony_ci	depends on CPU_CAVIUM_OCTEON
4662306a36Sopenharmony_ci	select CRYPTO_SHA256
4762306a36Sopenharmony_ci	select CRYPTO_HASH
4862306a36Sopenharmony_ci	help
4962306a36Sopenharmony_ci	  SHA-224 and SHA-256 secure hash algorithms (FIPS 180)
5062306a36Sopenharmony_ci
5162306a36Sopenharmony_ci	  Architecture: mips OCTEON using crypto instructions, when available
5262306a36Sopenharmony_ci
5362306a36Sopenharmony_ciconfig CRYPTO_SHA512_OCTEON
5462306a36Sopenharmony_ci	tristate "Hash functions: SHA-384 and SHA-512 (OCTEON)"
5562306a36Sopenharmony_ci	depends on CPU_CAVIUM_OCTEON
5662306a36Sopenharmony_ci	select CRYPTO_SHA512
5762306a36Sopenharmony_ci	select CRYPTO_HASH
5862306a36Sopenharmony_ci	help
5962306a36Sopenharmony_ci	  SHA-384 and SHA-512 secure hash algorithms (FIPS 180)
6062306a36Sopenharmony_ci
6162306a36Sopenharmony_ci	  Architecture: mips OCTEON using crypto instructions, when available
6262306a36Sopenharmony_ci
6362306a36Sopenharmony_ciconfig CRYPTO_CHACHA_MIPS
6462306a36Sopenharmony_ci	tristate "Ciphers: ChaCha20, XChaCha20, XChaCha12 (MIPS32r2)"
6562306a36Sopenharmony_ci	depends on CPU_MIPS32_R2
6662306a36Sopenharmony_ci	select CRYPTO_SKCIPHER
6762306a36Sopenharmony_ci	select CRYPTO_ARCH_HAVE_LIB_CHACHA
6862306a36Sopenharmony_ci	help
6962306a36Sopenharmony_ci	  Length-preserving ciphers: ChaCha20, XChaCha20, and XChaCha12
7062306a36Sopenharmony_ci	  stream cipher algorithms
7162306a36Sopenharmony_ci
7262306a36Sopenharmony_ci	  Architecture: MIPS32r2
7362306a36Sopenharmony_ci
7462306a36Sopenharmony_ciendmenu
75