Remove Provider from public key operations

Everything is C++ so there's no value added by the column
pull/709/head
Jeffrey Walton 2018-08-18 12:49:16 -04:00
parent ea05f2fefd
commit a6fadbad77
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
2 changed files with 3 additions and 2 deletions

View File

@ -90,6 +90,7 @@ void OutputResultKeying(double iterations, double timeTaken)
void OutputResultOperations(const char *name, const char *provider, const char *operation, bool pc, unsigned long iterations, double timeTaken)
{
CRYPTOPP_UNUSED(provider);
std::ostringstream oss;
// Coverity finding
@ -97,7 +98,7 @@ void OutputResultOperations(const char *name, const char *provider, const char *
if (timeTaken < 0.000001f) timeTaken = 0.000001f;
oss << "\n<TR><TD>" << name << " " << operation << (pc ? " with precomputation" : "");
oss << "<TD>" << provider;
//oss << "<TD>" << provider;
oss << "<TD>" << std::setprecision(2) << std::setiosflags(std::ios::fixed) << (1000*timeTaken/iterations);
// Coverity finding

View File

@ -314,7 +314,7 @@ void Benchmark3(double t, double hertz)
std::cout << "\n<COLGROUP><COL style=\"text-align: left;\"><COL style=";
std::cout << "\"text-align: right;\"><COL style=\"text-align: right;\">";
std::cout << "\n<THEAD style=\"background: #F0F0F0\">";
std::cout << "\n<TR><TH>Operation<TH>Provider<TH>Milliseconds/Operation" << mco;
std::cout << "\n<TR><TH>Operation<TH>Milliseconds/Operation" << mco;
std::cout << "\n<TBODY style=\"background: white;\">";
{