blob: e1c1919e3e4732f4169a7a8ba46887bee1ebd437 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001if PACKAGE_libwolfssl
2
3comment "wolfSSL Library Configuration"
4
5config WOLFSSL_HAS_AES_CCM
6 bool "Include AES-CCM support"
7 default y
8
9config WOLFSSL_HAS_CHACHA_POLY
10 bool "Include ChaCha20-Poly1305 cipher suite support"
11 default y
12
13config WOLFSSL_HAS_DH
14 bool "Include DH (Diffie-Hellman) support"
15 default y
16
17config WOLFSSL_HAS_ARC4
18 bool "Include ARC4 support"
19 default y
20
21config WOLFSSL_HAS_CERTGEN
22 bool "Include certificate generation support"
23 default y
24
25config WOLFSSL_HAS_TLSV10
26 bool "Include TLS 1.0 support"
27 default y
28
29config WOLFSSL_HAS_TLSV13
30 bool "Include TLS 1.3 support"
31 default y
32
33config WOLFSSL_HAS_SESSION_TICKET
34 bool "Include session ticket support"
35 default y
36
37config WOLFSSL_HAS_DTLS
38 bool "Include DTLS support"
39 default n
40
41config WOLFSSL_HAS_OCSP
42 bool "Include OSCP stapling support"
43 default y
44
45config WOLFSSL_HAS_WPAS
46 bool "Include wpa_supplicant support"
47 select WOLFSSL_HAS_ARC4
48 select WOLFSSL_HAS_DH
49 select WOLFSSL_HAS_OCSP
50 select WOLFSSL_HAS_SESSION_TICKET
51 default y
52
53config WOLFSSL_HAS_ECC25519
54 bool "Include ECC Curve 25519 support"
55 default y
56
57config WOLFSSL_HAS_ECC448
58 bool "Include ECC Curve 448 support"
59
60config WOLFSSL_HAS_OPENVPN
61 bool "Include OpenVPN support"
62 default y
63
64config WOLFSSL_ALT_NAMES
65 bool "Include SAN (Subject Alternative Name) support"
66 default y
67
68config WOLFSSL_HAS_DEVCRYPTO
69 bool
70
71 if PACKAGE_libwolfsslcpu-crypto
72 comment "Hardware Acceleration does not apply to libwolfsslcpu-crypto"
73 endif
74 choice
75 prompt "Hardware Acceleration"
76 default WOLFSSL_HAS_NO_HW
77
78 config WOLFSSL_HAS_NO_HW
79 bool "None"
80
81 config WOLFSSL_HAS_AFALG
82 bool "AF_ALG"
83
84 config WOLFSSL_HAS_DEVCRYPTO_CBC
85 bool "/dev/crypto - AES-CBC-only"
86 select WOLFSSL_HAS_DEVCRYPTO
87
88 config WOLFSSL_HAS_DEVCRYPTO_AES
89 bool "/dev/crypto - AES-only (all supported modes)"
90 select WOLFSSL_HAS_DEVCRYPTO
91
92 config WOLFSSL_HAS_DEVCRYPTO_FULL
93 bool "/dev/crypto - full"
94 select WOLFSSL_HAS_DEVCRYPTO
95 endchoice
96
97endif