Fix flowbench build

This commit is contained in:
sfc-gh-tclinkenbeard 2021-06-26 20:19:22 -07:00
parent 9edfffb6a6
commit 078d67d5fb
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ static void bench_encrypt(benchmark::State& state) {
auto bytes = state.range(0);
auto chunks = state.range(1);
auto chunkSize = bytes / chunks;
StreamCipher::Key::initializeRandomKey();
StreamCipher::Key::initializeRandomTestKey();
const auto& key = StreamCipher::Key::getKey();
auto iv = getRandomIV();
auto data = getKey(bytes);
@ -57,7 +57,7 @@ static void bench_decrypt(benchmark::State& state) {
auto bytes = state.range(0);
auto chunks = state.range(1);
auto chunkSize = bytes / chunks;
StreamCipher::Key::initializeRandomKey();
StreamCipher::Key::initializeRandomTestKey();
const auto& key = StreamCipher::Key::getKey();
auto iv = getRandomIV();
auto data = getKey(bytes);