Home
last modified time | relevance | path

Searched refs:elem_mul (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/ring/src/rsa/
Dsigning.rs295 let q_mod_n = bigint::elem_mul( in from_der_reader()
303 let pq_mod_n = bigint::elem_mul(&q_mod_n, p_mod_n, &public_key.n); 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()
357 let qInv = bigint::elem_mul(p.modulus.oneRR().as_ref(), qInv, &p.modulus); in from_der_reader()
361 let qq = bigint::elem_mul(&q_mod_n, q_mod_n_decoded, &public_key.n).into_modulus::<QQ>()?; in from_der_reader()
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()
571 let h = bigint::elem_mul(&self.qInv, m_1_minus_m_2, p); in sign()
578 let q_times_h = bigint::elem_mul(&self.q_mod_n, h, n); in sign()
/external/rust/crates/ring/src/arithmetic/
Dbigint.rs457 pub fn elem_mul<M, AF, BF>( in elem_mul() function
729 let base = elem_mul(m.oneRR().as_ref(), base, &m); in elem_exp_vartime()
850 let acc = elem_mul(&tmp, acc, m); in elem_exp_consttime()
855 let tmp = elem_mul(m.oneRR().as_ref(), tmp, m); in elem_exp_consttime()
1105 if elem_mul(a, b, m).is_one() { in verify_inverses_consttime()
1447 let actual_result = elem_mul(&a, b, &m); in test_elem_mul()
1495 let actual_result = elem_mul(oneRR.as_ref(), actual_result, &m); in test_elem_reduced()
1592 elem_mul(m.oneRR().as_ref(), a, m) in into_encoded()
/external/rust/crates/ring/src/ec/
Dsuite_b.rs146 ops.elem_mul(&mut rhs, x); in verify_affine_point_is_on_the_curve_scaled()
/external/rust/crates/ring/src/ec/suite_b/
Dops.rs93 pub fn elem_mul(&self, a: &mut Elem<R>, b: &Elem<R>) { in elem_mul() method
359 ops.elem_mul(acc, b) in elem_sqr_mul_acc()
666 ops.elem_mul(&mut a, &b); in elem_mul_test()