Searched refs:limb_t (Results 1 – 4 of 4) sorted by relevance
/third_party/openssl/crypto/bn/ |
D | rsa_sup_mul.c | 13 typedef uint64_t limb_t; typedef 22 typedef uint32_t limb_t; typedef 100 static ossl_inline void _mul_limb(limb_t *hi, limb_t *lo, limb_t a, limb_t b) in _mul_limb() 110 *lo = (limb_t)t; in _mul_limb() 115 static ossl_inline void _mul_limb(limb_t *hi, limb_t *lo, limb_t a, limb_t b) in _mul_limb() 124 static ossl_inline void _mul_limb(limb_t *hi, limb_t *lo, limb_t a, limb_t b) in _mul_limb() 126 limb_t a_low = (limb_t)(uint32_t)a; in _mul_limb() 127 limb_t a_hi = a >> 32; in _mul_limb() 128 limb_t b_low = (limb_t)(uint32_t)b; in _mul_limb() 129 limb_t b_hi = b >> 32; in _mul_limb() [all …]
|
/third_party/quickjs/ |
D | libbf.h | 42 typedef uint64_t limb_t; typedef 53 typedef uint32_t limb_t; typedef 73 #define BF_PREC_MAX (((limb_t)1 << (LIMB_BITS - 2)) - 2) 95 limb_t len; 96 limb_t *tab; 104 limb_t len; 105 limb_t *tab; 141 limb_t prec; 282 int bf_add(bf_t *r, const bf_t *a, const bf_t *b, limb_t prec, bf_flags_t flags); 283 int bf_sub(bf_t *r, const bf_t *a, const bf_t *b, limb_t prec, bf_flags_t flags); [all …]
|
D | libbf.c | 74 typedef int bf_op2_func_t(bf_t *r, const bf_t *a, const bf_t *b, limb_t prec, 84 bf_t *res, limb_t *a_tab, limb_t a_len, 85 limb_t *b_tab, limb_t b_len, int mul_flags); 89 static limb_t get_digit(const limb_t *tab, limb_t len, slimb_t pos); 94 static inline int clz(limb_t a) in clz() 107 static inline int ctz(limb_t a) in ctz() 120 static inline int ceil_log2(limb_t a) in ceil_log2() 148 static inline limb_t smod(slimb_t a, slimb_t b) in smod() 163 r = (a >> (LIMB_BITS - 1)) ^ (((limb_t)1 << (LIMB_BITS - 1)) - 1); in sat_add() 194 int bf_resize(bf_t *r, limb_t len) in bf_resize() [all …]
|
D | quickjs.c | 390 limb_t prec; 11201 limb_t prec, bf_flags_t flags) in js_ftoa() 11260 limb_t prec, int flags) in js_bigdecimal_to_string1() 34162 limb_t v; in JS_WriteBigNum() 34206 n1 = sizeof(limb_t); in JS_WriteBigNum() 34212 len = (a->len - i) * sizeof(limb_t) + n1; in JS_WriteBigNum() 34223 limb_t v = a->tab[i]; in JS_WriteBigNum() 35074 limb_t l, i, n, j; in JS_ReadBigNum() 35076 limb_t v; in JS_ReadBigNum() 35127 l = (len + sizeof(limb_t) - 1) / sizeof(limb_t); in JS_ReadBigNum() [all …]
|