wolfssl: bump to 4.1.0-stable
[openwrt/openwrt.git] / package / libs / wolfssl / Config.in
index 9b88914516a428ee8af147bbb61c5258534deaf2..a729f73a1d720f22509471d522a0ad36203c005a 100644 (file)
@@ -2,59 +2,76 @@ if PACKAGE_libwolfssl
 
 config WOLFSSL_HAS_AES_CCM
        bool "Include AES-CCM support"
-       default n
-
-config WOLFSSL_HAS_AES_GCM
-       bool "Include AES-GCM support"
-       default n
-
-config WOLFSSL_HAS_CHACHA
-       bool "Include ChaCha cipher suite support"
-       default n
+       default y
 
-config WOLFSSL_HAS_ECC
-       bool "Include ECC (Elliptic Curve Cryptography) support"
+config WOLFSSL_HAS_CHACHA_POLY
+       bool "Include ChaCha20-Poly1305 cipher suite support"
        default y
 
 config WOLFSSL_HAS_DH
        bool "Include DH (Diffie-Hellman) support"
-       default n
+       default y
 
 config WOLFSSL_HAS_ARC4
        bool "Include ARC4 support"
-       default n
+       default y
 
-config WOLFSSL_HAS_DES3
-       bool "Include DES3 (Tripple-DES) support"
-       default n
+config WOLFSSL_HAS_TLSV10
+       bool "Include TLS 1.0 support"
+       default y
 
-config WOLFSSL_HAS_PSK
-       bool "Include PKS (Pre Share Key) support"
-       default n
+config WOLFSSL_HAS_TLSV13
+       bool "Include TLS 1.3 support"
+       default y
 
 config WOLFSSL_HAS_SESSION_TICKET
        bool "Include session ticket support"
-       default n
+       default y
 
 config WOLFSSL_HAS_DTLS
        bool "Include DTLS support"
        default n
 
 config WOLFSSL_HAS_OCSP
-       bool "Include OSCP support"
-       default n
+       bool "Include OSCP stapling support"
+       default y
 
 config WOLFSSL_HAS_WPAS
        bool "Include wpa_supplicant support"
-       default n
+       select WOLFSSL_HAS_ARC4
+       select WOLFSSL_HAS_OCSP
+       select WOLFSSL_HAS_SESSION_TICKET
+       default y
 
 config WOLFSSL_HAS_ECC25519
        bool "Include ECC Curve 22519 support"
-       depends on WOLFSSL_HAS_ECC
        default n
 
-config WOLFSSL_HAS_POLY_1305
-       bool "Include Poly-1305 support"
-       default n
+config WOLFSSL_HAS_DEVCRYPTO
+       bool
+
+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"
+                       select WOLFSSL_HAS_DEVCRYPTO
+
+               config WOLFSSL_HAS_DEVCRYPTO_FULL
+                       bool "/dev/crypto - full"
+                       select WOLFSSL_HAS_DEVCRYPTO
+       endchoice
+endif
 
 endif