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)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |