Skip to content

Commit

Permalink
Update bindings/rust/bench/benches/constant_time_equals.rs
Browse files Browse the repository at this point in the history
Co-authored-by: maddeleine <[email protected]>
  • Loading branch information
jmayclin and maddeleine authored Aug 22, 2024
1 parent 7208515 commit e430d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/rust/bench/benches/constant_time_equals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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| {
Expand Down

0 comments on commit e430d44

Please sign in to comment.