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

7 uses

	crypto/internal/edwards25519/field (current package)
		fe.go#L272: func (v *Element) Swap(u *Element, cond int) {

	crypto/internal/edwards25519
		edwards25519.go#L416: 	v.YplusX.Swap(&v.YminusX, cond)
		edwards25519.go#L423: 	v.YplusX.Swap(&v.YminusX, cond)

	crypto/ecdh
		x25519.go#L105: 		x2.Swap(&x3, swap)
		x25519.go#L106: 		z2.Swap(&z3, swap)
		x25519.go#L130: 	x2.Swap(&x3, swap)
		x25519.go#L131: 	z2.Swap(&z3, swap)