xref: /linux/arch/mips/crypto/Kconfig (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1e45f710bSRobert Elliott# SPDX-License-Identifier: GPL-2.0
2e45f710bSRobert Elliott
3e45f710bSRobert Elliottmenu "Accelerated Cryptographic Algorithms for CPU (mips)"
4e45f710bSRobert Elliott
5e45f710bSRobert Elliottconfig CRYPTO_CRC32_MIPS
6ec84348dSRobert Elliott	tristate "CRC32c and CRC32"
7e45f710bSRobert Elliott	depends on MIPS_CRC_SUPPORT
8e45f710bSRobert Elliott	select CRYPTO_HASH
9e45f710bSRobert Elliott	help
10ec84348dSRobert Elliott	  CRC32c and CRC32 CRC algorithms
11ec84348dSRobert Elliott
12ec84348dSRobert Elliott	  Architecture: mips
13e45f710bSRobert Elliott
14e45f710bSRobert Elliottconfig CRYPTO_POLY1305_MIPS
153f342a23SRobert Elliott	tristate "Hash functions: Poly1305"
16e45f710bSRobert Elliott	depends on MIPS
17e45f710bSRobert Elliott	select CRYPTO_ARCH_HAVE_LIB_POLY1305
183f342a23SRobert Elliott	help
193f342a23SRobert Elliott	  Poly1305 authenticator algorithm (RFC7539)
203f342a23SRobert Elliott
213f342a23SRobert Elliott	  Architecture: mips
22e45f710bSRobert Elliott
23e45f710bSRobert Elliottconfig CRYPTO_MD5_OCTEON
243f342a23SRobert Elliott	tristate "Digests: MD5 (OCTEON)"
25e45f710bSRobert Elliott	depends on CPU_CAVIUM_OCTEON
26e45f710bSRobert Elliott	select CRYPTO_MD5
27e45f710bSRobert Elliott	select CRYPTO_HASH
28e45f710bSRobert Elliott	help
293f342a23SRobert Elliott	  MD5 message digest algorithm (RFC1321)
303f342a23SRobert Elliott
313f342a23SRobert Elliott	  Architecture: mips OCTEON using crypto instructions, when available
32e45f710bSRobert Elliott
33e45f710bSRobert Elliottconfig CRYPTO_SHA1_OCTEON
343f342a23SRobert Elliott	tristate "Hash functions: SHA-1 (OCTEON)"
35e45f710bSRobert Elliott	depends on CPU_CAVIUM_OCTEON
36e45f710bSRobert Elliott	select CRYPTO_SHA1
37e45f710bSRobert Elliott	select CRYPTO_HASH
38e45f710bSRobert Elliott	help
393f342a23SRobert Elliott	  SHA-1 secure hash algorithm (FIPS 180)
403f342a23SRobert Elliott
413f342a23SRobert Elliott	  Architecture: mips OCTEON
42e45f710bSRobert Elliott
43e45f710bSRobert Elliottconfig CRYPTO_SHA256_OCTEON
443f342a23SRobert Elliott	tristate "Hash functions: SHA-224 and SHA-256 (OCTEON)"
45e45f710bSRobert Elliott	depends on CPU_CAVIUM_OCTEON
46e45f710bSRobert Elliott	select CRYPTO_SHA256
47e45f710bSRobert Elliott	select CRYPTO_HASH
48e45f710bSRobert Elliott	help
493f342a23SRobert Elliott	  SHA-224 and SHA-256 secure hash algorithms (FIPS 180)
503f342a23SRobert Elliott
513f342a23SRobert Elliott	  Architecture: mips OCTEON using crypto instructions, when available
52e45f710bSRobert Elliott
53e45f710bSRobert Elliottconfig CRYPTO_SHA512_OCTEON
543f342a23SRobert Elliott	tristate "Hash functions: SHA-384 and SHA-512 (OCTEON)"
55e45f710bSRobert Elliott	depends on CPU_CAVIUM_OCTEON
56e45f710bSRobert Elliott	select CRYPTO_SHA512
57e45f710bSRobert Elliott	select CRYPTO_HASH
58e45f710bSRobert Elliott	help
593f342a23SRobert Elliott	  SHA-384 and SHA-512 secure hash algorithms (FIPS 180)
603f342a23SRobert Elliott
613f342a23SRobert Elliott	  Architecture: mips OCTEON using crypto instructions, when available
62e45f710bSRobert Elliott
63e45f710bSRobert Elliottconfig CRYPTO_CHACHA_MIPS
64*cf514b2aSRobert Elliott	tristate "Ciphers: ChaCha20, XChaCha20, XChaCha12 (MIPS32r2)"
65e45f710bSRobert Elliott	depends on CPU_MIPS32_R2
66e45f710bSRobert Elliott	select CRYPTO_SKCIPHER
67e45f710bSRobert Elliott	select CRYPTO_ARCH_HAVE_LIB_CHACHA
68*cf514b2aSRobert Elliott	help
69*cf514b2aSRobert Elliott	  Length-preserving ciphers: ChaCha20, XChaCha20, and XChaCha12
70*cf514b2aSRobert Elliott	  stream cipher algorithms
71*cf514b2aSRobert Elliott
72*cf514b2aSRobert Elliott	  Architecture: MIPS32r2
73e45f710bSRobert Elliott
74e45f710bSRobert Elliottendmenu
75