Versions in this module Expand all Collapse all v1 v1.0.0 May 30, 2021 Changes in this version + const Eta2 + const N + const PlaintextSize + const PolySize + const Q + var DeriveX4Available = keccakf1600.IsEnabledX4() + var InvNTTReductions = [...]int + var Zetas = [128]int16 + var ZetasAVX2 = [...]int16 — darwin/amd64, linux/amd64, windows/amd64 + func PolyDeriveUniformX4(ps [4]*Poly, seed *[32]byte, xs, ys [4]uint8) + type Poly [N]int16 + func (p *Poly) Add(a, b *Poly) + func (p *Poly) BarrettReduce() + func (p *Poly) CompressMessageTo(m []byte) + func (p *Poly) CompressTo(m []byte, d int) + func (p *Poly) Decompress(m []byte, d int) + func (p *Poly) DecompressMessage(m []byte) + func (p *Poly) DeriveNoise(seed []byte, nonce uint8, eta int) + func (p *Poly) DeriveNoise2(seed []byte, nonce uint8) + func (p *Poly) DeriveNoise3(seed []byte, nonce uint8) + func (p *Poly) DeriveUniform(seed *[32]byte, x, y uint8) + func (p *Poly) Detangle() + func (p *Poly) InvNTT() + func (p *Poly) MulHat(a, b *Poly) + func (p *Poly) NTT() + func (p *Poly) Normalize() + func (p *Poly) Pack(buf []byte) + func (p *Poly) Sub(a, b *Poly) + func (p *Poly) Tangle() + func (p *Poly) ToMont() + func (p *Poly) Unpack(buf []byte)