diff options
author | Eneas U de Queiroz <cotequeiroz@gmail.com> | 2022-07-06 17:55:58 -0300 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2022-07-08 01:39:34 +0200 |
commit | 639419ec4fd1501a9b9857cea96474271ef737b1 (patch) | |
tree | d035547eab87c92611c253fd420dcef04a461cc2 /package/libs/wolfssl/Config.in | |
parent | e7ec2d73996b336eb5d7e6fc0f4607589b07a09e (diff) | |
download | upstream-639419ec4fd1501a9b9857cea96474271ef737b1.tar.gz upstream-639419ec4fd1501a9b9857cea96474271ef737b1.tar.bz2 upstream-639419ec4fd1501a9b9857cea96474271ef737b1.zip |
wolfssl: re-enable AES-NI by default for x86_64
Apply an upstream patch that removes unnecessary CFLAGs, avoiding
generation of incompatible code.
Commit 0bd536723303ccd178e289690d073740c928bb34 is reverted so the
accelerated version builds by default on x86_64.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Diffstat (limited to 'package/libs/wolfssl/Config.in')
-rw-r--r-- | package/libs/wolfssl/Config.in | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/package/libs/wolfssl/Config.in b/package/libs/wolfssl/Config.in index c364da033a..0af5b4a778 100644 --- a/package/libs/wolfssl/Config.in +++ b/package/libs/wolfssl/Config.in @@ -72,7 +72,7 @@ config WOLFSSL_ASM_CAPABLE choice prompt "Hardware Acceleration" - default WOLFSSL_HAS_CPU_CRYPTO if WOLFSSL_ASM_CAPABLE && !x86_64 + default WOLFSSL_HAS_CPU_CRYPTO if WOLFSSL_ASM_CAPABLE default WOLFSSL_HAS_NO_HW config WOLFSSL_HAS_NO_HW @@ -84,7 +84,6 @@ choice help This will use Intel AESNI insturctions or armv8 Crypto Extensions. Either of them should easily outperform hardware crypto in WolfSSL. - Beware that for Intel, the CPU has to support SSE4 instructions. config WOLFSSL_HAS_AFALG bool "AF_ALG" @@ -101,9 +100,5 @@ choice bool "/dev/crypto - full" select WOLFSSL_HAS_DEVCRYPTO endchoice -if x86_64 && WOLFSSL_HAS_CPU_CRYPTO - comment "WARNING: make sure your CPU supports SSE4 instructions" - comment "WolfSSL may crash with an invalid opcode exception" -endif endif |