1config BR2_PACKAGE_WOLFSSL_ASM_SUPPORTS
2	bool
3	default y if BR2_aarch64
4	default y if (BR2_arm || BR2_armeb) && !BR2_ARM_CPU_ARMV4 # clz
5	default y if BR2_powerpc
6	default y if BR2_powerpc64 || BR2_powerpc64le
7	default y if BR2_mips64 && !BR2_MIPS_CPU_MIPS32R6
8	default y if BR2_mips64el && !BR2_MIPS_CPU_MIPS32R6
9	default y if BR2_mips || BR2_mipsel
10	default y if BR2_riscv && BR2_RISCV_ISA_RVM
11	default y if BR2_s390x
12
13config BR2_PACKAGE_WOLFSSL
14	bool "wolfssl"
15	depends on BR2_TOOLCHAIN_HAS_THREADS
16	help
17	  The wolfSSL embedded SSL library (formerly CyaSSL) is a
18	  lightweight, portable, C-language-based SSL/TLS library
19	  targeted at IoT, embedded, and RTOS environments primarily
20	  because of its size, speed, and feature set.
21
22	  https://www.wolfssl.com/
23
24if BR2_PACKAGE_WOLFSSL
25
26config BR2_PACKAGE_WOLFSSL_ALL
27	bool "enable all features, except SSLv3"
28	depends on !BR2_STATIC_LIBS
29	help
30	  Enable all wolfSSL features, except SSL version 3.0 support.
31
32comment "all features, except SSLv3 needs a toolchain w/ dynamic library"
33	depends on BR2_STATIC_LIBS
34
35config BR2_PACKAGE_WOLFSSL_SSLV3
36	bool "enable SSLv3"
37	help
38	  Enable SSL version 3.0 support.
39
40endif
41
42comment "wolfssl needs a toolchain w/ threads"
43	depends on !BR2_TOOLCHAIN_HAS_THREADS
44