diff --git a/sshaes.c b/sshaes.c index 97ea9f31..6671879e 100644 --- a/sshaes.c +++ b/sshaes.c @@ -1580,6 +1580,7 @@ NI_ENC_DEC(256) */ #define __ARM_NEON 1 #define __ARM_FEATURE_CRYPTO 1 +#define __ARM_FEATURE_AES 1 #define FUNC_ISA __attribute__ ((target("neon,crypto"))) #endif /* USE_CLANG_ATTR_TARGET_AARCH64 */ diff --git a/sshsh256.c b/sshsh256.c index 206a976c..db1f96bd 100644 --- a/sshsh256.c +++ b/sshsh256.c @@ -723,6 +723,7 @@ const ssh_hashalg ssh_sha256_hw = { */ #define __ARM_NEON 1 #define __ARM_FEATURE_CRYPTO 1 +#define __ARM_FEATURE_SHA2 1 #define FUNC_ISA __attribute__ ((target("neon,crypto"))) #endif /* USE_CLANG_ATTR_TARGET_AARCH64 */ diff --git a/sshsha.c b/sshsha.c index 536d474f..a5e79e6a 100644 --- a/sshsha.c +++ b/sshsha.c @@ -690,6 +690,7 @@ const ssh_hashalg ssh_sha1_hw = { */ #define __ARM_NEON 1 #define __ARM_FEATURE_CRYPTO 1 +#define __ARM_FEATURE_SHA2 1 #define FUNC_ISA __attribute__ ((target("neon,crypto"))) #endif /* USE_CLANG_ATTR_TARGET_AARCH64 */