math/big.Int.Sub (method)

47 uses

	math/big (current package)
		int.go#L137: func (z *Int) Sub(x, y *Int) *Int {
		int.go#L255: 			z.Sub(z, intOne)
		int.go#L273: 			z.Sub(z, y0)
		int.go#L305: 			m.Sub(m, y0)
		int.go#L307: 			z.Sub(z, intOne)
		int.go#L656: 		Ub.Sub(Ua, s)
		int.go#L774: 		y.Sub(A, y)
		int.go#L920: 	beta.Sub(beta, intOne)
		int.go#L933: 	s.Sub(p, intOne)
		rat.go#L508: 	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#L142: 	n := new(big.Int).Sub(params.N, one)
		ecdsa.go#L189: 	nMinus2 := new(big.Int).Sub(N, two)

	crypto/elliptic
		elliptic.go#L66: 	x3.Sub(x3, threeX)
		elliptic.go#L143: 	h := new(big.Int).Sub(u2, u1)
		elliptic.go#L158: 	r := new(big.Int).Sub(s2, s1)
		elliptic.go#L171: 	x3.Sub(x3, j)
		elliptic.go#L172: 	x3.Sub(x3, v)
		elliptic.go#L173: 	x3.Sub(x3, v)
		elliptic.go#L177: 	v.Sub(v, x3)
		elliptic.go#L181: 	y3.Sub(y3, s1)
		elliptic.go#L186: 	z3.Sub(z3, z1z1)
		elliptic.go#L187: 	z3.Sub(z3, z2z2)
		elliptic.go#L207: 	alpha := new(big.Int).Sub(x, delta)
		elliptic.go#L222: 	x3.Sub(x3, beta8)
		elliptic.go#L230: 	z3.Sub(z3, gamma)
		elliptic.go#L234: 	z3.Sub(z3, delta)
		elliptic.go#L241: 	beta.Sub(beta, x3)
		elliptic.go#L251: 	y3.Sub(y3, gamma)

	crypto/rand
		util.go#L111: 	n.Sub(max, n.SetUint64(1))

	crypto/rsa
		rsa.go#L230: 		pminus1 := new(big.Int).Sub(prime, bigOne)
		rsa.go#L323: 			pminus1.Sub(prime, bigOne)
		rsa.go#L463: 	priv.Precomputed.Dp = new(big.Int).Sub(priv.Primes[0], bigOne)
		rsa.go#L466: 	priv.Precomputed.Dq = new(big.Int).Sub(priv.Primes[1], bigOne)
		rsa.go#L477: 		values.Exp = new(big.Int).Sub(prime, bigOne)
		rsa.go#L537: 		m.Sub(m, m2)
		rsa.go#L549: 			m2.Sub(m2, m)

	encoding/asn1
		marshal.go#L208: 		nMinus1.Sub(nMinus1, bigOne)

	golang.org/x/crypto/ssh
		kex.go#L396: 		pMinus1: new(big.Int).Sub(p, bigOne),
		kex.go#L406: 		pMinus1: new(big.Int).Sub(p, bigOne),
		kex.go#L606: 	pMinusOne.Sub(gex.p, one)
		messages.go#L664: 		nMinus1.Sub(nMinus1, bigOne)
		messages.go#L706: 		nMinus1.Sub(nMinus1, bigOne)

	vendor/golang.org/x/crypto/cryptobyte
		asn1.go#L79: 			nMinus1.Sub(nMinus1, bigOne)