crypto/internal/bigmod.Nat.Mod (method)
5 uses
crypto/internal/bigmod (current package)
nat.go#L439: func (out *Nat) Mod(x *Nat, m *Modulus) *Nat {
crypto/rsa
rsa.go#L675: m = bigmod.NewNat().Exp(t0.Mod(c, P), priv.Precomputed.Dp.Bytes(), P)
rsa.go#L677: m2 := bigmod.NewNat().Exp(t0.Mod(c, Q), priv.Precomputed.Dq.Bytes(), Q)
rsa.go#L679: m.Sub(t0.Mod(m2, P), P)
rsa.go#L683: m.ExpandFor(N).Mul(t0.Mod(Q.Nat(), N), N)
|
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |