Fix SIMON64 and SPECK64 providers

pull/739/head
Jeffrey Walton 2018-11-12 22:03:26 -05:00
parent 9550ccc9a3
commit 7515b4d661
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
2 changed files with 8 additions and 0 deletions

View File

@ -263,6 +263,10 @@ std::string SIMON64::Base::AlgorithmProvider() const
if (HasNEON()) if (HasNEON())
return "NEON"; return "NEON";
# endif # endif
# if (CRYPTOPP_POWER7_AVAILABLE)
if (HasPower7())
return "Power7";
# endif
# if (CRYPTOPP_ALTIVEC_AVAILABLE) # if (CRYPTOPP_ALTIVEC_AVAILABLE)
if (HasAltivec()) if (HasAltivec())
return "Altivec"; return "Altivec";

View File

@ -235,6 +235,10 @@ std::string SPECK64::Base::AlgorithmProvider() const
if (HasNEON()) if (HasNEON())
return "NEON"; return "NEON";
# endif # endif
# if (CRYPTOPP_POWER7_AVAILABLE)
if (HasPower7())
return "Power7";
# endif
# if (CRYPTOPP_ALTIVEC_AVAILABLE) # if (CRYPTOPP_ALTIVEC_AVAILABLE)
if (HasAltivec()) if (HasAltivec())
return "Altivec"; return "Altivec";