crypto/internal/fips140/bigmod.Nat.SubOne (method)
11 uses
crypto/internal/fips140/bigmod (current package)
nat.go#L300: minusOne.SubOne(m)
nat.go#L726: func (x *Nat) SubOne(m *Modulus) *Nat {
crypto/internal/fips140/rsa
keygen.go#L138: a, b := p.Nat().SubOne(p), q.Nat().SubOne(q)
keygen.go#L362: wMinus1 := mr.w.Nat().SubOne(mr.w)
rsa.go#L73: pMinusOne := p.Nat().SubOne(p)
rsa.go#L80: qMinusOne := q.Nat().SubOne(q)
rsa.go#L93: pMinusTwo := p.Nat().SubOne(p).SubOne(p).Bytes(p)
rsa.go#L237: pMinus1, err := bigmod.NewModulus(p.Nat().SubOne(p).Bytes(p))
rsa.go#L252: qMinus1, err := bigmod.NewModulus(q.Nat().SubOne(q).Bytes(q))
![]() |
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. |