- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for sampleNTT (0.06 sec)
-
lib/fips140/v1.0.0.zip
t) } } } for i := range f { f[i] = fieldMul(f[i], 3303) // 3303 = 128⁻¹ mod q } return ringElement(f) } // sampleNTT draws a uniformly random nttElement from a stream of uniformly // random bytes generated by the XOF function, according to FIPS 203, // Algorithm 7. func sampleNTT(rho []byte, ii, jj byte) nttElement { B := sha3.NewShake128() B.Write(rho) B.Write([]byte{ii, jj}) // SampleNTT essentially draws 12 bits at a time from r, interprets them in // little-endian, and rejects values higher than...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)