built-in drivers(aesce): Fixed clang arm intrinsics for verions < 7

Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
This commit is contained in:
Minos Galanakis
2026-01-15 15:22:54 +00:00
parent 0bc29f6441
commit 2f384c82a5

View File

@@ -88,7 +88,11 @@
# define MBEDTLS_POP_TARGET_PRAGMA
# endif
# elif defined(__clang__)
# pragma clang attribute push (__attribute__((target("aes"))), apply_to=function)
# if __clang_major__ < 7
# pragma clang attribute push (__attribute__((target("crypto"))), apply_to=function)
# else
# pragma clang attribute push (__attribute__((target("aes"))), apply_to=function)
# endif
# define MBEDTLS_POP_TARGET_PRAGMA
# elif defined(__GNUC__)
# pragma GCC push_options