math/big.Int.Sub (method)
41 uses
math/big (current package)
int.go#L162: func (z *Int) Sub(x, y *Int) *Int {
int.go#L256: z.Mul(z, t.Sub(&N, &i))
int.go#L309: z.Sub(z, intOne)
int.go#L327: z.Sub(z, y0)
int.go#L358: m.Sub(m, y0)
int.go#L360: z.Sub(z, intOne)
int.go#L743: Ub.Sub(Ua, s)
int.go#L861: y.Sub(A, y)
int.go#L1018: beta.Sub(beta, intOne)
int.go#L1031: s.Sub(p, intOne)
rat.go#L504: z.a.Sub(&a1, &a2)
crypto/dsa
dsa.go#L122: rem.Sub(rem, one)
dsa.go#L123: p.Sub(p, rem)
dsa.go#L142: pm1 := new(big.Int).Sub(p, one)
dsa.go#L190: pMinus2 := new(big.Int).Sub(P, two)
crypto/ecdsa
ecdsa.go#L676: c.nMinus2 = new(big.Int).Sub(params.N, big.NewInt(2)).Bytes()
crypto/elliptic
params.go#L43: x3.Sub(x3, threeX)
params.go#L151: h := new(big.Int).Sub(u2, u1)
params.go#L166: r := new(big.Int).Sub(s2, s1)
params.go#L179: x3.Sub(x3, j)
params.go#L180: x3.Sub(x3, v)
params.go#L181: x3.Sub(x3, v)
params.go#L185: v.Sub(v, x3)
params.go#L189: y3.Sub(y3, s1)
params.go#L194: z3.Sub(z3, z1z1)
params.go#L195: z3.Sub(z3, z2z2)
params.go#L228: alpha := new(big.Int).Sub(x, delta)
params.go#L243: x3.Sub(x3, beta8)
params.go#L251: z3.Sub(z3, gamma)
params.go#L255: z3.Sub(z3, delta)
params.go#L262: beta.Sub(beta, x3)
params.go#L272: y3.Sub(y3, gamma)
crypto/rand
util.go#L67: n.Sub(max, n.SetUint64(1))
crypto/rsa
rsa.go#L260: pminus1 := new(big.Int).Sub(prime, bigOne)
rsa.go#L416: pminus1.Sub(prime, bigOne)
rsa.go#L610: priv.Precomputed.Dp = new(big.Int).Sub(priv.Primes[0], bigOne)
rsa.go#L613: priv.Precomputed.Dq = new(big.Int).Sub(priv.Primes[1], bigOne)
rsa.go#L624: values.Exp = new(big.Int).Sub(prime, bigOne)
crypto/x509
oid.go#L315: bigVal = bigVal.Sub(bigVal, big.NewInt(80))
encoding/asn1
marshal.go#L206: nMinus1.Sub(nMinus1, bigOne)
vendor/golang.org/x/crypto/cryptobyte
asn1.go#L79: nMinus1.Sub(nMinus1, bigOne)
 |
The pages are generated with Golds v0.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |