crypto/internal/edwards25519.Scalar.SetCanonicalBytes (method)

2 uses

	crypto/internal/edwards25519 (current package)
		scalar.go#L158: func (s *Scalar) SetCanonicalBytes(x []byte) (*Scalar, error) {

	crypto/ed25519
		ed25519.go#L334: 	S, err := edwards25519.NewScalar().SetCanonicalBytes(sig[32:])