a729f73a1d720f22509471d522a0ad36203c005a
[librecmc/librecmc.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_TLSV10
20         bool "Include TLS 1.0 support"
21         default y
22
23 config WOLFSSL_HAS_TLSV13
24         bool "Include TLS 1.3 support"
25         default y
26
27 config WOLFSSL_HAS_SESSION_TICKET
28         bool "Include session ticket support"
29         default y
30
31 config WOLFSSL_HAS_DTLS
32         bool "Include DTLS support"
33         default n
34
35 config WOLFSSL_HAS_OCSP
36         bool "Include OSCP stapling support"
37         default y
38
39 config WOLFSSL_HAS_WPAS
40         bool "Include wpa_supplicant support"
41         select WOLFSSL_HAS_ARC4
42         select WOLFSSL_HAS_OCSP
43         select WOLFSSL_HAS_SESSION_TICKET
44         default y
45
46 config WOLFSSL_HAS_ECC25519
47         bool "Include ECC Curve 22519 support"
48         default n
49
50 config WOLFSSL_HAS_DEVCRYPTO
51         bool
52
53 if WOLFSSL_HAS_AES_CCM
54         comment "! Hardware Acceleration does not build with AES-CCM enabled"
55 endif
56 if !WOLFSSL_HAS_AES_CCM
57         choice
58                 prompt "Hardware Acceleration"
59                 default WOLFSSL_HAS_NO_HW
60
61                 config WOLFSSL_HAS_NO_HW
62                         bool "None"
63
64                 config WOLFSSL_HAS_AFALG
65                         bool "AF_ALG"
66
67                 config WOLFSSL_HAS_DEVCRYPTO_AES
68                         bool "/dev/crypto - AES-only"
69                         select WOLFSSL_HAS_DEVCRYPTO
70
71                 config WOLFSSL_HAS_DEVCRYPTO_FULL
72                         bool "/dev/crypto - full"
73                         select WOLFSSL_HAS_DEVCRYPTO
74         endchoice
75 endif
76
77 endif