Skip to content

Commit 00154b2

Browse files
committed
Use C90 comments /* */ not C99 // style.
Signed-off-by: Rod Chapman <rodchap@amazon.com>
1 parent 5823bd7 commit 00154b2

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

mlkem/src/indcpa.c

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -329,17 +329,18 @@ __contract__(
329329
mlk_polyvec_basemul_acc_montgomery_cached(&out[3], &a[MLKEM_K * 3], v, vc);
330330
#endif
331331

332-
// unsigned i;
333-
// for (i = 0; i < MLKEM_K; i++)
334-
// __loop__(
335-
// assigns(i, object_whole(out))
336-
// invariant(i <= MLKEM_K)
337-
// invariant(forall(k, 0, i,
338-
// array_abs_bound(out[k].coeffs, 0, MLKEM_N, INT16_MAX/2))))
339-
// {
340-
// mlk_polyvec_basemul_acc_montgomery_cached(&out[i], &a[MLKEM_K * i], v,
341-
// vc);
342-
// }
332+
/* unsigned i;
333+
* for (i = 0; i < MLKEM_K; i++)
334+
* __loop__(
335+
* assigns(i, object_whole(out))
336+
* invariant(i <= MLKEM_K)
337+
* invariant(forall(k, 0, i,
338+
* array_abs_bound(out[k].coeffs, 0, MLKEM_N, INT16_MAX/2))))
339+
* {
340+
* mlk_polyvec_basemul_acc_montgomery_cached(&out[i], &a[MLKEM_K * i], v,
341+
* vc);
342+
* }
343+
*/
343344
}
344345

345346
/* Reference: `indcpa_keypair_derand()` in the reference implementation @[REF].

0 commit comments

Comments
 (0)