f495a90ff608b4308d02c5db04466239acb615ef
[openwrt/staging/wigyori.git] / package / libs / wolfssl / Config.in
1 if PACKAGE_libwolfssl
2
3 config WOLFSSL_HAS_AES_CCM
4 bool "Include AES-CCM support"
5 default y
6
7 config WOLFSSL_HAS_CHACHA_POLY
8 bool "Include ChaCha20-Poly1305 cipher suite support"
9 default y
10
11 config WOLFSSL_HAS_DH
12 bool "Include DH (Diffie-Hellman) support"
13 default y
14
15 config WOLFSSL_HAS_ARC4
16 bool "Include ARC4 support"
17 default y
18
19 config WOLFSSL_HAS_CERTGEN
20 bool "Include certificate generation support"
21 default y
22
23 config WOLFSSL_HAS_TLSV10
24 bool "Include TLS 1.0 support"
25 default y
26
27 config WOLFSSL_HAS_TLSV13
28 bool "Include TLS 1.3 support"
29 default y
30
31 config WOLFSSL_HAS_SESSION_TICKET
32 bool "Include session ticket support"
33 default y
34
35 config WOLFSSL_HAS_DTLS
36 bool "Include DTLS support"
37 default n
38
39 config WOLFSSL_HAS_OCSP
40 bool "Include OSCP stapling support"
41 default y
42
43 config WOLFSSL_HAS_WPAS
44 bool "Include wpa_supplicant support"
45 select WOLFSSL_HAS_ARC4
46 select WOLFSSL_HAS_OCSP
47 select WOLFSSL_HAS_SESSION_TICKET
48 default y
49
50 config WOLFSSL_HAS_ECC25519
51 bool "Include ECC Curve 25519 support"
52 default y
53
54 config WOLFSSL_HAS_OPENVPN
55 bool "Include OpenVPN support"
56 default n
57
58 config WOLFSSL_ALT_NAMES
59 bool "Include SAN (Subject Alternative Name) support"
60 default y
61
62 config WOLFSSL_HAS_DEVCRYPTO
63 bool
64
65 config WOLFSSL_ASM_CAPABLE
66 bool
67 default x86_64 || (aarch64 && !TARGET_bcm27xx)
68
69 choice
70 prompt "Hardware Acceleration"
71 default WOLFSSL_HAS_CPU_CRYPTO if WOLFSSL_ASM_CAPABLE
72 default WOLFSSL_HAS_NO_HW
73
74 config WOLFSSL_HAS_NO_HW
75 bool "None"
76
77 config WOLFSSL_HAS_CPU_CRYPTO
78 bool "Use CPU crypto instructions"
79 depends on WOLFSSL_ASM_CAPABLE
80 help
81 This will use Intel AESNI insturctions or armv8 Crypto Extensions.
82 Either of them should easily outperform hardware crypto in WolfSSL.
83
84 config WOLFSSL_HAS_AFALG
85 bool "AF_ALG"
86
87 config WOLFSSL_HAS_DEVCRYPTO_CBC
88 bool "/dev/crytpo - AES-CBC-only"
89 select WOLFSSL_HAS_DEVCRYPTO
90
91 config WOLFSSL_HAS_DEVCRYPTO_AES
92 bool "/dev/crypto - AES-only (all supported modes)"
93 select WOLFSSL_HAS_DEVCRYPTO
94
95 config WOLFSSL_HAS_DEVCRYPTO_FULL
96 bool "/dev/crypto - full"
97 select WOLFSSL_HAS_DEVCRYPTO
98 endchoice
99
100 endif