From e430d447bcda5626d1f52f3249d6c1a15e641e59 Mon Sep 17 00:00:00 2001 From: James Mayclin Date: Thu, 22 Aug 2024 11:31:29 -0700 Subject: [PATCH] Update bindings/rust/bench/benches/constant_time_equals.rs Co-authored-by: maddeleine <59030281+maddeleine@users.noreply.github.com> --- bindings/rust/bench/benches/constant_time_equals.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/rust/bench/benches/constant_time_equals.rs b/bindings/rust/bench/benches/constant_time_equals.rs index d475cf4b576..62656caf675 100644 --- a/bindings/rust/bench/benches/constant_time_equals.rs +++ b/bindings/rust/bench/benches/constant_time_equals.rs @@ -68,7 +68,7 @@ fn comparison(criterion: &mut Criterion) { }); group.finish(); - // compare memcmp vs s2n_constant_time_equals, small data && data is not equal + // compare memcmp vs s2n_constant_time_equals, small data && data is equal let mut group = criterion.benchmark_group("low-level-comparison - small data, equal"); group.bench_function("memcmp", |bencher| bencher.iter(|| memcmp(&a, &a_copy))); group.bench_function("s2n_constant_time_equals_c", |bencher| {