From dfa044bec206374d5f648706af87b4cc42a0b20a Mon Sep 17 00:00:00 2001 From: Daniel Pawlik Date: Fri, 13 Sep 2024 11:14:15 +0200 Subject: [PATCH] Add HW acceleration config for Wolfssl --- configs/common/wolfssl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configs/common/wolfssl b/configs/common/wolfssl index 50e8d50..b0a0391 100644 --- a/configs/common/wolfssl +++ b/configs/common/wolfssl @@ -10,3 +10,10 @@ CONFIG_LIBCURL_WOLFSSL=y CONFIG_LUA_ECO_WOLFSSL=y # CONFIG_LUA_ECO_MBEDTLS is not set #### replace mbedtls with openssl - remember to leave commented "is not set" or remove it! +# +# on ARMv8 - enable CPU Acceleration +# https://www.wolfssl.com/cpu-accelerated-cryptography-on-openwrt-using-wolfssl/ +CONFIG_PACKAGE_kmod-crypto-authenc=y +CONFIG_PACKAGE_kmod-cryptodev=y +CONFIG_WOLFSSL_HAS_DEVCRYPTO=y +CONFIG_WOLFSSL_HAS_DEVCRYPTO_FULL=y