math/big.Int.Sub (method)

51 uses

	math/big (current package)
		int.go#L163: func (z *Int) Sub(x, y *Int) *Int {
		int.go#L257: 		z.Mul(z, t.Sub(&N, &i))
		int.go#L310: 			z.Sub(z, intOne)
		int.go#L328: 			z.Sub(z, y0)
		int.go#L359: 			m.Sub(m, y0)
		int.go#L361: 			z.Sub(z, intOne)
		int.go#L748: 		Ub.Sub(Ua, s)
		int.go#L866: 		y.Sub(A, y)
		int.go#L1023: 	beta.Sub(beta, intOne)
		int.go#L1036: 	s.Sub(p, intOne)
		rat.go#L506: 	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#L671: 	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#L257: 		pminus1 := new(big.Int).Sub(prime, bigOne)
		rsa.go#L413: 			pminus1.Sub(prime, bigOne)
		rsa.go#L611: 	priv.Precomputed.Dp = new(big.Int).Sub(priv.Primes[0], bigOne)
		rsa.go#L614: 	priv.Precomputed.Dq = new(big.Int).Sub(priv.Primes[1], bigOne)
		rsa.go#L625: 		values.Exp = new(big.Int).Sub(prime, bigOne)

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

	github.com/gotd/td/internal/crypto
		check_dh.go#L47: 	sub := big.NewInt(0).Sub(p, big.NewInt(1))
		dh.go#L14: 	dhPrimeMinusOne := big.NewInt(0).Sub(dhPrime, one)
		dh.go#L33: 	safetyRangeMax := big.NewInt(0).Sub(dhPrime, safetyRangeMin)
		pq.go#L64: 		whatNext.Sub(what, value1)
		pq.go#L83: 						c.Sub(c, what)
		pq.go#L88: 					a.Sub(a, what)
		pq.go#L97: 				z.Sub(z, y)
		pq.go#L99: 				z.Sub(x, y)

	github.com/gotd/td/internal/crypto/srp
		hash.go#L54: 	if t.Sub(t, kv).Cmp(big.NewInt(0)) == -1 {

	github.com/gotd/td/internal/exchange
		generator.go#L52: 	dhPrimeMinusOne := big.NewInt(0).Sub(dhPrime, one)
		generator.go#L55: 	safetyRangeMax := big.NewInt(0).Sub(dhPrime, safetyRangeMin)

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