/aosp_15_r20/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() 45 fn montgomery(x: &BigUint, y: &BigUint, m: &BigUint, k: BigDigit, n: usize) -> BigUint { in montgomery() 91 fn add_mul_vvw(z: &mut [BigDigit], x: &[BigDigit], y: BigDigit) -> BigDigit { in add_mul_vvw() 105 fn sub_vv(z: &mut [BigDigit], x: &[BigDigit], y: &[BigDigit]) -> BigDigit { in sub_vv() 119 fn add_ww(x: BigDigit, y: BigDigit, c: BigDigit) -> (BigDigit, BigDigit) { in add_ww() 129 fn mul_add_www(x: BigDigit, y: BigDigit, c: BigDigit) -> (BigDigit, BigDigit) { in mul_add_www()
|
D | multiplication.rs | 18 a: BigDigit, in mac_with_carry() 19 b: BigDigit, in mac_with_carry() 20 c: BigDigit, in mac_with_carry() 22 ) -> BigDigit { in mac_with_carry() 31 fn mul_with_carry(a: BigDigit, b: BigDigit, acc: &mut DoubleBigDigit) -> BigDigit { in mul_with_carry() 40 fn mac_digit(acc: &mut [BigDigit], b: &[BigDigit], c: BigDigit) { in mac_digit() 69 fn mac3(mut acc: &mut [BigDigit], mut b: &[BigDigit], mut c: &[BigDigit]) { in mac3() 352 fn mul3(x: &[BigDigit], y: &[BigDigit]) -> BigUint { in mul3() 360 fn scalar_mul(a: &mut BigUint, b: BigDigit) { in scalar_mul() 380 fn sub_sign(mut a: &[BigDigit], mut b: &[BigDigit]) -> (Sign, BigUint) { in sub_sign() [all …]
|
D | division.rs | 22 fn div_wide(hi: BigDigit, lo: BigDigit, divisor: BigDigit) -> (BigDigit, BigDigit) { in div_wide() 33 fn div_half(rem: BigDigit, digit: BigDigit, divisor: BigDigit) -> (BigDigit, BigDigit) { in div_half() 43 pub(super) fn div_rem_digit(mut a: BigUint, b: BigDigit) -> (BigUint, BigDigit) { in div_rem_digit() argument 68 fn rem_digit(a: &BigUint, b: BigDigit) -> BigDigit { in rem_digit() 93 fn sub_mul_digit_same_len(a: &mut [BigDigit], b: &[BigDigit], c: BigDigit) -> BigDigit { in sub_mul_digit_same_len()
|
D | subtraction.rs | 38 fn sbb(borrow: u8, a: BigDigit, b: 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 | 38 fn adc(carry: u8, a: BigDigit, b: BigDigit, out: &mut BigDigit) -> u8 { in adc() 53 pub(super) fn __add2(a: &mut [BigDigit], b: &[BigDigit]) -> BigDigit { in __add2() 80 pub(super) fn add2(a: &mut [BigDigit], b: &[BigDigit]) { in add2()
|
D | power.rs | 149 fn plain_modpow(base: &BigUint, exp_data: &[BigDigit], modulus: &BigUint) -> BigUint { in plain_modpow()
|
D | convert.rs | 793 fn get_radix_base(radix: u32, bits: u8) -> (BigDigit, usize) { in get_radix_base()
|
/aosp_15_r20/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 Vec<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 Vec<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()
|
/aosp_15_r20/external/rust/android-crates-io/crates/num-bigint/src/ |
D | lib.rs | 241 pub(crate) type BigDigit = u32; typedef 243 pub(crate) type BigDigit = u64; typedef 271 fn get_hi(n: DoubleBigDigit) -> BigDigit { in get_hi() 275 fn get_lo(n: DoubleBigDigit) -> BigDigit { in get_lo() 281 pub(crate) fn from_doublebigdigit(n: DoubleBigDigit) -> (BigDigit, BigDigit) { in from_doublebigdigit() 287 pub(crate) fn to_doublebigdigit(hi: BigDigit, lo: BigDigit) -> DoubleBigDigit { in to_doublebigdigit()
|
D | biguint.rs | 91 fn cmp_slice(a: &[BigDigit], b: &[BigDigit]) -> Ordering { in cmp_slice() 987 fn digits(&self) -> &[BigDigit]; in digits() 988 fn digits_mut(&mut self) -> &mut Vec<BigDigit>; in digits_mut() 996 fn digits(&self) -> &[BigDigit] { in digits() 1000 fn digits_mut(&mut self) -> &mut Vec<BigDigit> { in digits_mut() 1050 fn check(slice: &[u32], data: &[BigDigit]) { in test_from_slice() 1064 fn check(slice: &[u32], data: &[BigDigit]) { in test_from_slice()
|
D | bigint.rs | 537 fn digits(&self) -> &[BigDigit] { in digits() 541 fn digits_mut(&mut self) -> &mut Vec<BigDigit> { in digits_mut()
|