Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 3 of 3) sorted by relevance

/lib/mpi/
Dmpih-mul.c356 if (!ctx->tp || ctx->tp_size < vsize) { in mpihelp_mul_karatsuba_case()
357 if (ctx->tp) in mpihelp_mul_karatsuba_case()
358 mpi_free_limb_space(ctx->tp); in mpihelp_mul_karatsuba_case()
359 ctx->tp = mpi_alloc_limb_space(2 * vsize); in mpihelp_mul_karatsuba_case()
360 if (!ctx->tp) { in mpihelp_mul_karatsuba_case()
370 MPN_MUL_N_RECURSE(ctx->tp, up, vp, vsize, ctx->tspace); in mpihelp_mul_karatsuba_case()
371 cy = mpihelp_add_n(prodp, prodp, ctx->tp, vsize); in mpihelp_mul_karatsuba_case()
372 mpihelp_add_1(prodp + vsize, ctx->tp + vsize, vsize, in mpihelp_mul_karatsuba_case()
410 if (ctx->tp) in mpihelp_release_karatsuba_ctx()
411 mpi_free_limb_space(ctx->tp); in mpihelp_release_karatsuba_ctx()
[all …]
Dmpi-pow.c193 mpi_ptr_t tp; in mpi_powm() local
224 tp = rp; in mpi_powm()
226 xp = tp; in mpi_powm()
252 tp = rp; in mpi_powm()
254 xp = tp; in mpi_powm()
Dmpi-internal.h195 mpi_ptr_t tp; member