Lines Matching refs:Limb
42 limb::{self, Limb, LimbMask, LIMB_BITS, LIMB_BYTES},
61 limbs: Box<[Limb]>,
68 type Target = [Limb];
112 fn minimal_width_from_unpadded(limbs: &[Limb]) -> Self { in minimal_width_from_unpadded()
353 limbs: &'a [Limb],
485 fn LIMBS_shl_mod(r: *mut Limb, a: *const Limb, m: *const Limb, num_limbs: c::size_t); in elem_mul_by_2() argument
555 r: *mut Limb, in elem_add() argument
556 a: *const Limb, in elem_add() argument
557 b: *const Limb, in elem_add() argument
558 m: *const Limb, in elem_add() argument
579 r: *mut Limb, in elem_sub() argument
580 a: *const Limb, in elem_sub() argument
581 b: *const Limb, in elem_sub() argument
582 m: *const Limb, in elem_sub() argument
824 fn gather<M>(table: &[Limb], i: Window, r: &mut Elem<M, R>) { in elem_exp_consttime() argument
827 r: *mut Limb, in elem_exp_consttime() argument
828 table: *const Limb, in elem_exp_consttime() argument
840 table: &[Limb], in elem_exp_consttime() argument
857 fn entry(table: &[Limb], i: usize, num_limbs: usize) -> &[Limb] { in elem_exp_consttime() argument
860 fn entry_mut(table: &mut [Limb], i: usize, num_limbs: usize) -> &mut [Limb] { in elem_exp_consttime() argument
937 fn entry(table: &[Limb], i: usize, num_limbs: usize) -> &[Limb] { in elem_exp_consttime() argument
940 fn entry_mut(table: &mut [Limb], i: usize, num_limbs: usize) -> &mut [Limb] { in elem_exp_consttime() argument
951 fn scatter(table: &mut [Limb], state: &[Limb], i: Window, num_limbs: usize) { in elem_exp_consttime() argument
953 fn GFp_bn_scatter5(a: *const Limb, a_len: c::size_t, table: *mut Limb, i: Window); in elem_exp_consttime() argument
965 fn gather(table: &[Limb], state: &mut [Limb], i: Window, num_limbs: usize) { in elem_exp_consttime() argument
967 fn GFp_bn_gather5(r: *mut Limb, a_len: c::size_t, table: *const Limb, i: Window); in elem_exp_consttime() argument
979 fn gather_square(table: &[Limb], state: &mut [Limb], n0: &N0, i: Window, num_limbs: usize) { in elem_exp_consttime() argument
987 fn gather_mul_base(table: &[Limb], state: &mut [Limb], n0: &N0, i: Window, num_limbs: usize) { in elem_exp_consttime() argument
990 rp: *mut Limb, in elem_exp_consttime() argument
991 ap: *const Limb, in elem_exp_consttime() argument
992 table: *const Limb, in elem_exp_consttime() argument
993 np: *const Limb, in elem_exp_consttime() argument
1012 fn power(table: &[Limb], state: &mut [Limb], n0: &N0, i: Window, num_limbs: usize) { in elem_exp_consttime() argument
1015 r: *mut Limb, in elem_exp_consttime() argument
1016 a: *const Limb, in elem_exp_consttime() argument
1017 table: *const Limb, in elem_exp_consttime() argument
1018 n: *const Limb, in elem_exp_consttime() argument
1073 r: *mut Limb, in elem_exp_consttime() argument
1074 a: *const Limb, in elem_exp_consttime() argument
1075 not_used: *const Limb, in elem_exp_consttime() argument
1076 n: *const Limb, in elem_exp_consttime() argument
1126 limbs: Vec<Limb>,
1186 struct N0([Limb; 2]);
1200 Self([n0 as Limb, (n0 >> LIMB_BITS) as Limb]) in from()
1206 fn limbs_mont_mul(r: &mut [Limb], a: &[Limb], m: &[Limb], n0: &N0) { in limbs_mont_mul() argument
1241 fn limbs_from_mont_in_place(r: &mut [Limb], tmp: &mut [Limb], m: &[Limb], n0: &N0) { in limbs_from_mont_in_place() argument
1244 r: *mut Limb, in limbs_from_mont_in_place() argument
1246 a: *mut Limb, in limbs_from_mont_in_place() argument
1248 n: *const Limb, in limbs_from_mont_in_place() argument
1273 fn limbs_mul(r: &mut [Limb], a: &[Limb], b: &[Limb]) { in limbs_mul() argument
1293 fn limbs_mont_product(r: &mut [Limb], a: &[Limb], b: &[Limb], m: &[Limb], n0: &N0) { in limbs_mont_product() argument
1330 fn limbs_mont_square(r: &mut [Limb], m: &[Limb], n0: &N0) { in limbs_mont_square() argument
1372 r: *mut Limb, in GFp_bn_mul_mont() argument
1373 a: *const Limb, in GFp_bn_mul_mont() argument
1374 b: *const Limb, in GFp_bn_mul_mont() argument
1375 n: *const Limb, in GFp_bn_mul_mont() argument
1391 fn GFp_limbs_mul_add_limb(r: *mut Limb, a: *const Limb, b: Limb, num_limbs: c::size_t) -> Limb; in GFp_limbs_mul_add_limb() argument
1598 const ZERO: Limb = 0; in test_mul_add_words()
1599 const MAX: Limb = ZERO.wrapping_sub(1); in test_mul_add_words()
1600 static TEST_CASES: &[(&[Limb], &[Limb], Limb, Limb, &[Limb])] = &[ in test_mul_add_words()