crypto/internal/fips140/bigmod.Nat.Sub (method)
6 uses
crypto/internal/fips140/bigmod (current package)
nat.go#L714: func (x *Nat) Sub(y *Nat, m *Modulus) *Nat {
nat.go#L731: return x.Sub(one, m)
crypto/internal/fips140/ecdsa
ecdsa.go#L80: c.nMinus2 = bigmod.NewNat().ExpandFor(c.N).Sub(two, c.N).Bytes(c.N)
crypto/internal/fips140/rsa
rsa.go#L301: diff.ExpandFor(q).Sub(pQ, q)
rsa.go#L305: diff.ExpandFor(p).Sub(qP, p)
rsa.go#L432: m.Sub(t0.Mod(m2, P), P)
![]() |
The pages are generated with Golds v0.8.4. (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. |