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