crypto/internal/edwards25519/field.Element.Negate (method)

8 uses

	crypto/internal/edwards25519/field (current package)
		fe.go#L113: func (v *Element) Negate(a *Element) *Element {
		fe.go#L298: 	return v.Select(new(Element).Negate(u), u, u.IsNegative())
		fe.go#L409: 	uNeg := new(Element).Negate(u)

	crypto/internal/edwards25519
		edwards25519.go#L177: 	xxNeg := new(field.Element).Negate(xx)
		edwards25519.go#L375: 	v.x.Negate(&p.x)
		edwards25519.go#L378: 	v.t.Negate(&p.t)
		edwards25519.go#L417: 	v.T2d.Select(new(field.Element).Negate(&v.T2d), &v.T2d, cond)
		edwards25519.go#L424: 	v.T2d.Select(new(field.Element).Negate(&v.T2d), &v.T2d, cond)