Lines Matching refs:modulus
338 let q_mod_p = q.modulus.to_elem(&p.modulus); in from_der_reader()
342 bigint::Elem::from_be_bytes_padded(qInv, &p.modulus) in from_der_reader()
347 let q_mod_p = bigint::elem_mul(p.modulus.oneRR().as_ref(), q_mod_p.clone(), &p.modulus); in from_der_reader()
348 bigint::elem_inverse_consttime(q_mod_p, &p.modulus) in from_der_reader()
357 let qInv = bigint::elem_mul(p.modulus.oneRR().as_ref(), qInv, &p.modulus); in from_der_reader()
358 bigint::verify_inverses_consttime(&qInv, q_mod_p, &p.modulus) in from_der_reader()
381 .modulus() in public_modulus_len()
418 pub fn modulus(&self) -> io::Positive { in modulus() method
435 modulus: bigint::Modulus<M>, field
462 modulus: p, in new()
476 let c_mod_m = bigint::elem_reduced(c, &p.modulus); in elem_exp_consttime()
479 let c_mod_m = bigint::elem_mul(p.modulus.oneRR().as_ref(), c_mod_m, &p.modulus); in elem_exp_consttime()
480 let c_mod_m = bigint::elem_mul(p.modulus.oneRR().as_ref(), c_mod_m, &p.modulus); in elem_exp_consttime()
481 bigint::elem_exp_consttime(c_mod_m, &p.exponent, &p.modulus) in elem_exp_consttime()
568 let p = &self.p.modulus; in sign()