Skip to content

Commit c99b1fd

Browse files
committed
Remove final STATIC_ASSERT() macro use
Signed-off-by: Rod Chapman <[email protected]>
1 parent fd306b3 commit c99b1fd

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

examples/monolithic_build/mlkem_native_monobuild.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,11 +1442,6 @@
14421442
#undef empty_cu_avx2_rej_uniform_table
14431443
#endif
14441444

1445-
/* mlkem/ntt.c */
1446-
#if defined(INVNTT_BOUND_REF)
1447-
#undef INVNTT_BOUND_REF
1448-
#endif
1449-
14501445
/* mlkem/ntt.c */
14511446
#if defined(MONT_F)
14521447
#undef MONT_F

mlkem/ntt.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -439,10 +439,6 @@ void poly_ntt(poly *p)
439439
* opportunity for auto-vectorization.
440440
*/
441441

442-
/* Check that bound for reference invNTT implies contractual bound */
443-
#define INVNTT_BOUND_REF NTT_BOUND8
444-
STATIC_ASSERT(INVNTT_BOUND_REF <= INVNTT_BOUND, invntt_bound)
445-
446442
/* MONT_F = mont^2/128 = 1441. */
447443
/* Used to invert and reduce coefficients in the Inverse NTT. */
448444
#define MONT_F 1441

0 commit comments

Comments
 (0)