Versions in this module Expand all Collapse all v8 v8.0.9 Jun 22, 2022 v8.0.0 Jun 22, 2022 Changes in this version + var F *big.Int + func AddVectors(vs ...[]*big.Int) []*big.Int + func Coefficients(S []*big.Int) []*big.Int + func InField(x *big.Int) bool + func IsRoot(m *big.Int, a []*big.Int) bool + func SRMix(m *big.Int, pads []*big.Int) []*big.Int + func SRMixPads(kp [][]byte, my int) []*big.Int + func SharedKeys(kx *KX, ecdhPubs []*x25519.Public, cts []*PQCiphertext, sid []byte, ...) (sr [][][]byte, dc [][]*Vec, err error) + type KX struct + PQCleartexts []*[sntrup4591761.SharedKeySize]byte + PQPublic *[sntrup4591761.PublicKeySize]byte + PQSecret *[sntrup4591761.PrivateKeySize]byte + X25519 *x25519.KX + func NewKX(prng io.Reader) (*KX, error) + func (kx *KX) Encapsulate(prng io.Reader, pubkeys []*PQPublicKey, my int) ([]*PQCiphertext, error) + type PQCiphertext = [sntrup4591761.CiphertextSize]byte + type PQPublicKey = [sntrup4591761.PublicKeySize]byte + type PQSecretKey = [sntrup4591761.PrivateKeySize]byte + type Vec struct + Data []byte + Msize int + N int + func DCMix(pads *Vec, m []byte, slot int) *Vec + func DCMixPads(kp []*Vec, msize, my int) *Vec + func NewVec(n, msize int) *Vec + func XorVectors(vs []*Vec) *Vec + func (v *Vec) Equals(other *Vec) bool + func (v *Vec) IsDim(n, msize int) bool + func (v *Vec) M(i int) []byte + func (v *Vec) String() string + func (v *Vec) Xor(src1, src2 *Vec)