circl
circl copied to clipboard
pke/kyber: Patch generation of random number in a unit test
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
Again a typo. 9q - 18q obviously.