Skip to content

Commit

Permalink
fixes to benches
Browse files Browse the repository at this point in the history
  • Loading branch information
karthikbhargavan committed Oct 17, 2024
1 parent 08ce4ac commit c4e0ab6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/benches/kyber768.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub fn comparisons_pk_validation(c: &mut Criterion) {
b.iter_batched(
|| libcrux_kem::deterministic::mlkem768_generate_keypair_derand(seed),
|key_pair| {
let _valid = libcrux_kem::ml_kem768_validate_public_key(key_pair.into_parts().1);
let _valid = libcrux_kem::ml_kem768_validate_public_key(&key_pair.into_parts().1);
},
BatchSize::SmallInput,
)
Expand Down
4 changes: 4 additions & 0 deletions libcrux-ml-dsa/src/simd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ pub(crate) mod avx2;

pub(crate) mod portable;
pub(crate) mod traits;

#[cfg(test)]
pub(crate) mod tests;

0 comments on commit c4e0ab6

Please sign in to comment.