func crypto/internal/bigmod.NewModulusFromBig

10 uses

	crypto/internal/bigmod (current package)
		nat.go#L354: func NewModulusFromBig(n *big.Int) (*Modulus, error) {

	crypto/ecdsa
		ecdsa.go#L667: 	c.N, err = bigmod.NewModulusFromBig(params.N)

	crypto/rsa
		rsa.go#L316: 		mn, err := bigmod.NewModulusFromBig(N)
		rsa.go#L320: 		mp, err := bigmod.NewModulusFromBig(P)
		rsa.go#L324: 		mq, err := bigmod.NewModulusFromBig(Q)
		rsa.go#L485: 	N, err := bigmod.NewModulusFromBig(pub.N)
		rsa.go#L588: 		priv.Precomputed.n, err = bigmod.NewModulusFromBig(priv.N)
		rsa.go#L592: 		priv.Precomputed.p, err = bigmod.NewModulusFromBig(priv.Primes[0])
		rsa.go#L598: 		priv.Precomputed.q, err = bigmod.NewModulusFromBig(priv.Primes[1])
		rsa.go#L653: 		N, err = bigmod.NewModulusFromBig(priv.N)