Fix typo in benchmark name Change-Id: Ic7b8e1ba85410f241b1845b16039b894872e24e8 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/94487 Reviewed-by: Adam Langley <agl@google.com> Auto-Submit: David Benjamin <davidben@google.com> Commit-Queue: David Benjamin <davidben@google.com>
diff --git a/bench/mlkem.cc b/bench/mlkem.cc index 8ea49f1..84bbb66 100644 --- a/bench/mlkem.cc +++ b/bench/mlkem.cc
@@ -47,7 +47,7 @@ } // parse + encap (same as TLS client side) -void BM_SpeedMLKEM768ParseEncacp(benchmark::State &state) { +void BM_SpeedMLKEM768ParseEncap(benchmark::State &state) { for (auto _ : state) { state.PauseTiming(); uint8_t encoded_public_key[MLKEM768_PUBLIC_KEY_BYTES]; @@ -96,7 +96,7 @@ } // parse + encap (same as TLS client side) -void BM_SpeedMLKEM1024ParseEncacp(benchmark::State &state) { +void BM_SpeedMLKEM1024ParseEncap(benchmark::State &state) { for (auto _ : state) { state.PauseTiming(); uint8_t encoded_public_key[MLKEM1024_PUBLIC_KEY_BYTES]; @@ -289,9 +289,9 @@ BSSL_BENCH_LAZY_REGISTER() { BENCHMARK(BM_SpeedMLKEM768KeyGenDecap)->Apply(bssl::bench::SetThreads); - BENCHMARK(BM_SpeedMLKEM768ParseEncacp)->Apply(bssl::bench::SetThreads); + BENCHMARK(BM_SpeedMLKEM768ParseEncap)->Apply(bssl::bench::SetThreads); BENCHMARK(BM_SpeedMLKEM1024KeyGenDecap)->Apply(bssl::bench::SetThreads); - BENCHMARK(BM_SpeedMLKEM1024ParseEncacp)->Apply(bssl::bench::SetThreads); + BENCHMARK(BM_SpeedMLKEM1024ParseEncap)->Apply(bssl::bench::SetThreads); BENCHMARK(BM_SpeedMLKEM768KeyGenOnly)->Apply(bssl::bench::SetThreads); BENCHMARK(BM_SpeedMLKEM768DecapOnly)->Apply(bssl::bench::SetThreads);