mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-06 22:24:42 +02:00
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)
|
if (hwcaps & HWCAP_SHA512)
|
||||||
cpuid_flags |= CPUID_SHA512;
|
cpuid_flags |= CPUID_SHA512;
|
||||||
#endif
|
#endif
|
||||||
#ifndef WOLFSSL_AARCH64_NO_SQRDMLSH
|
#if defined(HWCAP_ASIMDRDM) && !defined(WOLFSSL_AARCH64_NO_SQRDMLSH)
|
||||||
if (hwcaps & HWCAP_ASIMDRDM)
|
if (hwcaps & HWCAP_ASIMDRDM)
|
||||||
cpuid_flags |= CPUID_RDM;
|
cpuid_flags |= CPUID_RDM;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user