mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-31 05:54:26 -04:00 
			
		
		
		
	Hardware acceleration was disabled when AES-CCM was selected as a workaround for a build failure. This applies a couple of upstream patches fixing this. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
		
			
				
	
	
		
			77 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			77 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| if PACKAGE_libwolfssl
 | |
| 
 | |
| config WOLFSSL_HAS_AES_CCM
 | |
| 	bool "Include AES-CCM support"
 | |
| 	default y
 | |
| 
 | |
| 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 y
 | |
| 
 | |
| config WOLFSSL_HAS_ARC4
 | |
| 	bool "Include ARC4 support"
 | |
| 	default y
 | |
| 
 | |
| config WOLFSSL_HAS_TLSV10
 | |
| 	bool "Include TLS 1.0 support"
 | |
| 	default y
 | |
| 
 | |
| config WOLFSSL_HAS_TLSV13
 | |
| 	bool "Include TLS 1.3 support"
 | |
| 	default y
 | |
| 
 | |
| config WOLFSSL_HAS_SESSION_TICKET
 | |
| 	bool "Include session ticket support"
 | |
| 	default y
 | |
| 
 | |
| config WOLFSSL_HAS_DTLS
 | |
| 	bool "Include DTLS support"
 | |
| 	default n
 | |
| 
 | |
| config WOLFSSL_HAS_OCSP
 | |
| 	bool "Include OSCP stapling support"
 | |
| 	default y
 | |
| 
 | |
| config WOLFSSL_HAS_WPAS
 | |
| 	bool "Include wpa_supplicant support"
 | |
| 	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"
 | |
| 	default n
 | |
| 
 | |
| config WOLFSSL_HAS_DEVCRYPTO
 | |
| 	bool
 | |
| 
 | |
| 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_CBC
 | |
| 		bool "/dev/crytpo - AES-CBC-only"
 | |
| 		select WOLFSSL_HAS_DEVCRYPTO
 | |
| 
 | |
| 	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
 | |
| 
 | |
| endif
 |