Skip to content

Commit

Permalink
AVX2: Adjust documentation of bounds for native [inv]NTT
Browse files Browse the repository at this point in the history
Signed-off-by: Hanno Becker <[email protected]>
  • Loading branch information
hanno-becker committed Dec 2, 2024
1 parent bea2708 commit ce51f78
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mlkem/native/x86_64/profiles/default.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,8 @@
#define MLKEM_USE_NATIVE_POLY_TOBYTES
#define MLKEM_USE_NATIVE_POLY_FROMBYTES

/* Bound from the official Kyber repository */
#define INVNTT_BOUND_NATIVE (14870 + 1)
/* Bound from the official Kyber repository */
#define NTT_BOUND_NATIVE (16118 + 1)
#define INVNTT_BOUND_NATIVE (8 * MLKEM_Q)
#define NTT_BOUND_NATIVE (8 * MLKEM_Q)

static INLINE void poly_permute_bitrev_to_custom(poly *data)
{
Expand Down

0 comments on commit ce51f78

Please sign in to comment.