af9ba923fe2b1387196b7bc5f6ffd9d6e327cc33
[openwrt/openwrt.git] / package / libs / wolfssl / Config.in
1 menu "wolfSSL Library Configuration"
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_DH
47 select WOLFSSL_HAS_OCSP
48 select WOLFSSL_HAS_SESSION_TICKET
49 default y
50
51 config WOLFSSL_HAS_ECC25519
52 bool "Include ECC Curve 25519 support"
53 default y
54
55 config WOLFSSL_HAS_ECC448
56 bool "Include ECC Curve 448 support"
57
58 config WOLFSSL_HAS_OPENVPN
59 bool "Include OpenVPN support"
60 default y
61
62 config WOLFSSL_ALT_NAMES
63 bool "Include SAN (Subject Alternative Name) support"
64 default y
65
66 config WOLFSSL_HAS_DEVCRYPTO
67 bool
68
69 if PACKAGE_libwolfssl
70 if PACKAGE_libwolfssl-cpu-crypto
71 comment "Hardware Acceleration does not apply to libwolfssl-cpu-crypto"
72 endif
73 choice
74 prompt "Hardware Acceleration"
75 default WOLFSSL_HAS_NO_HW
76
77 config WOLFSSL_HAS_NO_HW
78 bool "None"
79
80 config WOLFSSL_HAS_AFALG
81 bool "AF_ALG"
82
83 config WOLFSSL_HAS_DEVCRYPTO_CBC
84 bool "/dev/crytpo - AES-CBC-only"
85 select WOLFSSL_HAS_DEVCRYPTO
86
87 config WOLFSSL_HAS_DEVCRYPTO_AES
88 bool "/dev/crypto - AES-only (all supported modes)"
89 select WOLFSSL_HAS_DEVCRYPTO
90
91 config WOLFSSL_HAS_DEVCRYPTO_FULL
92 bool "/dev/crypto - full"
93 select WOLFSSL_HAS_DEVCRYPTO
94 endchoice
95 endif
96 endmenu