• Home
  • Raw
  • Download

Lines Matching refs:num_limbs

60         fn LIMBS_equal(a: *const Limb, b: *const Limb, num_limbs: c::size_t) -> LimbMask;  in limbs_equal_limbs_consttime()
110 for num_limbs in (1..=a.len()).rev() { in limbs_minimal_bits()
111 let high_limb = a[num_limbs - 1]; in limbs_minimal_bits()
121 ((num_limbs - 1) * LIMB_BITS) + high_limb_num_bits, in limbs_minimal_bits()
242 let num_limbs = limbs.len(); in big_endian_from_limbs() localVariable
244 assert_eq!(out_len, num_limbs * LIMB_BYTES); in big_endian_from_limbs()
245 for i in 0..num_limbs { in big_endian_from_limbs()
248 out[((num_limbs - i - 1) * LIMB_BYTES) + (LIMB_BYTES - j - 1)] = (limb & 0xff) as u8; in big_endian_from_limbs()
290 let num_limbs = limbs.len(); in fold_5_bit_windows() localVariable
292 let num_whole_windows = (num_limbs * LIMB_BITS) / 5; in fold_5_bit_windows()
293 let mut leading_bits = (num_limbs * LIMB_BITS) - (num_whole_windows * 5); in fold_5_bit_windows()
339 fn LIMBS_are_even(a: *const Limb, num_limbs: c::size_t) -> LimbMask; in LIMBS_are_even()
340 fn LIMBS_are_zero(a: *const Limb, num_limbs: c::size_t) -> LimbMask; in LIMBS_are_zero()
342 fn LIMBS_equal_limb(a: *const Limb, b: Limb, num_limbs: c::size_t) -> LimbMask; in LIMBS_equal_limb()
343 fn LIMBS_less_than(a: *const Limb, b: *const Limb, num_limbs: c::size_t) -> LimbMask; in LIMBS_less_than()
345 fn LIMBS_less_than_limb(a: *const Limb, b: Limb, num_limbs: c::size_t) -> LimbMask; in LIMBS_less_than_limb()
346 fn LIMBS_reduce_once(r: *mut Limb, m: *const Limb, num_limbs: c::size_t); in LIMBS_reduce_once()