Skip to content

Commit

Permalink
Avoid unused buflen in gen_matrix_entry
Browse files Browse the repository at this point in the history
Signed-off-by: Basil Hess <[email protected]>
  • Loading branch information
bhess committed Dec 19, 2024
1 parent c1365f4 commit 6043c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlkem/indcpa.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ __contract__(
0, (MLKEM_Q - 1))))
{
xof_squeezeblocks(buf, 1, &state);
ctr = rej_uniform(entry->coeffs, MLKEM_N, ctr, buf, XOF_RATE);
ctr = rej_uniform(entry->coeffs, MLKEM_N, ctr, buf, buflen);
}

xof_release(&state);
Expand Down

0 comments on commit 6043c39

Please sign in to comment.