mbedtls: hidden ARMv8 Crypto Extensions option for broadcom devices

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2021-03-07 20:46:08 +08:00
parent 755dc0ffd7
commit 4d7d6034d2
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -65,9 +65,9 @@ config LIBMBEDTLS_DEBUG_C
config LIBMBEDTLS_HAVE_ARMV8CE_AES
depends on PACKAGE_libmbedtls
bool
default y if !TARGET_bcm27xx
default y
prompt "Enable use of the ARMv8 Crypto Extensions"
depends on aarch64
depends on aarch64 && !TARGET_bcm27xx
help
Use of the ARMv8 Crypto Extensions greatly increase performance
(up to 4x faster on AES-GCM while 10x faster on raw AES).