Fix test.cpp

pull/806/head
Jeffrey Walton 2019-02-12 17:48:22 -05:00
parent 651401f4d0
commit a39ca6f0e7
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 0 additions and 22 deletions

View File

@ -31,8 +31,6 @@
#include "validate.h"
#include "bench.h"
#include "shake.h"
#include <iostream>
#include <sstream>
#include <locale>
@ -187,26 +185,6 @@ int scoped_main(int argc, char *argv[])
cipher.SetKeyWithIV((byte *)s_globalSeed.data(), 16, (byte *)s_globalSeed.data());
#endif
{
SHAKE128 hash;
byte digest[32];
hash.Final(digest);
std::cout << "SHAKE128 Digest:\n";
StringSource(digest, sizeof(digest), true, new HexEncoder(new FileSink(std::cout)));
std::cout << "\n" << std::endl;
}
{
SHAKE256 hash;
byte digest[64];
hash.Final(digest);
std::cout << "SHAKE256 Digest:\n";
StringSource(digest, sizeof(digest), true, new HexEncoder(new FileSink(std::cout)));
std::cout << "\n" << std::endl;
}
std::string command, executableName, macFilename;
if (argc < 2)