Home
last modified time | relevance | path

Searched refs:pstm_digit (Results 1 – 6 of 6) sorted by relevance

/busybox-1.35.0/networking/
Dtls_pstm.h73 typedef unsigned char pstm_digit; typedef
79 typedef unsigned short pstm_digit; typedef
88 typedef unsigned long pstm_digit; typedef
94 typedef uint32 pstm_digit; typedef
100 #define PSTM_MASK (pstm_digit)(-1)
126 pstm_digit *dp;
214 extern int32 pstm_sub_d(psPool_t *pool, pstm_int *a, pstm_digit b, pstm_int *c) FAST_FUNC;
257 pstm_digit mp, pstm_digit *paD, uint32 paDlen) FAST_FUNC;
262 pstm_int *C, pstm_digit *paD, uint32 paDlen) FAST_FUNC;
268 pstm_digit *paD, uint32 paDlen) FAST_FUNC;
Dtls_pstm_montgomery_reduce.c353 _c[0] = (pstm_digit)t; \
354 cy = (pstm_digit)(t >> DIGIT_BIT); \
358 do { pstm_digit t = _c[0] += cy; cy = (t < cy); } while (0)
368 pstm_digit mp, pstm_digit *paD, uint32 paDlen) in pstm_montgomery_reduce()
370 pstm_digit *c, *_c, *tmpm, mu; in pstm_montgomery_reduce()
395 pstm_digit cy = 0; in pstm_montgomery_reduce()
Dtls_pstm.c69 a->dp = xzalloc(sizeof (pstm_digit) * size);//bbox in pstm_init_size()
100 a->dp = xzalloc(sizeof (pstm_digit) * PSTM_DEFAULT_INIT);//bbox in pstm_init()
130 pstm_digit *tmp; in pstm_grow()
142 tmp = xrealloc(a->dp, sizeof (pstm_digit) * size);//bbox in pstm_grow()
187 register pstm_digit *tmpa, *tmpb; in pstm_copy()
301 pstm_digit *tmp; in pstm_zero()
320 pstm_digit *tmpa, *tmpb; in pstm_cmp_mag()
394 size = (((len / sizeof(pstm_digit)) * (sizeof(pstm_digit) * CHAR_BIT)) in pstm_init_for_read_unsigned_bin()
422 if ((unsigned)c > (PSTM_MAX_SIZE * sizeof(pstm_digit))) { in pstm_read_unsigned_bin()
423 uint32 excess = c - (PSTM_MAX_SIZE * sizeof(pstm_digit)); in pstm_read_unsigned_bin()
[all …]
Dtls_pstm_sqr_comba.c397 t = c0 + ((pstm_word)i) * ((pstm_word)j); c0 = (pstm_digit)t; \
399 c1 = (pstm_digit)t; c2 += (pstm_digit)(t >> DIGIT_BIT); \
407 tt = (pstm_word)c0 + t; c0 = (pstm_digit)tt; \
409 c1 = (pstm_digit)tt; c2 += (pstm_digit)(tt >> DIGIT_BIT); \
410 tt = (pstm_word)c0 + t; c0 = (pstm_digit)tt; \
412 c1 = (pstm_digit)tt; c2 += (pstm_digit)(tt >> DIGIT_BIT); \
418 sc0 = (pstm_digit)t; sc1 = (pstm_digit)(t >> DIGIT_BIT); sc2 = 0; \
424 sc0 = (pstm_digit)t; \
425 t = ((pstm_word)sc1) + (t >> DIGIT_BIT); sc1 = (pstm_digit)t; \
426 sc2 += (pstm_digit)(t >> DIGIT_BIT); \
[all …]
Dtls_pstm_mul_comba.c217 t = (pstm_word)c0 + ((pstm_word)i) * ((pstm_word)j); c0 = (pstm_digit)t; \
219 c1 = (pstm_digit)t; c2 += (pstm_digit)(t >> DIGIT_BIT); \
230 pstm_int *C, pstm_digit *paD, uint32 paDlen) in pstm_mul_comba_gen()
234 pstm_digit c0, c1, c2, *tmpx, *tmpy, *dst; in pstm_mul_comba_gen()
252 if (paDlen < (sizeof(pstm_digit) * pa)) { in pstm_mul_comba_gen()
254 dst = xzalloc(sizeof(pstm_digit) * pa);//bbox in pstm_mul_comba_gen()
260 dst = xzalloc(sizeof(pstm_digit) * pa);//bbox in pstm_mul_comba_gen()
294 pstm_digit *tmpc; in pstm_mul_comba_gen()
319 pstm_digit c0, c1, c2, at[32]; in pstm_mul_comba16()
326 memcpy(at, A->dp, 16 * sizeof(pstm_digit)); in pstm_mul_comba16()
[all …]
Dtls_rsa.c79 if (pstm_init_for_read_unsigned_bin(pool, &tmp, inlen + sizeof(pstm_digit)) in psRsaCrypt()