Versions in this module Expand all Collapse all v1 v1.0.9 Sep 7, 2020 v1.0.8 Jun 5, 2020 v1.0.7 Apr 3, 2020 v1.0.7-hotfix1 May 1, 2020 v1.0.6 Feb 28, 2020 v1.0.5 Jan 16, 2020 v1.0.5-hotfix1 Jan 19, 2020 v1.0.4 Nov 27, 2019 v1.0.3 Oct 14, 2019 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