crypto/internal/bigmod.Nat.Mod (method)
5 uses
crypto/internal/bigmod (current package)
nat.go#L461: func (out *Nat) Mod(x *Nat, m *Modulus) *Nat {
crypto/rsa
rsa.go#L674: m = bigmod.NewNat().Exp(t0.Mod(c, P), priv.Precomputed.Dp.Bytes(), P)
rsa.go#L676: m2 := bigmod.NewNat().Exp(t0.Mod(c, Q), priv.Precomputed.Dq.Bytes(), Q)
rsa.go#L678: m.Sub(t0.Mod(m2, P), P)
rsa.go#L682: m.ExpandFor(N).Mul(t0.Mod(Q.Nat(), N), N)
 |
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. |