aboutsummaryrefslogtreecommitdiffstats
path: root/lib/zinc/Kconfig
blob: db8e07df55c44849e1fa402344fe3185803bea45 (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
config ZINC_CHACHA20
	tristate
	select CRYPTO_ALGAPI

config ZINC_POLY1305
	tristate

config ZINC_CHACHA20POLY1305
	tristate
	select ZINC_CHACHA20
	select ZINC_POLY1305
	select CRYPTO_BLKCIPHER

config ZINC_BLAKE2S
	tristate

config ZINC_CURVE25519
	tristate
	select CONFIG_CRYPTO

config ZINC_SELFTEST
	bool "Zinc cryptography library self-tests"
	default y
	help
	  This builds a series of self-tests for the Zinc crypto library, which
	  help diagnose any cryptographic algorithm implementation issues that
	  might be at the root cause of potential bugs. It also adds various
	  traps for incorrect usage.

	  Unless you are optimizing for machines without much disk space or for
	  very slow machines, it is probably a good idea to say Y here, so that
	  any potential cryptographic bugs translate into easy bug reports
	  rather than long-lasting security issues.

config ZINC_DEBUG
	bool "Zinc cryptography library debugging"
	help
	  This turns on a series of additional checks and debugging options
	  that are useful for developers but probably will not provide much
	  benefit to end users.

	  Most people should say N here.

config ZINC_ARCH_ARM
	def_bool y
	depends on ARM

config ZINC_ARCH_ARM64
	def_bool y
	depends on ARM64

config ZINC_ARCH_X86_64
	def_bool y
	depends on X86_64 && !UML

config ZINC_ARCH_MIPS
	def_bool y
	depends on MIPS && CPU_MIPS32_R2 && !64BIT

config ZINC_ARCH_MIPS64
	def_bool y
	depends on MIPS && 64BIT