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

3 uses

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

	crypto/ed25519
		ed25519.go#L172: 	s, err := edwards25519.NewScalar().SetBytesWithClamping(h[:32])
		ed25519.go#L214: 	s, err := edwards25519.NewScalar().SetBytesWithClamping(h[:32])