/aosp_15_r20/external/rust/android-crates-io/crates/num-bigint/src/bigint/ |
D | division.rs | 13 impl Div<&BigInt> for &BigInt { implementation 17 fn div(self, other: &BigInt) -> BigInt { in div() 23 impl DivAssign<&BigInt> for BigInt { implementation 25 fn div_assign(&mut self, other: &BigInt) { in div_assign() 37 impl Div<u32> for BigInt { implementation 41 fn div(self, other: u32) -> BigInt { in div() 46 impl DivAssign<u32> for BigInt { implementation 60 fn div(self, other: BigInt) -> BigInt { in div() 65 impl Div<u64> for BigInt { implementation 69 fn div(self, other: u64) -> BigInt { in div() [all …]
|
D | subtraction.rs | 32 impl Sub<&BigInt> for &BigInt { implementation 36 fn sub(self, other: &BigInt) -> BigInt { in sub() 48 impl Sub<BigInt> for &BigInt { implementation 52 fn sub(self, other: BigInt) -> BigInt { in sub() 57 impl Sub<&BigInt> for BigInt { implementation 61 fn sub(self, other: &BigInt) -> BigInt { in sub() 66 impl Sub<BigInt> for BigInt { implementation 70 fn sub(self, other: BigInt) -> BigInt { in sub() 75 impl SubAssign<&BigInt> for BigInt { implementation 77 fn sub_assign(&mut self, other: &BigInt) { in sub_assign() [all …]
|
D | addition.rs | 33 impl Add<&BigInt> for &BigInt { implementation 37 fn add(self, other: &BigInt) -> BigInt { in add() 49 impl Add<BigInt> for &BigInt { implementation 53 fn add(self, other: BigInt) -> BigInt { in add() 58 impl Add<&BigInt> for BigInt { implementation 62 fn add(self, other: &BigInt) -> BigInt { in add() 67 impl Add<BigInt> for BigInt { implementation 71 fn add(self, other: BigInt) -> BigInt { in add() 76 impl AddAssign<&BigInt> for BigInt { implementation 78 fn add_assign(&mut self, other: &BigInt) { in add_assign() [all …]
|
D | multiplication.rs | 32 let BigInt { data: x, .. } = self; localVariable 33 let BigInt { data: y, .. } = other; localVariable 52 let BigInt { data: y, .. } = other; localVariable 74 impl Mul<u32> for BigInt { implementation 78 fn mul(self, other: u32) -> BigInt { in mul() 83 impl MulAssign<u32> for BigInt { implementation 93 impl Mul<u64> for BigInt { implementation 97 fn mul(self, other: u64) -> BigInt { in mul() 102 impl MulAssign<u64> for BigInt { implementation 112 impl Mul<u128> for BigInt { implementation [all …]
|
D | convert.rs | 15 impl FromStr for BigInt { implementation 19 fn from_str(s: &str) -> Result<BigInt, ParseBigIntError> { in from_str() 24 impl Num for BigInt { implementation 29 fn from_str_radix(mut s: &str, radix: u32) -> Result<BigInt, ParseBigIntError> { in from_str_radix() 44 impl ToPrimitive for BigInt { implementation 148 impl FromPrimitive for BigInt { implementation 150 fn from_i64(n: i64) -> Option<BigInt> { in from_i64() 155 fn from_i128(n: i128) -> Option<BigInt> { in from_i128() 160 fn from_u64(n: u64) -> Option<BigInt> { in from_u64() 165 fn from_u128(n: u128) -> Option<BigInt> { in from_u128() [all …]
|
D | bits.rs | 111 impl BitAnd<&BigInt> for &BigInt { implementation 115 fn bitand(self, other: &BigInt) -> BigInt { in bitand() 133 impl BitAnd<&BigInt> for BigInt { implementation 137 fn bitand(mut self, other: &BigInt) -> BigInt { in bitand() 145 impl BitAndAssign<&BigInt> for BigInt { implementation 146 fn bitand_assign(&mut self, other: &BigInt) { in bitand_assign() 250 impl BitOr<&BigInt> for &BigInt { implementation 254 fn bitor(self, other: &BigInt) -> BigInt { in bitor() 273 impl BitOr<&BigInt> for BigInt { implementation 277 fn bitor(mut self, other: &BigInt) -> BigInt { in bitor() [all …]
|
D | power.rs | 71 pub(super) fn modpow(x: &BigInt, exponent: &BigInt, modulus: &BigInt) -> BigInt { in modpow()
|
D | serde.rs | 39 impl Serialize for BigInt { implementation 50 impl<'de> Deserialize<'de> for BigInt { implementation
|
D | arbitrary.rs | 8 impl quickcheck::Arbitrary for BigInt { implementation 23 impl arbitrary::Arbitrary<'_> for BigInt { implementation
|
/aosp_15_r20/external/rust/android-crates-io/crates/num-bigint/src/ |
D | bigint.rs | 62 pub struct BigInt { struct 69 impl Clone for BigInt { implementation 85 impl hash::Hash for BigInt { implementation 96 impl PartialEq for BigInt { implementation 105 impl Eq for BigInt {} implementation 107 impl PartialOrd for BigInt { implementation 114 impl Ord for BigInt { implementation 132 impl Default for BigInt { implementation 139 impl fmt::Debug for BigInt { implementation 145 impl fmt::Display for BigInt { implementation [all …]
|
D | bigrand.rs | 23 fn gen_bigint(&mut self, bit_size: u64) -> BigInt; in gen_bigint() 37 fn gen_bigint_range(&mut self, lbound: &BigInt, ubound: &BigInt) -> BigInt; in gen_bigint_range() 87 fn gen_bigint(&mut self, bit_size: u64) -> BigInt { in gen_bigint() 131 fn gen_bigint_range(&mut self, lbound: &BigInt, ubound: &BigInt) -> BigInt { in gen_bigint_range() 252 impl SampleUniform for BigInt { implementation 280 fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> BigInt { in sample()
|
/aosp_15_r20/external/rust/android-crates-io/crates/num-bigint/tests/ |
D | bigint.rs | 254 fn check(b1: BigInt, i: i64) { in test_convert_i64() 285 fn check(b1: BigInt, i: i128) { in test_convert_i128() 316 fn check(b1: BigInt, u: u64) { in test_convert_u64() 342 fn check(b1: BigInt, u: u128) { in test_convert_u128() 369 fn check(b1: &BigInt, f: f32) { in test_convert_f32() 474 fn check(b1: &BigInt, f: f64) { in test_convert_f64() 570 fn check(n: BigInt, ans_1: BigUint) { in test_convert_to_biguint() 759 fn check_sub(a: &BigInt, b: &BigInt, ans_d: &BigInt, ans_m: &BigInt) { in test_div_mod_floor() 772 fn check(a: &BigInt, b: &BigInt, d: &BigInt, m: &BigInt) { in test_div_mod_floor() 816 fn check_sub(a: &BigInt, b: &BigInt, ans_q: &BigInt, ans_r: &BigInt) { in test_div_rem() [all …]
|
D | bigint_scalar.rs | 16 fn check(x: &BigInt, y: &BigInt, z: &BigInt) { in test_scalar_add() 42 fn check(x: &BigInt, y: &BigInt, z: &BigInt) { in test_scalar_sub() 68 fn check(x: &BigInt, y: &BigInt, z: &BigInt) { in test_scalar_mul() 92 fn check_sub(a: &BigInt, b: u32, ans_q: &BigInt, ans_r: &BigInt) { in test_scalar_div_rem() 116 fn check(a: &BigInt, b: u32, q: &BigInt, r: &BigInt) { in test_scalar_div_rem()
|
D | modpow.rs | 117 fn check(b: &BigInt, e: &BigInt, m: &BigInt, r: &BigInt) { in check_modpow()
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/syn-1.0.109/src/ |
H A D | bigint.rs | 4 pub struct BigInt { struct 8 impl BigInt { implementation 39 impl AddAssign<u8> for BigInt { implementation 54 impl MulAssign<u8> for BigInt { implementation
|
/aosp_15_r20/external/rust/android-crates-io/crates/syn/src/ |
D | bigint.rs | 4 pub(crate) struct BigInt { struct 8 impl BigInt { impl 39 impl AddAssign<u8> for BigInt { implementation 54 impl MulAssign<u8> for BigInt { implementation
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/syn-2.0.55/src/ |
H A D | bigint.rs | 4 pub(crate) struct BigInt { struct 8 impl BigInt { implementation 39 impl AddAssign<u8> for BigInt { implementation 54 impl MulAssign<u8> for BigInt { implementation
|
/aosp_15_r20/packages/modules/Bluetooth/tools/rootcanal/rust/src/lmp/ |
D | ec.rs | 72 fn get_x(&self) -> BigInt { in get_x() 76 fn get_y(&self) -> BigInt { in get_y() 150 fn to_bigint(&self) -> BigInt { in to_bigint() 182 fn mod_inv(x: &BigInt, m: &BigInt) -> Option<BigInt> { in mod_inv() 273 fn new(x: BigInt, y: BigInt, z: BigInt) -> Self { in new() 277 fn from_affine(x: BigInt, y: BigInt) -> Self { in from_affine() 288 fn to_affine(&self) -> Option<(BigInt, BigInt)> { in to_affine() argument
|
/aosp_15_r20/prebuilts/go/linux-x86/src/crypto/internal/boring/ |
D | ecdsa.go | 52 func NewPublicKeyECDSA(curve string, X, Y BigInt) (*PublicKeyECDSA, error) { 66 func newECKey(curve string, X, Y BigInt) (*C.GO_EC_KEY, error) { 99 func NewPrivateKeyECDSA(curve string, X, Y BigInt, D BigInt) (*PrivateKeyECDSA, error) {
|
D | boring.go | 58 func wbase(b BigInt) *C.uint8_t { 67 func bigToBN(x BigInt) *C.GO_BIGNUM { 83 func bigToBn(bnp **C.GO_BIGNUM, b BigInt) bool {
|
D | notboring.go | 60 func NewPrivateKeyECDSA(curve string, X, Y, D BigInt) (*PrivateKeyECDSA, error) { 63 func NewPublicKeyECDSA(curve string, X, Y BigInt) (*PublicKeyECDSA, error) { 97 func NewPrivateKeyRSA(N, E, D, P, Q, Dp, Dq, Qinv BigInt) (*PrivateKeyRSA, error) { 100 func NewPublicKeyRSA(N, E BigInt) (*PublicKeyRSA, error) { panic("boringcrypto: not available") }
|
D | rsa.go | 48 func NewPublicKeyRSA(N, E BigInt) (*PublicKeyRSA, error) { 79 func NewPrivateKeyRSA(N, E, D, P, Q, Dp, Dq, Qinv BigInt) (*PrivateKeyRSA, error) {
|
D | doc.go | 19 type BigInt []uint type
|
/aosp_15_r20/external/rust/android-crates-io/crates/num-bigint/src/biguint/ |
D | multiplication.rs | 62 fn bigint_from_slice(slice: &[BigDigit]) -> BigInt { in bigint_from_slice() 556 fn sub_sign_i(a: &[BigDigit], b: &[BigDigit]) -> BigInt { in test_sub_sign()
|
/aosp_15_r20/prebuilts/go/linux-x86/src/crypto/internal/boring/bbig/ |
D | big.go | 24 func Dec(b boring.BigInt) *big.Int {
|