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
|
|
|
|
2017-08-24 05:56:40 +00:00
|
|
|
config WOLFSSL_HAS_AES_GCM
|
2016-08-20 10:52:42 +00:00
|
|
|
bool "Include AES-GCM 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
|
|
|
|
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
|
|
|
if !(WOLFSSL_HAS_AES_CCM||WOLFSSL_HAS_AES_GCM||WOLFSSL_HAS_CHACHA_POLY)
|
|
|
|
comment "! TLS 1.3 support needs one of: AES-CCM, AES-GCM, ChaCha20-Poly1305"
|
|
|
|
endif
|
|
|
|
|
|
|
|
config WOLFSSL_HAS_TLSV13
|
|
|
|
bool "Include TLS 1.3 support"
|
|
|
|
depends on WOLFSSL_HAS_AES_CCM||WOLFSSL_HAS_AES_GCM||WOLFSSL_HAS_CHACHA_POLY
|
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
|
|
|
|
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
|
2016-08-20 10:52:42 +00:00
|
|
|
bool "Include ECC Curve 22519 support"
|
|
|
|
default n
|
|
|
|
|
2019-07-01 16:40:00 +00:00
|
|
|
if WOLFSSL_HAS_AES_CCM
|
|
|
|
comment "! Hardware Acceleration does not build with AES-CCM enabled"
|
|
|
|
endif
|
|
|
|
if !WOLFSSL_HAS_AES_CCM
|
|
|
|
choice
|
|
|
|
prompt "Hardware Acceleration"
|
|
|
|
default WOLFSSL_HAS_NO_HW
|
|
|
|
|
|
|
|
config WOLFSSL_HAS_NO_HW
|
|
|
|
bool "None"
|
|
|
|
|
|
|
|
config WOLFSSL_HAS_AFALG
|
|
|
|
bool "AF_ALG"
|
|
|
|
|
|
|
|
config WOLFSSL_HAS_DEVCRYPTO_AES
|
|
|
|
bool "/dev/crypto - AES-only"
|
|
|
|
|
|
|
|
config WOLFSSL_HAS_DEVCRYPTO_FULL
|
|
|
|
bool "/dev/crypto - full"
|
|
|
|
endchoice
|
|
|
|
endif
|
2016-08-20 10:52:42 +00:00
|
|
|
|
2016-09-19 14:07:58 +00:00
|
|
|
endif
|