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

24 uses

	crypto/internal/edwards25519/field (current package)
		fe.go#L101: func (v *Element) Subtract(a, b *Element) *Element {
		fe.go#L114: 	return v.Subtract(feZero, a)

	crypto/internal/edwards25519
		edwards25519.go#L164: 	u := new(field.Element).Subtract(y2, feOne)
		edwards25519.go#L235: 	v.YminusX.Subtract(&p.y, &p.x)
		edwards25519.go#L243: 	v.YminusX.Subtract(&p.y, &p.x)
		edwards25519.go#L276: 	YminusX.Subtract(&p.y, &p.x)
		edwards25519.go#L285: 	v.X.Subtract(&PP, &MM)
		edwards25519.go#L288: 	v.T.Subtract(&ZZ2, &TT2d)
		edwards25519.go#L296: 	YminusX.Subtract(&p.y, &p.x)
		edwards25519.go#L305: 	v.X.Subtract(&PP, &MM)
		edwards25519.go#L307: 	v.Z.Subtract(&ZZ2, &TT2d) // flipped sign
		edwards25519.go#L316: 	YminusX.Subtract(&p.y, &p.x)
		edwards25519.go#L324: 	v.X.Subtract(&PP, &MM)
		edwards25519.go#L327: 	v.T.Subtract(&Z2, &TT2d)
		edwards25519.go#L335: 	YminusX.Subtract(&p.y, &p.x)
		edwards25519.go#L343: 	v.X.Subtract(&PP, &MM)
		edwards25519.go#L345: 	v.Z.Subtract(&Z2, &TT2d) // flipped sign
		edwards25519.go#L363: 	v.Z.Subtract(&YY, &XX)
		edwards25519.go#L365: 	v.X.Subtract(&XplusYsq, &v.Y)
		edwards25519.go#L366: 	v.T.Subtract(&ZZ2, &v.Z)

	crypto/ecdh
		x25519.go#L109: 		tmp0.Subtract(&x3, &z3)
		x25519.go#L110: 		tmp1.Subtract(&x2, &z2)
		x25519.go#L118: 		z2.Subtract(&z3, &z2)
		x25519.go#L120: 		tmp1.Subtract(&tmp1, &tmp0)