Skip to content

Commit

Permalink
plus one (meaningless)
Browse files Browse the repository at this point in the history
  • Loading branch information
GiacomoPope committed Jul 19, 2024
1 parent dd77024 commit 4c246b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ml_kem.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def generate_polynomial(self, sigma, eta, N):
""" """
prf_output = self.prf(eta, sigma, bytes([N]))
p = self.R.cbd(prf_output, eta)
return p, N
return p, N + 1

def pke_keygen(self):
"""
Expand Down

0 comments on commit 4c246b5

Please sign in to comment.