Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pke/kyber: Patch generation of random number in a unit test #240

Open
armfazh opened this issue Jul 6, 2021 · 1 comment
Open

pke/kyber: Patch generation of random number in a unit test #240

armfazh opened this issue Jul 6, 2021 · 1 comment
Assignees
Labels
bug Something isn't working tests Include new tests on the code

Comments

@armfazh
Copy link
Contributor

armfazh commented Jul 6, 2021

The intended code was int16(mathRand.Intn(18*int(Q)) - mathRand.Intn(9*int(Q))).

Originally posted by @bwesterb in #237 (comment)

@armfazh armfazh self-assigned this Jul 6, 2021
@armfazh armfazh added bug Something isn't working tests Include new tests on the code labels Jul 6, 2021
@bwesterb
Copy link
Member

bwesterb commented Jul 6, 2021

Again a typo. 9q - 18q obviously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tests Include new tests on the code
Projects
None yet
Development

No branches or pull requests

2 participants