type crypto/internal/fips140/bigmod.Modulus

40 uses

	crypto/internal/fips140/bigmod (current package)
		nat.go#L148: func (x *Nat) Bytes(m *Modulus) []byte {
		nat.go#L173: func (x *Nat) SetBytes(b []byte, m *Modulus) (*Nat, error) {
		nat.go#L189: func (x *Nat) SetOverflowingBytes(b []byte, m *Modulus) (*Nat, error) {
		nat.go#L297: func (x *Nat) IsMinusOne(m *Modulus) choice {
		nat.go#L466: type Modulus struct {
		nat.go#L480: func rr(m *Modulus) *Nat {
		nat.go#L550: func NewModulus(b []byte) (*Modulus, error) {
		nat.go#L559: func NewModulusProduct(a, b []byte) (*Modulus, error) {
		nat.go#L569: func newModulus(n *Nat) (*Modulus, error) {
		nat.go#L570: 	m := &Modulus{nat: n}
		nat.go#L583: func (m *Modulus) Size() int {
		nat.go#L588: func (m *Modulus) BitLen() int {
		nat.go#L593: func (m *Modulus) Nat() *Nat {
		nat.go#L606: func (x *Nat) shiftIn(y uint, m *Modulus) *Nat {
		nat.go#L647: func (out *Nat) Mod(x *Nat, m *Modulus) *Nat {
		nat.go#L676: func (x *Nat) ExpandFor(m *Modulus) *Nat {
		nat.go#L683: func (out *Nat) resetFor(m *Modulus) *Nat {
		nat.go#L698: func (x *Nat) maybeSubtractModulus(always choice, m *Modulus) {
		nat.go#L713: func (x *Nat) Sub(y *Nat, m *Modulus) *Nat {
		nat.go#L725: func (x *Nat) SubOne(m *Modulus) *Nat {
		nat.go#L739: func (x *Nat) Add(y *Nat, m *Modulus) *Nat {
		nat.go#L752: func (x *Nat) montgomeryRepresentation(m *Modulus) *Nat {
		nat.go#L762: func (x *Nat) montgomeryReduction(m *Modulus) *Nat {
		nat.go#L778: func (x *Nat) montgomeryMul(a *Nat, b *Nat, m *Modulus) *Nat {
		nat.go#L923: func (x *Nat) Mul(y *Nat, m *Modulus) *Nat {
		nat.go#L986: func (out *Nat) Exp(x *Nat, e []byte, m *Modulus) *Nat {
		nat.go#L1041: func (out *Nat) ExpShortVarTime(x *Nat, e uint, m *Modulus) *Nat {
		nat.go#L1067: func (x *Nat) InverseVarTime(a *Nat, m *Modulus) (*Nat, bool) {
		nat.go#L1157: 				A.Add(C, &Modulus{nat: m})
		nat.go#L1158: 				B.Add(D, &Modulus{nat: a})
		nat.go#L1161: 				C.Add(A, &Modulus{nat: m})
		nat.go#L1162: 				D.Add(B, &Modulus{nat: a})

	crypto/internal/fips140/ecdsa
		ecdsa.go#L57: 	N          *bigmod.Modulus

	crypto/internal/fips140/rsa
		keygen.go#L116: func totient(p, q *bigmod.Modulus) (*bigmod.Modulus, error) {
		keygen.go#L306: 	w *bigmod.Modulus
		rsa.go#L15: 	N *bigmod.Modulus
		rsa.go#L33: 	p, q *bigmod.Modulus // p × q = n
		rsa.go#L72: func newPrivateKey(n *bigmod.Modulus, e int, d *bigmod.Nat, p, q *bigmod.Modulus) (*PrivateKey, error) {