/busybox-1.35.0/networking/ |
D | tls_pstm.h | 254 #define pstm_montgomery_reduce(pool, a, m, mp, paD, paDlen) \ argument 255 pstm_montgomery_reduce( a, m, mp, paD, paDlen) 257 pstm_digit mp, pstm_digit *paD, uint32 paDlen) FAST_FUNC; 259 #define pstm_mul_comba(pool, A, B, C, paD, paDlen) \ argument 260 pstm_mul_comba( A, B, C, paD, paDlen) 262 pstm_int *C, pstm_digit *paD, uint32 paDlen) FAST_FUNC; 265 #define pstm_sqr_comba(pool, A, B, paD, paDlen) \ argument 266 pstm_sqr_comba( A, B, paD, paDlen) 268 pstm_digit *paD, uint32 paDlen) FAST_FUNC;
|
D | tls_pstm_montgomery_reduce.c | 368 pstm_digit mp, pstm_digit *paD, uint32 paDlen) in pstm_montgomery_reduce() argument 380 if (paD && paDlen >= (uint32)2*pa+1) { in pstm_montgomery_reduce() 382 memset(c, 0x0, paDlen); in pstm_montgomery_reduce() 444 if (paDlen < (uint32)2*pa+1) { in pstm_montgomery_reduce()
|
D | tls_pstm.c | 1611 uint32 paDlen; in pstm_exptmod() local 1664 paDlen = ((M[1].used + 3) * 2) * sizeof(pstm_digit); in pstm_exptmod() 1665 paD = xzalloc(paDlen);//bbox in pstm_exptmod() 1675 &M[1 << (winsize - 1)], paD, paDlen)) != PSTM_OKAY) { in pstm_exptmod() 1679 paD, paDlen)) != PSTM_OKAY) { in pstm_exptmod() 1698 if ((err = pstm_mul_comba(pool, &M[x - 1], &M[1], &M[x], paD, paDlen)) in pstm_exptmod() 1702 if ((err = pstm_montgomery_reduce(pool, &M[x], P, mp, paD, paDlen)) != in pstm_exptmod() 1743 if ((err = pstm_sqr_comba(pool, &res, &res, paD, paDlen)) != in pstm_exptmod() 1747 if ((err = pstm_montgomery_reduce(pool, &res, P, mp, paD, paDlen)) in pstm_exptmod() 1761 if ((err = pstm_sqr_comba(pool, &res, &res, paD, paDlen)) != in pstm_exptmod() [all …]
|
D | tls_pstm_sqr_comba.c | 445 #define pstm_sqr_comba_gen(pool, A, B, paD, paDlen) \ argument 446 pstm_sqr_comba_gen( A, B, paD, paDlen) 448 pstm_digit *paD, uint32 paDlen) in pstm_sqr_comba_gen() argument 473 if (paDlen < (sizeof(pstm_digit) * pa)) { in pstm_sqr_comba_gen() 478 memset(dst, 0x0, paDlen); in pstm_sqr_comba_gen() 1089 uint32 paDlen) in pstm_sqr_comba() argument 1100 return pstm_sqr_comba_gen(pool, A, B, paD, paDlen); in pstm_sqr_comba() 1108 return pstm_sqr_comba_gen(pool, A, B, paD, paDlen); in pstm_sqr_comba()
|
D | tls_pstm_mul_comba.c | 227 #define pstm_mul_comba_gen(pool, A, B, C, paD, paDlen) \ argument 228 pstm_mul_comba_gen( A, B, C, paD, paDlen) 230 pstm_int *C, pstm_digit *paD, uint32 paDlen) in pstm_mul_comba_gen() argument 252 if (paDlen < (sizeof(pstm_digit) * pa)) { in pstm_mul_comba_gen() 257 memset(dst, 0x0, paDlen); in pstm_mul_comba_gen() 758 pstm_digit *paD, uint32 paDlen) in pstm_mul_comba() argument 769 return pstm_mul_comba_gen(pool, A, B, C, paD, paDlen); in pstm_mul_comba() 777 return pstm_mul_comba_gen(pool, A, B, C, paD, paDlen); in pstm_mul_comba()
|