Skip to content

Commit b5bde83

Browse files
committed
Correct bound pre-condition on basemul_cached()
Signed-off-by: Rod Chapman <[email protected]>
1 parent 89cd920 commit b5bde83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlkem/poly.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ __contract__(
488488
requires(memory_no_alias(r, 2 * sizeof(int16_t)))
489489
requires(memory_no_alias(a, 2 * sizeof(int16_t)))
490490
requires(memory_no_alias(b, 2 * sizeof(int16_t)))
491-
requires(array_abs_bound(a, 0, 2, UINT12_LIMIT))
491+
requires(array_bound(a, 0, 2, 0, UINT12_LIMIT))
492492
assigns(memory_slice(r, 2 * sizeof(int16_t)))
493493
ensures(array_abs_bound(r, 0, 2, 2 * MLKEM_Q))
494494
)

0 commit comments

Comments
 (0)