Change variable name

This commit is contained in:
Henry Case 2021-04-25 22:34:30 +01:00
parent 128b5406cc
commit 15b97bc74e

View File

@ -34,10 +34,10 @@ static void BenchKyberMatK2(benchmark::State &st) {
static void BenchKyberRejSampling(benchmark::State &st) { static void BenchKyberRejSampling(benchmark::State &st) {
int64_t t, total = 0; int64_t t, total = 0;
int16_t a[256]; int16_t a[256];
uint8_t seed[168*3]; uint8_t buf[168*3];
for (auto _ : st) { for (auto _ : st) {
t = benchmark::cycleclock::Now(); t = benchmark::cycleclock::Now();
PQCLEAN_KYBER512_AVX2_rej_uniform_avx(a, seed); PQCLEAN_KYBER512_AVX2_rej_uniform_avx(a, buf);
total += benchmark::cycleclock::Now() - t; total += benchmark::cycleclock::Now() - t;
benchmark::DoNotOptimize(a); benchmark::DoNotOptimize(a);
} }