summaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
blob: ef807dec68debb5eb44ce06591486fa646d9bdff (plain) (blame)
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
config CRC32
	bool

config CRC16
	bool

config CRC7
	bool

menuconfig DIGEST
	bool "Digest"

if DIGEST

config MD5
	bool

config SHA1
	bool

config SHA224
	bool

config SHA256
	bool

config SHA384
	bool

config SHA512
	bool

config DIGEST_HMAC
	bool

config DIGEST_MD5_GENERIC
	bool "MD5"
	select MD5

config DIGEST_SHA1_GENERIC
	bool "SHA1"
	select SHA1

config DIGEST_SHA224_GENERIC
	bool "SHA224"
	select SHA224

config DIGEST_SHA256_GENERIC
	bool "SHA256"
	select SHA256

config DIGEST_SHA384_GENERIC
	bool "SHA384"
	select SHA384

config DIGEST_SHA512_GENERIC
	bool "SHA512"
	select SHA512

config DIGEST_HMAC_GENERIC
	bool "HMAC"
	select DIGEST_HMAC

config DIGEST_SHA1_ARM
	tristate "SHA1 digest algorithm (ARM-asm)"
	depends on ARM
	select SHA1
	help
	  SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented
	  using optimized ARM assembler.

config DIGEST_SHA256_ARM
	tristate "SHA-224/256 digest algorithm (ARM-asm and NEON)"
	depends on ARM
	select SHA256
	select SHA224
	help
	  SHA-256 secure hash standard (DFIPS 180-2) implemented
	  using optimized ARM assembler and NEON, when available.

endif

config CRYPTO_PBKDF2
	select DIGEST
	select DIGEST_SHA1_GENERIC
	bool