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