Skip to content

Commit

Permalink
cloop
Browse files Browse the repository at this point in the history
  • Loading branch information
karthikbhargavan committed Feb 2, 2025
1 parent 1ff0270 commit 9034028
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libcrux-ml-dsa/src/simd/portable/encoding/commitment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ pub fn serialize_6(simd_unit: &Coefficients, serialized: &mut [u8]) {
// The commitment has coefficients in [0,43] => each coefficient occupies
// 6 bits.

cloop!(
cloop! {
for (i, coefficients) in simd_unit.values.chunks_exact(4).enumerate() {
hax_lib::loop_invariant!(|i: usize| {
fstar!(
Expand Down Expand Up @@ -145,7 +145,7 @@ pub fn serialize_6(simd_unit: &Coefficients, serialized: &mut [u8]) {
"
);
}
);
}
()
}

Expand Down

0 comments on commit 9034028

Please sign in to comment.