Searched refs:sqr_mul_acc (Results 1 – 2 of 2) sorted by relevance
/external/rust/crates/ring/src/ec/suite_b/ops/ |
D | p384.rs | 91 fn sqr_mul_acc(a: &mut Elem<R>, squarings: usize, b: &Elem<R>) { in p384_elem_inv_squared() function 115 sqr_mul_acc(&mut acc, 15, &fff_111); in p384_elem_inv_squared() 118 sqr_mul_acc(&mut acc, 1 + 30, &fffffff_11); in p384_elem_inv_squared() 119 sqr_mul_acc(&mut acc, 2, &b_11); in p384_elem_inv_squared() 123 sqr_mul_acc(&mut acc, 64 + 30, &fffffff_11); in p384_elem_inv_squared() 227 fn sqr_mul_acc(acc: &mut Scalar<R>, squarings: usize, b: &Scalar<R>) { in p384_scalar_inv_to_mont() function 322 sqr_mul_acc(&mut acc, usize::from(squarings), &d[usize::from(digit)]); in p384_scalar_inv_to_mont()
|
D | p256.rs | 94 fn sqr_mul_acc(a: &mut Elem<R>, squarings: usize, b: &Elem<R>) { in p256_elem_inv_squared() function 111 sqr_mul_acc(&mut acc, 96 + 32, &ffffffff); in p256_elem_inv_squared() 114 sqr_mul_acc(&mut acc, 32, &ffffffff); in p256_elem_inv_squared() 117 sqr_mul_acc(&mut acc, 30, &fffffff_11); in p256_elem_inv_squared() 244 fn sqr_mul_acc(acc: &mut Scalar<R>, squarings: Limb, b: &Scalar<R>) { in p256_scalar_inv_to_mont() function 297 sqr_mul_acc(&mut acc, 0 + 32, &ffffffff); in p256_scalar_inv_to_mont() 334 sqr_mul_acc(&mut acc, Limb::from(squarings), &d[usize::from(digit)]); in p256_scalar_inv_to_mont()
|