Versions in this module Expand all Collapse all v1 v1.7.1 Mar 11, 2022 Changes in this version + var ErrIncorrectCount = fmt.Errorf("incorrect number of inputs") + var ErrInvalidJson = fmt.Errorf("json format does not contain the necessary data") + var ErrInvalidRound = fmt.Errorf("invalid round method called") + var ErrNCannotBeZero = fmt.Errorf("N cannot be 0") + var ErrNilArguments = fmt.Errorf("arguments cannot be nil") + var ErrNotOnCurve = fmt.Errorf("point not on the curve") + var ErrPointsDistinctCurves = fmt.Errorf("points must be from the same curve") + var ErrResidueOne = fmt.Errorf("value must be 1 (mod N)") + var ErrZeroValue = fmt.Errorf("arguments cannot be 0") + var ErrZmMembership = fmt.Errorf("x ∉ Z_m") + func AssertBigIntEq(t *testing.T, a, b *big.Int) + func AssertBigIntNe(t *testing.T, a, b *big.Int) + func AssertError(t *testing.T, err error, msg string) + func AssertNil(t *testing.T, values ...*big.Int) + func AssertNoError(t *testing.T, err error) + func AssertNotNil(t *testing.T, values ...*big.Int) + func AssertSomeError(t *testing.T, err error) + func B10(s string) *big.Int + func BigInt2Ed25519Point(y *big.Int) (*edwards25519.Point, error) + func BigInt2Ed25519Scalar(x *big.Int) (*edwards25519.Scalar, error) + func ByteSub(b []byte) + func CalcFieldSize(curve elliptic.Curve) int + func Hash(info []byte, values ...[]byte) ([]byte, error) + func ReverseScalarBytes(inBytes []byte) []byte