circl icon indicating copy to clipboard operation
circl copied to clipboard

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

Open armfazh opened this issue 3 years ago • 1 comments

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

Originally posted by @bwesterb in https://github.com/cloudflare/circl/pull/237#discussion_r664924377

armfazh avatar Jul 06 '21 22:07 armfazh

Again a typo. 9q - 18q obviously.

bwesterb avatar Jul 06 '21 23:07 bwesterb