/external/rust/crates/ring/crypto/limbs/ |
D | limbs.c | 28 Limb LIMBS_are_zero(const Limb a[], size_t num_limbs) { in LIMBS_are_zero() 29 Limb is_zero = CONSTTIME_TRUE_W; in LIMBS_are_zero() 38 Limb LIMBS_equal(const Limb a[], const Limb b[], size_t num_limbs) { in LIMBS_equal() 39 Limb eq = CONSTTIME_TRUE_W; in LIMBS_equal() 47 Limb LIMBS_equal_limb(const Limb a[], Limb b, size_t num_limbs) { in LIMBS_equal_limb() 52 Limb lo_equal = constant_time_eq_w(a[0], b); in LIMBS_equal_limb() 53 Limb hi_zero = LIMBS_are_zero(&a[1], num_limbs - 1); in LIMBS_equal_limb() 59 Limb LIMBS_are_even(const Limb a[], size_t num_limbs) { in LIMBS_are_even() 60 Limb lo; in LIMBS_are_even() 70 Limb LIMBS_less_than(const Limb a[], const Limb b[], size_t num_limbs) { in LIMBS_less_than() [all …]
|
D | limbs.h | 22 typedef crypto_word Limb; typedef 25 #define LIMB_HIGH_BIT ((Limb)(1) << (LIMB_BITS - 1)) 28 Limb LIMBS_are_zero(const Limb a[], size_t num_limbs); 29 Limb LIMBS_are_even(const Limb a[], size_t num_limbs); 30 Limb LIMBS_equal(const Limb a[], const Limb b[], size_t num_limbs); 31 Limb LIMBS_equal_limb(const Limb a[], Limb b, size_t num_limbs); 32 void LIMBS_reduce_once(Limb r[], const Limb m[], size_t num_limbs); 33 void LIMBS_add_mod(Limb r[], const Limb a[], const Limb b[], const Limb m[], 35 void LIMBS_sub_mod(Limb r[], const Limb a[], const Limb b[], const Limb m[], 37 void LIMBS_shl_mod(Limb r[], const Limb a[], const Limb m[], size_t num_limbs); [all …]
|
D | limbs.inl | 48 typedef Limb Carry; 58 static inline Carry limb_adc(Limb *r, Limb a, Limb b, Carry carry_in) { 65 *r = (Limb)x; 73 static inline Carry limb_add(Limb *r, Limb a, Limb b) { 79 *r = (Limb)x; 88 static inline Carry limb_sbb(Limb *r, Limb a, Limb b, Carry borrow_in) { 95 *r = (Limb)x; 103 static inline Carry limb_sub(Limb *r, Limb a, Limb b) { 109 *r = (Limb)x; 116 static inline Carry limbs_add(Limb r[], const Limb a[], const Limb b[], [all …]
|
/external/rust/crates/serde_json/src/lexical/ |
D | math.rs | 40 pub type Limb = u32; typedef 43 pub const POW5_LIMB: &[Limb] = &POW5_32; 46 pub const POW10_LIMB: &[Limb] = &POW10_32; 53 pub type Limb = u64; typedef 56 pub const POW5_LIMB: &[Limb] = &POW5_64; 59 pub const POW10_LIMB: &[Limb] = &POW10_64; 66 pub(crate) fn as_limb<T: Integer>(t: T) -> Limb { in as_limb() argument 67 Limb::as_cast(t) in as_limb() 82 fn split_u64(x: u64) -> [Limb; 2] { in split_u64() 89 fn split_u64(x: u64) -> [Limb; 1] { in split_u64() [all …]
|
D | bignum.rs | 12 pub(crate) data: Vec<Limb>, 25 fn data(&self) -> &Vec<Limb> { in data() argument 30 fn data_mut(&mut self) -> &mut Vec<Limb> { in data_mut() argument
|
D | bhcomp.rs | 31 let mut value: Limb = 0; in parse_mantissa()
|
/external/rust/crates/ring/src/ |
D | limb.rs | 31 pub type Limb = u64; typedef 33 pub type Limb = u32; typedef 58 pub fn limbs_equal_limbs_consttime(a: &[Limb], b: &[Limb]) -> LimbMask { in limbs_equal_limbs_consttime() argument 60 fn LIMBS_equal(a: *const Limb, b: *const Limb, num_limbs: c::size_t) -> LimbMask; in limbs_equal_limbs_consttime() argument 68 pub fn limbs_less_than_limbs_consttime(a: &[Limb], b: &[Limb]) -> LimbMask { in limbs_less_than_limbs_consttime() argument 74 pub fn limbs_less_than_limbs_vartime(a: &[Limb], b: &[Limb]) -> bool { in limbs_less_than_limbs_vartime() argument 80 pub fn limbs_less_than_limb_constant_time(a: &[Limb], b: Limb) -> LimbMask { in limbs_less_than_limb_constant_time() argument 85 pub fn limbs_are_zero_constant_time(limbs: &[Limb]) -> LimbMask { in limbs_are_zero_constant_time() 91 pub fn limbs_are_even_constant_time(limbs: &[Limb]) -> LimbMask { in limbs_are_even_constant_time() 97 pub fn limbs_equal_limb_constant_time(a: &[Limb], b: Limb) -> LimbMask { in limbs_equal_limb_constant_time() argument [all …]
|
/external/rust/crates/ring/src/ec/suite_b/ops/ |
D | elem.rs | 17 limb::{Limb, LIMB_BITS}, 26 pub limbs: [Limb; MAX_LIMBS], 51 f: unsafe extern "C" fn(r: *mut Limb, a: *const Limb, b: *const Limb), in mul_mont() argument 64 f: unsafe extern "C" fn(r: *mut Limb, a: *const Limb, b: *const Limb), in binary_op() argument 80 f: unsafe extern "C" fn(r: *mut Limb, a: *const Limb, b: *const Limb), in binary_op_assign() argument 90 f: unsafe extern "C" fn(r: *mut Limb, a: *const Limb), in unary_op() argument 105 f: unsafe extern "C" fn(r: *mut Limb, a: *const Limb), in unary_op_assign() argument 114 f: unsafe extern "C" fn(r: *mut Limb, a: *const Limb, b: *const Limb), in unary_op_from_binary_op_assign() argument
|
D | p256.rs | 137 r: *mut Limb, // [3][COMMON_OPS.num_limbs] in p256_point_mul_base_impl() argument 138 g_scalar: *const Limb, // [COMMON_OPS.num_limbs] in p256_point_mul_base_impl() argument 236 fn sqr_mul(a: &Scalar<R>, squarings: Limb, b: &Scalar<R>) -> Scalar<R> { in p256_scalar_inv_to_mont() argument 244 fn sqr_mul_acc(acc: &mut Scalar<R>, squarings: Limb, b: &Scalar<R>) { in p256_scalar_inv_to_mont() argument 334 sqr_mul_acc(&mut acc, Limb::from(squarings), &d[usize::from(digit)]); in p256_scalar_inv_to_mont() 342 r: *mut Limb, // [COMMON_OPS.num_limbs] in GFp_nistz256_add() argument 343 a: *const Limb, // [COMMON_OPS.num_limbs] in GFp_nistz256_add() argument 344 b: *const Limb, // [COMMON_OPS.num_limbs] in GFp_nistz256_add() argument 347 r: *mut Limb, // [COMMON_OPS.num_limbs] in GFp_nistz256_mul_mont() argument 348 a: *const Limb, // [COMMON_OPS.num_limbs] in GFp_nistz256_mul_mont() argument [all …]
|
D | p384.rs | 329 r: *mut Limb, // [COMMON_OPS.num_limbs] in GFp_p384_elem_sqr_mont() argument 330 a: *const Limb, // [COMMON_OPS.num_limbs] in GFp_p384_elem_sqr_mont() argument 336 const N_RR_LIMBS: [Limb; MAX_LIMBS] = p384_limbs![ 343 r: *mut Limb, // [COMMON_OPS.num_limbs] in GFp_p384_elem_add() argument 344 a: *const Limb, // [COMMON_OPS.num_limbs] in GFp_p384_elem_add() argument 345 b: *const Limb, // [COMMON_OPS.num_limbs] in GFp_p384_elem_add() argument 348 r: *mut Limb, // [COMMON_OPS.num_limbs] in GFp_p384_elem_mul_mont() argument 349 a: *const Limb, // [COMMON_OPS.num_limbs] in GFp_p384_elem_mul_mont() argument 350 b: *const Limb, // [COMMON_OPS.num_limbs] in GFp_p384_elem_mul_mont() argument 354 r: *mut Limb, // [3][COMMON_OPS.num_limbs] in GFp_nistz384_point_add() argument [all …]
|
/external/rust/crates/ring/crypto/fipsmodule/ec/ |
D | ecp_nistz256.h | 28 Limb X[P256_LIMBS]; 29 Limb Y[P256_LIMBS]; 30 Limb Z[P256_LIMBS]; 35 Limb X[P256_LIMBS]; 36 Limb Y[P256_LIMBS]; 40 typedef Limb PRECOMP256_ROW[64 * 2 * P256_LIMBS]; // 64 (x, y) entries. 42 void GFp_nistz256_mul_mont(Limb res[P256_LIMBS], const Limb a[P256_LIMBS], 43 const Limb b[P256_LIMBS]); 44 void GFp_nistz256_sqr_mont(Limb res[P256_LIMBS], const Limb a[P256_LIMBS]);
|
D | ecp_nistz256.c | 36 void GFp_nistz256_neg(Limb res[P256_LIMBS], const Limb a[P256_LIMBS]); 40 static const Limb ONE[P256_LIMBS] = { 45 static void copy_conditional(Limb dst[P256_LIMBS], in copy_conditional() 46 const Limb src[P256_LIMBS], Limb move) { in copy_conditional() 47 Limb mask1 = move; in copy_conditional() 48 Limb mask2 = ~mask1; in copy_conditional() 82 static inline Limb is_equal(const Limb a[P256_LIMBS], const Limb b[P256_LIMBS]) { in is_equal() 86 static inline Limb is_zero(const BN_ULONG a[P256_LIMBS]) { in is_zero() 90 static inline void elem_mul_by_2(Limb r[P256_LIMBS], const Limb a[P256_LIMBS]) { in elem_mul_by_2() 94 static inline void elem_mul_mont(Limb r[P256_LIMBS], const Limb a[P256_LIMBS], in elem_mul_mont() [all …]
|
D | ecp_nistz.c | 29 const Limb scalar[], in gfp_little_endian_bytes_from_scalar() 31 debug_assert_nonsecret(str_len == (num_limbs * sizeof(Limb)) + 1); in gfp_little_endian_bytes_from_scalar() 34 for (i = 0; i < num_limbs * sizeof(Limb); i += sizeof(Limb)) { in gfp_little_endian_bytes_from_scalar() 35 Limb d = scalar[i / sizeof(Limb)]; in gfp_little_endian_bytes_from_scalar() 41 if (sizeof(Limb) == 8) { in gfp_little_endian_bytes_from_scalar()
|
D | ecp_nistz384.h | 23 Limb X[P384_LIMBS]; 24 Limb Y[P384_LIMBS]; 25 Limb Z[P384_LIMBS]; 29 Limb X[P384_LIMBS]; 30 Limb Y[P384_LIMBS];
|
D | gfp_p384.c | 28 typedef Limb Elem[P384_LIMBS]; 29 typedef Limb ScalarMont[P384_LIMBS]; 30 typedef Limb Scalar[P384_LIMBS]; 66 static inline Limb is_equal(const Elem a, const Elem b) { in is_equal() 70 static inline Limb is_zero(const BN_ULONG a[P384_LIMBS]) { in is_zero() 75 const Limb condition) { in copy_conditional() 132 Limb is_odd = constant_time_is_nonzero_w(a[0] & 1); in elem_div_by_2() 135 Limb carry = a[P384_LIMBS - 1] & 1; in elem_div_by_2() 138 Limb new_carry = a[P384_LIMBS - i - 1]; in elem_div_by_2() 198 Limb is_zero = LIMBS_are_zero(a, P384_LIMBS); in GFp_p384_elem_neg()
|
D | gfp_p256.c | 22 typedef Limb Elem[P256_LIMBS]; 23 typedef Limb ScalarMont[P256_LIMBS]; 24 typedef Limb Scalar[P256_LIMBS]; 26 void GFp_p256_scalar_sqr_rep_mont(ScalarMont r, const ScalarMont a, Limb rep); 61 void GFp_p256_scalar_sqr_rep_mont(ScalarMont r, const ScalarMont a, Limb rep) { in GFp_p256_scalar_sqr_rep_mont() 64 for (Limb i = 1; i < rep; ++i) { in GFp_p256_scalar_sqr_rep_mont() 101 alignas(32) Limb xy[P256_LIMBS * 2]; in GFp_nistz256_select_w7()
|
D | ecp_nistz.h | 271 const Limb scalar[],
|
/external/rust/crates/ring/src/arithmetic/ |
D | bigint.rs | 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 [all …]
|
/external/rust/crates/ring/src/ec/suite_b/ |
D | ops.rs | 42 xyz: [Limb; 3 * MAX_LIMBS], 69 elem_add_impl: unsafe extern "C" fn(r: *mut Limb, a: *const Limb, b: *const Limb), 70 elem_mul_mont: unsafe extern "C" fn(r: *mut Limb, a: *const Limb, b: *const Limb), 71 elem_sqr_mont: unsafe extern "C" fn(r: *mut Limb, a: *const Limb), 73 point_add_jacobian_impl: unsafe extern "C" fn(r: *mut Limb, a: *const Limb, b: *const Limb), 161 p: [Limb; MAX_LIMBS], 162 rr: [Limb; MAX_LIMBS], 171 r: *mut Limb, // [3][num_limbs] 172 p_scalar: *const Limb, // [num_limbs] 173 p_x: *const Limb, // [num_limbs] [all …]
|
/external/rust/crates/ring/src/ec/curve25519/ |
D | ops.rs | 21 limb::{Limb, LIMB_BITS}, 30 limbs: [Limb; ELEM_LIMBS], // This is called `v` in the C code.
|
D | scalar.rs | 27 const ORDER: [limb::Limb; SCALAR_LEN / limb::LIMB_BYTES] =
|
/external/icu/icu4c/source/data/lang/ |
D | brx.txt | 505 Limb{"लिम्बु"}
|
D | ks.txt | 509 Limb{"لِمبوٗ"}
|
D | ka.txt | 576 Limb{"ლიმბუ"}
|
/external/cldr/tools/java/org/unicode/cldr/util/data/ |
D | extraLanguagesAndScripts.txt | 69 [lif] Limbu [Deva]; [Limb] Online Bhutan, India, Nepal
|