From 078d67d5fbc38c37cb92fe72d7dd9cec4aaf1be8 Mon Sep 17 00:00:00 2001 From: sfc-gh-tclinkenbeard Date: Sat, 26 Jun 2021 20:19:22 -0700 Subject: [PATCH] Fix flowbench build --- flowbench/BenchEncrypt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flowbench/BenchEncrypt.cpp b/flowbench/BenchEncrypt.cpp index 91cf5fd978..54834bc829 100644 --- a/flowbench/BenchEncrypt.cpp +++ b/flowbench/BenchEncrypt.cpp @@ -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);