summaryrefslogtreecommitdiff
path: root/arch/mips/crypto/Kconfig
blob: 545fc0e12422d8e8e7bedb7cf73d2c786e932865 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# SPDX-License-Identifier: GPL-2.0

menu "Accelerated Cryptographic Algorithms for CPU (mips)"

config CRYPTO_POLY1305_MIPS
	tristate
	depends on MIPS
	select CRYPTO_HASH
	select CRYPTO_ARCH_HAVE_LIB_POLY1305
	default CRYPTO_LIB_POLY1305_INTERNAL
	help
	  Poly1305 authenticator algorithm (RFC7539)

	  Architecture: mips

config CRYPTO_MD5_OCTEON
	tristate "Digests: MD5 (OCTEON)"
	depends on CPU_CAVIUM_OCTEON
	select CRYPTO_MD5
	select CRYPTO_HASH
	help
	  MD5 message digest algorithm (RFC1321)

	  Architecture: mips OCTEON using crypto instructions, when available

config CRYPTO_SHA1_OCTEON
	tristate "Hash functions: SHA-1 (OCTEON)"
	depends on CPU_CAVIUM_OCTEON
	select CRYPTO_SHA1
	select CRYPTO_HASH
	help
	  SHA-1 secure hash algorithm (FIPS 180)

	  Architecture: mips OCTEON

config CRYPTO_SHA256_OCTEON
	tristate "Hash functions: SHA-224 and SHA-256 (OCTEON)"
	depends on CPU_CAVIUM_OCTEON
	select CRYPTO_SHA256
	select CRYPTO_HASH
	help
	  SHA-224 and SHA-256 secure hash algorithms (FIPS 180)

	  Architecture: mips OCTEON using crypto instructions, when available

config CRYPTO_SHA512_OCTEON
	tristate "Hash functions: SHA-384 and SHA-512 (OCTEON)"
	depends on CPU_CAVIUM_OCTEON
	select CRYPTO_SHA512
	select CRYPTO_HASH
	help
	  SHA-384 and SHA-512 secure hash algorithms (FIPS 180)

	  Architecture: mips OCTEON using crypto instructions, when available

config CRYPTO_CHACHA_MIPS
	tristate
	depends on CPU_MIPS32_R2
	select CRYPTO_SKCIPHER
	select CRYPTO_ARCH_HAVE_LIB_CHACHA
	default CRYPTO_LIB_CHACHA_INTERNAL
	help
	  Length-preserving ciphers: ChaCha20, XChaCha20, and XChaCha12
	  stream cipher algorithms

	  Architecture: MIPS32r2

endmenu