Add SPECK-128 provider for POWER8

pull/703/head
Jeffrey Walton 2018-08-12 04:40:10 -04:00
parent 3e26437249
commit aa806f3475
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 4 additions and 0 deletions

View File

@ -309,6 +309,10 @@ std::string SPECK128::Base::AlgorithmProvider() const
#if (CRYPTOPP_ARM_NEON_AVAILABLE) #if (CRYPTOPP_ARM_NEON_AVAILABLE)
if (HasNEON()) if (HasNEON())
return "NEON"; return "NEON";
#endif
#if (CRYPTOPP_POWER8_AVAILABLE)
if (HasPower8())
return "Power8";
#endif #endif
return "C++"; return "C++";
} }