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