forked from wolfSSL/wolfssl
Check if HWCAP_ASIMDRDM is defined, old hwcap.h headers do not define this.
This commit is contained in:
@@ -170,7 +170,7 @@
|
||||
if (hwcaps & HWCAP_SHA512)
|
||||
cpuid_flags |= CPUID_SHA512;
|
||||
#endif
|
||||
#ifndef WOLFSSL_AARCH64_NO_SQRDMLSH
|
||||
#if defined(HWCAP_ASIMDRDM) && !defined(WOLFSSL_AARCH64_NO_SQRDMLSH)
|
||||
if (hwcaps & HWCAP_ASIMDRDM)
|
||||
cpuid_flags |= CPUID_RDM;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user