From 6043c395413ccf34969f5a8a21bffa60eca26006 Mon Sep 17 00:00:00 2001 From: Basil Hess Date: Thu, 19 Dec 2024 17:01:44 +0100 Subject: [PATCH] Avoid unused buflen in gen_matrix_entry Signed-off-by: Basil Hess --- mlkem/indcpa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlkem/indcpa.c b/mlkem/indcpa.c index ee2f140a0..10f2ec863 100644 --- a/mlkem/indcpa.c +++ b/mlkem/indcpa.c @@ -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);