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

13 uses

	crypto/internal/edwards25519/field (current package)
		fe.go#L261: func (v *Element) Select(a, b *Element, cond int) *Element {
		fe.go#L298: 	return v.Select(new(Element).Negate(u), u, u.IsNegative())
		fe.go#L416: 	rr.Select(rPrime, rr, flippedSignSqrt|flippedSignSqrtI)

	crypto/internal/edwards25519
		edwards25519.go#L178: 	xx = xx.Select(xxNeg, xx, int(x[31]>>7))
		edwards25519.go#L399: 	v.YplusX.Select(&a.YplusX, &b.YplusX, cond)
		edwards25519.go#L400: 	v.YminusX.Select(&a.YminusX, &b.YminusX, cond)
		edwards25519.go#L401: 	v.Z.Select(&a.Z, &b.Z, cond)
		edwards25519.go#L402: 	v.T2d.Select(&a.T2d, &b.T2d, cond)
		edwards25519.go#L408: 	v.YplusX.Select(&a.YplusX, &b.YplusX, cond)
		edwards25519.go#L409: 	v.YminusX.Select(&a.YminusX, &b.YminusX, cond)
		edwards25519.go#L410: 	v.T2d.Select(&a.T2d, &b.T2d, cond)
		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)