wolfssl: update to 4.0.0-stable
[openwrt/staging/jogo.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_AES_GCM
8 bool "Include AES-GCM support"
9 default y
10
11 config WOLFSSL_HAS_CHACHA_POLY
12 bool "Include ChaCha20-Poly1305 cipher suite support"
13 default y
14
15 config WOLFSSL_HAS_DH
16 bool "Include DH (Diffie-Hellman) support"
17 default y
18
19 config WOLFSSL_HAS_ARC4
20 bool "Include ARC4 support"
21 default y
22
23 config WOLFSSL_HAS_TLSV10
24 bool "Include TLS 1.0 support"
25 default y
26
27 if !(WOLFSSL_HAS_AES_CCM||WOLFSSL_HAS_AES_GCM||WOLFSSL_HAS_CHACHA_POLY)
28 comment "! TLS 1.3 support needs one of: AES-CCM, AES-GCM, ChaCha20-Poly1305"
29 endif
30
31 config WOLFSSL_HAS_TLSV13
32 bool "Include TLS 1.3 support"
33 depends on WOLFSSL_HAS_AES_CCM||WOLFSSL_HAS_AES_GCM||WOLFSSL_HAS_CHACHA_POLY
34 default y
35
36 config WOLFSSL_HAS_SESSION_TICKET
37 bool "Include session ticket support"
38 default y
39
40 config WOLFSSL_HAS_DTLS
41 bool "Include DTLS support"
42 default n
43
44 config WOLFSSL_HAS_OCSP
45 bool "Include OSCP stapling support"
46 default y
47
48 config WOLFSSL_HAS_WPAS
49 bool "Include wpa_supplicant support"
50 select WOLFSSL_HAS_ARC4
51 select WOLFSSL_HAS_OCSP
52 select WOLFSSL_HAS_SESSION_TICKET
53 default y
54
55 config WOLFSSL_HAS_ECC25519
56 bool "Include ECC Curve 22519 support"
57 default n
58
59 if WOLFSSL_HAS_AES_CCM
60 comment "! Hardware Acceleration does not build with AES-CCM enabled"
61 endif
62 if !WOLFSSL_HAS_AES_CCM
63 choice
64 prompt "Hardware Acceleration"
65 default WOLFSSL_HAS_NO_HW
66
67 config WOLFSSL_HAS_NO_HW
68 bool "None"
69
70 config WOLFSSL_HAS_AFALG
71 bool "AF_ALG"
72
73 config WOLFSSL_HAS_DEVCRYPTO_AES
74 bool "/dev/crypto - AES-only"
75
76 config WOLFSSL_HAS_DEVCRYPTO_FULL
77 bool "/dev/crypto - full"
78 endchoice
79 endif
80
81 endif