Versions in this module Expand all Collapse all v0 v0.1.2 Jul 10, 2023 v0.1.1 Jul 10, 2023 v0.1.0 Jul 16, 2018 Changes in this version + const N + const N2 + const NOSIGN + const PrivateKeySize + const PublicKeySize + const SignatureSize + var ErrDecodeError = errors.New("ECVRF: decode error") + var ErrInternalError = errors.New("ECVRF: internal error") + var ErrMalformedInput = errors.New("ECVRF: malformed input") + func ECP2OS(P *edwards25519.ExtendedGroupElement) []byte + func ECP2OSProj(P *edwards25519.ProjectiveGroupElement) []byte + func ECVRF_decode_proof(pi []byte) (r *edwards25519.ExtendedGroupElement, c *[N2]byte, s *[N2]byte, err error) + func ECVRF_hash_points(ps ...[]byte) *big.Int + func ECVRF_hash_to_curve(m []byte, pk []byte) *edwards25519.ExtendedGroupElement + func ECVRF_proof2hash(pi []byte) []byte + func ECVRF_prove(pk []byte, sk []byte, m []byte) (pi []byte, err error) + func ECVRF_verify(pk []byte, pi []byte, m []byte) (bool, error) + func ExtendedGroupElementCMove(t, u *edwards25519.ExtendedGroupElement, b int32) + func F2IP(f *[32]byte) *big.Int + func G() *edwards25519.ExtendedGroupElement + func GeAdd(p, qe *edwards25519.ExtendedGroupElement) *edwards25519.ExtendedGroupElement + func GeDouble(p *edwards25519.ExtendedGroupElement) *edwards25519.ExtendedGroupElement + func GeScalarMult(h *edwards25519.ExtendedGroupElement, a *[32]byte) *edwards25519.ExtendedGroupElement + func I2OSP(b *big.Int, n int) []byte + func IP2F(b *big.Int) *[32]byte + func OS2ECP(os []byte, sign byte) *edwards25519.ExtendedGroupElement + func OS2IP(os []byte) *big.Int + func S2OS(s []byte) []byte + func ToCached(r *CachedGroupElement, p *edwards25519.ExtendedGroupElement) + type CachedGroupElement struct + T2d edwards25519.FieldElement + Z edwards25519.FieldElement