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:48:10 +08:00
parent 3ab8caf68c
commit 06d8b3fdf4
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 config LIBMBEDTLS_HAVE_ARMV8CE_AES
depends on PACKAGE_libmbedtls depends on PACKAGE_libmbedtls
bool bool
default y if !TARGET_bcm27xx || !TARGET_bcm4908 default y
prompt "Enable use of the ARMv8 Crypto Extensions" prompt "Enable use of the ARMv8 Crypto Extensions"
depends on aarch64 depends on aarch64 && !TARGET_bcm27xx && !TARGET_bcm4908
help help
Use of the ARMv8 Crypto Extensions greatly increase performance Use of the ARMv8 Crypto Extensions greatly increase performance
(up to 4x faster on AES-GCM while 10x faster on raw AES). (up to 4x faster on AES-GCM while 10x faster on raw AES).