Searched refs:sqr_mul (Results 1 – 2 of 2) sorted by relevance
/external/rust/crates/ring/src/ec/suite_b/ops/ |
D | p384.rs | 86 fn sqr_mul(a: &Elem<R>, squarings: usize, b: &Elem<R>) -> Elem<R> { in p384_elem_inv_squared() function 96 let b_11 = sqr_mul(b_1, 1, b_1); in p384_elem_inv_squared() 97 let b_111 = sqr_mul(&b_11, 1, b_1); in p384_elem_inv_squared() 98 let f_11 = sqr_mul(&b_111, 3, &b_111); in p384_elem_inv_squared() 99 let fff = sqr_mul(&f_11, 6, &f_11); in p384_elem_inv_squared() 100 let fff_111 = sqr_mul(&fff, 3, &b_111); in p384_elem_inv_squared() 101 let fffffff_11 = sqr_mul(&fff_111, 15, &fff_111); in p384_elem_inv_squared() 103 let fffffffffffffff = sqr_mul(&fffffff_11, 30, &fffffff_11); in p384_elem_inv_squared() 105 let ffffffffffffffffffffffffffffff = sqr_mul(&fffffffffffffff, 60, &fffffffffffffff); in p384_elem_inv_squared() 108 let mut acc = sqr_mul( in p384_elem_inv_squared() [all …]
|
D | p256.rs | 89 fn sqr_mul(a: &Elem<R>, squarings: usize, b: &Elem<R>) -> Elem<R> { in p256_elem_inv_squared() function 99 let b_11 = sqr_mul(b_1, 1, b_1); in p256_elem_inv_squared() 100 let b_111 = sqr_mul(&b_11, 1, b_1); in p256_elem_inv_squared() 101 let f_11 = sqr_mul(&b_111, 3, &b_111); in p256_elem_inv_squared() 102 let fff = sqr_mul(&f_11, 6, &f_11); in p256_elem_inv_squared() 103 let fff_111 = sqr_mul(&fff, 3, &b_111); in p256_elem_inv_squared() 104 let fffffff_11 = sqr_mul(&fff_111, 15, &fff_111); in p256_elem_inv_squared() 105 let ffffffff = sqr_mul(&fffffff_11, 2, &b_11); in p256_elem_inv_squared() 108 let mut acc = sqr_mul(&ffffffff, 31 + 1, b_1); in p256_elem_inv_squared() 236 fn sqr_mul(a: &Scalar<R>, squarings: Limb, b: &Scalar<R>) -> Scalar<R> { in p256_scalar_inv_to_mont() function [all …]
|