This commit is contained in:
Adam Ierymenko 2019-09-05 18:06:48 -07:00
parent c0e92d06a5
commit c6141ffbc7
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
2 changed files with 6 additions and 12 deletions

View file

@ -222,7 +222,7 @@ static int testCrypto()
std::cout << (((double)(500000 * ZT_DEFAULT_MTU) / 1048576.0) / ((double)(end - start) / 1000.0)) << " MiB/second (dummy: " << (unsigned int)*dummy << ")" ZT_EOL_S;
}
{
std::cout << " AES-256-GMAC-CTR (benchmark): "; std::cout.flush();
std::cout << " AES-256-GMAC-SIV (benchmark): "; std::cout.flush();
AES k1,k2,k3,k4;
AES::initGmacCtrKeys(AES_TEST_VECTOR_0_KEY,k1,k2,k3,k4);
int64_t start = OSUtils::now();