Fix Aarch64 compile in CPU_ProbeARMv7

Previous to the Cryptogams cut-in we could be sloppy and return anything for ARMv8. Now e have real code backing ARMv7 we need to return an accurate value.
This commit is contained in:
Jeffrey Walton 2019-05-21 08:13:52 -04:00
parent 268ea61f1c
commit 5e15b46234
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -50,7 +50,9 @@ extern "C" {
bool CPU_ProbeARMv7()
{
#if defined(CRYPTOPP_NO_CPU_FEATURE_PROBES)
#if defined(__aarch32__) || defined(__aarch64__) || defined(_M_ARM64)
return false;
#elif defined(CRYPTOPP_NO_CPU_FEATURE_PROBES)
return false;
#elif CRYPTOPP_ARM_NEON_AVAILABLE
# if defined(CRYPTOPP_MS_STYLE_INLINE_ASSEMBLY)