diff --git a/simon.cpp b/simon.cpp index 0e777306..a2456c1c 100644 --- a/simon.cpp +++ b/simon.cpp @@ -263,6 +263,10 @@ std::string SIMON64::Base::AlgorithmProvider() const if (HasNEON()) return "NEON"; # endif +# if (CRYPTOPP_POWER7_AVAILABLE) + if (HasPower7()) + return "Power7"; +# endif # if (CRYPTOPP_ALTIVEC_AVAILABLE) if (HasAltivec()) return "Altivec"; diff --git a/speck.cpp b/speck.cpp index 7f6eb31b..61fac2cf 100644 --- a/speck.cpp +++ b/speck.cpp @@ -235,6 +235,10 @@ std::string SPECK64::Base::AlgorithmProvider() const if (HasNEON()) return "NEON"; # endif +# if (CRYPTOPP_POWER7_AVAILABLE) + if (HasPower7()) + return "Power7"; +# endif # if (CRYPTOPP_ALTIVEC_AVAILABLE) if (HasAltivec()) return "Altivec";