Fix failed link on ARM and friends

This commit is contained in:
Jeffrey Walton 2018-07-07 21:34:00 -04:00
parent f065f193c1
commit 886e48d85d
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
2 changed files with 6 additions and 12 deletions

View File

@ -206,11 +206,6 @@ inline void RDRAND64(void* output)
}
#endif // CRYPTOPP_BOOL_X64, CRYPTOPP_BOOL_X32 and RDRAND64
std::string RDRAND::AlgorithmProvider() const
{
return "RDRAND";
}
RDRAND::RDRAND()
{
if (!HasRDRAND())
@ -368,11 +363,6 @@ inline void RDSEED64(void* output)
}
#endif // CRYPTOPP_BOOL_X64 and RDSEED64
std::string RDSEED::AlgorithmProvider() const
{
return "RDSEED";
}
RDSEED::RDSEED()
{
if (!HasRDSEED())

View File

@ -81,7 +81,9 @@ public:
CRYPTOPP_UNUSED(input); CRYPTOPP_UNUSED(length);
}
std::string AlgorithmProvider() const;
std::string AlgorithmProvider() const {
return "RDRAND";
}
};
/// \brief Exception thrown when a RDSEED generator encounters
@ -133,7 +135,9 @@ public:
CRYPTOPP_UNUSED(input); CRYPTOPP_UNUSED(length);
}
std::string AlgorithmProvider() const;
std::string AlgorithmProvider() const {
return "RDSEED";
}
};
NAMESPACE_END