/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() 381 c = paD; in pstm_montgomery_reduce()
|
D | tls_pstm.c | 1608 pstm_digit *paD; in pstm_exptmod() local 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() 1765 if ((err = pstm_montgomery_reduce(pool, &res, P, mp, paD, 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 472 if (paD != NULL) { in pstm_sqr_comba_gen() 477 dst = paD; in pstm_sqr_comba_gen() 545 if ((paD == NULL) || paDfail == 1) { in pstm_sqr_comba_gen() 1088 int32 FAST_FUNC pstm_sqr_comba(psPool_t *pool, pstm_int *A, pstm_int *B, pstm_digit *paD, 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 251 if (paD != NULL) { in pstm_mul_comba_gen() 256 dst = paD; in pstm_mul_comba_gen() 308 if ((paD == NULL) || (paDfail == 1)) { 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()
|