/external/rust/android-crates-io/crates/num-bigint/src/biguint/ |
D | monty.rs | 15 fn inv_mod_alt(b: BigDigit) -> BigDigit { in inv_mod_alt() 46 fn montgomery(x: &BigUint, y: &BigUint, m: &BigUint, k: BigDigit, n: usize) -> BigUint { in montgomery() 92 fn add_mul_vvw(z: &mut [BigDigit], x: &[BigDigit], y: BigDigit) -> BigDigit { in add_mul_vvw() 106 fn sub_vv(z: &mut [BigDigit], x: &[BigDigit], y: &[BigDigit]) -> BigDigit { in sub_vv() 120 fn add_ww(x: BigDigit, y: BigDigit, c: BigDigit) -> (BigDigit, BigDigit) { in add_ww() 130 fn mul_add_www(x: BigDigit, y: BigDigit, c: BigDigit) -> (BigDigit, BigDigit) { in mul_add_www()
|
D | multiplication.rs | 16 a: BigDigit, in mac_with_carry() 17 b: BigDigit, in mac_with_carry() 18 c: BigDigit, in mac_with_carry() 20 ) -> BigDigit { in mac_with_carry() 29 fn mul_with_carry(a: BigDigit, b: BigDigit, acc: &mut DoubleBigDigit) -> BigDigit { in mul_with_carry() 38 fn mac_digit(acc: &mut [BigDigit], b: &[BigDigit], c: BigDigit) { in mac_digit() 67 fn mac3(mut acc: &mut [BigDigit], mut b: &[BigDigit], mut c: &[BigDigit]) { in mac3() 410 fn mul3(x: &[BigDigit], y: &[BigDigit]) -> BigUint { in mul3() 418 fn scalar_mul(a: &mut BigUint, b: BigDigit) { in scalar_mul() 438 fn sub_sign(mut a: &[BigDigit], mut b: &[BigDigit]) -> (Sign, BigUint) { in sub_sign() [all …]
|
D | division.rs | 23 fn div_wide(hi: BigDigit, lo: BigDigit, divisor: BigDigit) -> (BigDigit, BigDigit) { in div_wide() 34 fn div_wide(hi: BigDigit, lo: BigDigit, divisor: BigDigit) -> (BigDigit, BigDigit) { in div_wide() 75 fn div_half(rem: BigDigit, digit: BigDigit, divisor: BigDigit) -> (BigDigit, BigDigit) { in div_half() 85 pub(super) fn div_rem_digit(mut a: BigUint, b: BigDigit) -> (BigUint, BigDigit) { in div_rem_digit() argument 110 fn rem_digit(a: &BigUint, b: BigDigit) -> BigDigit { in rem_digit() 135 fn sub_mul_digit_same_len(a: &mut [BigDigit], b: &[BigDigit], c: BigDigit) -> BigDigit { in sub_mul_digit_same_len()
|
D | subtraction.rs | 41 fn sbb(borrow: u8, lhs: BigDigit, rhs: BigDigit, out: &mut BigDigit) -> u8 { in sbb() 48 pub(super) fn sub2(a: &mut [BigDigit], b: &[BigDigit]) { in sub2() 77 fn __sub2rev(a: &[BigDigit], b: &mut [BigDigit]) -> u8 { in __sub2rev() 89 fn sub2rev(a: &[BigDigit], b: &mut [BigDigit]) { in sub2rev()
|
D | addition.rs | 41 fn adc(carry: u8, lhs: BigDigit, rhs: BigDigit, out: &mut BigDigit) -> u8 { in adc() 55 pub(super) fn __add2(a: &mut [BigDigit], b: &[BigDigit]) -> BigDigit { in __add2() 82 pub(super) fn add2(a: &mut [BigDigit], b: &[BigDigit]) { in add2()
|
D | convert.rs | 793 fn get_radix_base(radix: u32) -> (BigDigit, usize) { in get_radix_base() 802 fn get_half_radix_base(radix: u32) -> (BigDigit, usize) { in get_half_radix_base() 818 const fn generate_radix_bases(max: BigDigit) -> [(BigDigit, usize); 257] { in generate_radix_bases()
|
D | power.rs | 149 fn plain_modpow(base: &BigUint, exp_data: &[BigDigit], modulus: &BigUint) -> BigUint { in plain_modpow()
|
/external/rust/android-crates-io/crates/num-bigint/src/bigint/ |
D | bits.rs | 29 fn negate_carry(a: BigDigit, acc: &mut DoubleBigDigit) -> BigDigit { in negate_carry() 39 fn bitand_pos_neg(a: &mut [BigDigit], b: &[BigDigit]) { in bitand_pos_neg() 51 fn bitand_neg_pos(a: &mut Vec<BigDigit>, b: &[BigDigit]) { in bitand_neg_pos() 72 fn bitand_neg_neg(a: &mut Vec<BigDigit>, b: &[BigDigit]) { in bitand_neg_neg() 176 fn bitor_pos_neg(a: &mut Vec<BigDigit>, b: &[BigDigit]) { in bitor_pos_neg() 205 fn bitor_neg_pos(a: &mut [BigDigit], b: &[BigDigit]) { in bitor_neg_pos() 227 fn bitor_neg_neg(a: &mut Vec<BigDigit>, b: &[BigDigit]) { in bitor_neg_neg() 311 fn bitxor_pos_neg(a: &mut Vec<BigDigit>, b: &[BigDigit]) { in bitxor_pos_neg() 344 fn bitxor_neg_pos(a: &mut Vec<BigDigit>, b: &[BigDigit]) { in bitxor_neg_pos() 377 fn bitxor_neg_neg(a: &mut Vec<BigDigit>, b: &[BigDigit]) { in bitxor_neg_neg()
|
/external/rust/android-crates-io/crates/num-bigint/src/ |
D | lib.rs | 249 fn get_hi(n: DoubleBigDigit) -> BigDigit { in get_hi() 253 fn get_lo(n: DoubleBigDigit) -> BigDigit { in get_lo() 259 pub(crate) fn from_doublebigdigit(n: DoubleBigDigit) -> (BigDigit, BigDigit) { in from_doublebigdigit() 265 pub(crate) fn to_doublebigdigit(hi: BigDigit, lo: BigDigit) -> DoubleBigDigit { in to_doublebigdigit()
|
D | biguint.rs | 87 fn cmp_slice(a: &[BigDigit], b: &[BigDigit]) -> Ordering { in cmp_slice() 1072 fn digits(&self) -> &[BigDigit]; in digits() 1073 fn digits_mut(&mut self) -> &mut Vec<BigDigit>; in digits_mut() 1081 fn digits(&self) -> &[BigDigit] { in digits() 1085 fn digits_mut(&mut self) -> &mut Vec<BigDigit> { in digits_mut()
|
D | bigint.rs | 533 fn digits(&self) -> &[BigDigit] { in digits() 537 fn digits_mut(&mut self) -> &mut Vec<BigDigit> { in digits_mut()
|