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 8eb19a9 commit 7208515
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 @@ -59,7 +59,7 @@ fn comparison(criterion: &mut Criterion) {
// use a separate copy to avoid the timing difference caused by loads
a_copy.copy_from_slice(&a);

// compare memcmp vs s2n_constant_time_equals, small data && data equal
// compare memcmp vs s2n_constant_time_equals, small data && data not equal
let mut group = criterion.benchmark_group("low-level-comparison - small data, not equal");
group.bench_function("memcmp", |bencher| bencher.iter(|| memcmp(&a, &b)));

Expand Down

0 comments on commit 7208515

Please sign in to comment.