go/src/crypto/internal/edwards25519/scalar_test.go

// quickCheckConfig returns a quick.Config that scales the max count by the
// given factor if the -short flag is not set.
func quickCheckConfig(slowScale int) *quick.Config {}

var scOneBytes

var (
	scOne
	_
)

var (
	scMinusOne
	_
)

// Generate returns a valid (reduced modulo l) Scalar with a distribution
// weighted towards high, low, and edge values.
func (Scalar) Generate(rand *mathrand.Rand, size int) reflect.Value {}

func TestScalarGenerate(t *testing.T) {}

func TestScalarSetCanonicalBytes(t *testing.T) {}

func TestScalarSetUniformBytes(t *testing.T) {}

func TestScalarSetBytesWithClamping(t *testing.T) {}

func bigIntFromLittleEndianBytes(b []byte) *big.Int {}

func TestScalarMultiplyDistributesOverAdd(t *testing.T) {}

func TestScalarAddLikeSubNeg(t *testing.T) {}

func TestScalarNonAdjacentForm(t *testing.T) {}

type notZeroScalar

func (notZeroScalar) Generate(rand *mathrand.Rand, size int) reflect.Value {}

func TestScalarEqual(t *testing.T) {}