aboutsummaryrefslogtreecommitdiffstats
path: root/lib/zinc/Kconfig
blob: 34934e3f97c18ca869fbd6cba524c74c21d50a4d (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
config ZINC_CHACHA20
	def_bool y
	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_DEBUG
	bool "Zinc cryptography library debugging and self-tests"
	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
	  debugging traps.

	  Unless you're developing and testing cryptographic routines, or are
	  especially paranoid about correctness on your hardware, you may say
	  N here.

config ZINC_ARCH_ARM
	def_bool y
	depends on ARM && !64BIT

config ZINC_ARCH_ARM64
	def_bool y
	depends on ARM64 && 64BIT

config ZINC_ARCH_X86_64
	def_bool y
	depends on X86_64 && 64BIT
	depends on !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