2017-08-24 05:56:40 +00:00
|
|
|
if PACKAGE_libwolfssl
|
2016-08-20 10:52:42 +00:00
|
|
|
|
2017-08-24 05:56:40 +00:00
|
|
|
config WOLFSSL_HAS_AES_CCM
|
2016-08-20 10:52:42 +00:00
|
|
|
bool "Include AES-CCM support"
|
2018-05-30 22:34:15 +00:00
|
|
|
default y
|
2016-08-20 10:52:42 +00:00
|
|
|
|
2019-07-01 16:40:00 +00:00
|
|
|
config WOLFSSL_HAS_CHACHA_POLY
|
|
|
|
bool "Include ChaCha20-Poly1305 cipher suite support"
|
2016-08-20 10:52:42 +00:00
|
|
|
default y
|
|
|
|
|
2017-08-24 05:56:40 +00:00
|
|
|
config WOLFSSL_HAS_DH
|
2016-08-20 10:52:42 +00:00
|
|
|
bool "Include DH (Diffie-Hellman) support"
|
2018-05-30 22:34:15 +00:00
|
|
|
default y
|
2016-08-20 10:52:42 +00:00
|
|
|
|
2017-08-24 05:56:40 +00:00
|
|
|
config WOLFSSL_HAS_ARC4
|
2016-08-20 10:52:42 +00:00
|
|
|
bool "Include ARC4 support"
|
2018-05-30 22:34:15 +00:00
|
|
|
default y
|
2016-08-20 10:52:42 +00:00
|
|
|
|
2020-08-29 08:20:18 +00:00
|
|
|
config WOLFSSL_HAS_CERTGEN
|
|
|
|
bool "Include certificate generation support"
|
|
|
|
default y
|
|
|
|
|
2019-07-01 16:40:00 +00:00
|
|
|
config WOLFSSL_HAS_TLSV10
|
|
|
|
bool "Include TLS 1.0 support"
|
2018-05-30 22:34:15 +00:00
|
|
|
default y
|
2016-08-20 10:52:42 +00:00
|
|
|
|
2019-07-01 16:40:00 +00:00
|
|
|
config WOLFSSL_HAS_TLSV13
|
|
|
|
bool "Include TLS 1.3 support"
|
2018-05-30 22:34:15 +00:00
|
|
|
default y
|
2016-08-20 10:52:42 +00:00
|
|
|
|
2018-04-28 18:55:51 +00:00
|
|
|
config WOLFSSL_HAS_SESSION_TICKET
|
|
|
|
bool "Include session ticket support"
|
2018-05-30 22:34:15 +00:00
|
|
|
default y
|
2018-04-28 18:55:51 +00:00
|
|
|
|
2017-08-24 05:56:40 +00:00
|
|
|
config WOLFSSL_HAS_DTLS
|
2016-08-20 10:52:42 +00:00
|
|
|
bool "Include DTLS support"
|
|
|
|
default n
|
|
|
|
|
2018-04-28 18:55:51 +00:00
|
|
|
config WOLFSSL_HAS_OCSP
|
2019-07-01 16:40:00 +00:00
|
|
|
bool "Include OSCP stapling support"
|
2018-05-30 22:34:15 +00:00
|
|
|
default y
|
2018-04-28 18:55:51 +00:00
|
|
|
|
|
|
|
config WOLFSSL_HAS_WPAS
|
|
|
|
bool "Include wpa_supplicant support"
|
2019-07-01 16:40:00 +00:00
|
|
|
select WOLFSSL_HAS_ARC4
|
2021-01-20 01:01:37 +00:00
|
|
|
select WOLFSSL_HAS_DH
|
2019-07-01 16:40:00 +00:00
|
|
|
select WOLFSSL_HAS_OCSP
|
|
|
|
select WOLFSSL_HAS_SESSION_TICKET
|
2018-05-30 22:34:15 +00:00
|
|
|
default y
|
2018-04-28 18:55:51 +00:00
|
|
|
|
2017-08-24 05:56:40 +00:00
|
|
|
config WOLFSSL_HAS_ECC25519
|
2021-02-20 10:08:26 +00:00
|
|
|
bool "Include ECC Curve 25519 support"
|
2021-10-07 20:15:25 +00:00
|
|
|
default y
|
2016-08-20 10:52:42 +00:00
|
|
|
|
2022-06-24 10:47:20 +00:00
|
|
|
config WOLFSSL_HAS_ECC448
|
|
|
|
bool "Include ECC Curve 448 support"
|
|
|
|
|
2021-05-05 15:23:19 +00:00
|
|
|
config WOLFSSL_HAS_OPENVPN
|
|
|
|
bool "Include OpenVPN support"
|
2022-06-08 23:30:39 +00:00
|
|
|
default y
|
2021-05-05 15:23:19 +00:00
|
|
|
|
2021-12-24 23:04:50 +00:00
|
|
|
config WOLFSSL_ALT_NAMES
|
|
|
|
bool "Include SAN (Subject Alternative Name) support"
|
|
|
|
default y
|
|
|
|
|
2019-08-05 14:47:58 +00:00
|
|
|
config WOLFSSL_HAS_DEVCRYPTO
|
|
|
|
bool
|
|
|
|
|
2022-04-19 15:02:09 +00:00
|
|
|
config WOLFSSL_ASM_CAPABLE
|
|
|
|
bool
|
|
|
|
default x86_64 || (aarch64 && !TARGET_bcm27xx)
|
|
|
|
|
2019-09-12 20:00:00 +00:00
|
|
|
choice
|
|
|
|
prompt "Hardware Acceleration"
|
2022-07-06 20:55:58 +00:00
|
|
|
default WOLFSSL_HAS_CPU_CRYPTO if WOLFSSL_ASM_CAPABLE
|
2019-09-12 20:00:00 +00:00
|
|
|
default WOLFSSL_HAS_NO_HW
|
2019-07-01 16:40:00 +00:00
|
|
|
|
2019-09-12 20:00:00 +00:00
|
|
|
config WOLFSSL_HAS_NO_HW
|
|
|
|
bool "None"
|
2019-07-01 16:40:00 +00:00
|
|
|
|
2022-04-19 15:02:09 +00:00
|
|
|
config WOLFSSL_HAS_CPU_CRYPTO
|
|
|
|
bool "Use CPU crypto instructions"
|
|
|
|
depends on WOLFSSL_ASM_CAPABLE
|
|
|
|
help
|
|
|
|
This will use Intel AESNI insturctions or armv8 Crypto Extensions.
|
|
|
|
Either of them should easily outperform hardware crypto in WolfSSL.
|
|
|
|
|
2019-09-12 20:00:00 +00:00
|
|
|
config WOLFSSL_HAS_AFALG
|
|
|
|
bool "AF_ALG"
|
2019-07-01 16:40:00 +00:00
|
|
|
|
2019-09-12 20:00:00 +00:00
|
|
|
config WOLFSSL_HAS_DEVCRYPTO_CBC
|
|
|
|
bool "/dev/crytpo - AES-CBC-only"
|
|
|
|
select WOLFSSL_HAS_DEVCRYPTO
|
2019-07-01 16:40:00 +00:00
|
|
|
|
2019-09-12 20:00:00 +00:00
|
|
|
config WOLFSSL_HAS_DEVCRYPTO_AES
|
|
|
|
bool "/dev/crypto - AES-only (all supported modes)"
|
|
|
|
select WOLFSSL_HAS_DEVCRYPTO
|
|
|
|
|
|
|
|
config WOLFSSL_HAS_DEVCRYPTO_FULL
|
|
|
|
bool "/dev/crypto - full"
|
|
|
|
select WOLFSSL_HAS_DEVCRYPTO
|
|
|
|
endchoice
|
2016-08-20 10:52:42 +00:00
|
|
|
|
2016-09-19 14:07:58 +00:00
|
|
|
endif
|