Home
last modified time | relevance | path

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

/lib/mpi/
Dmpih-mul.c323 mpi_ptr_t vp, mpi_size_t vsize, in mpihelp_mul_karatsuba_case() argument
328 if (!ctx->tspace || ctx->tspace_size < vsize) { in mpihelp_mul_karatsuba_case()
331 ctx->tspace = mpi_alloc_limb_space(2 * vsize); in mpihelp_mul_karatsuba_case()
334 ctx->tspace_size = vsize; in mpihelp_mul_karatsuba_case()
337 MPN_MUL_N_RECURSE(prodp, up, vp, vsize, ctx->tspace); in mpihelp_mul_karatsuba_case()
339 prodp += vsize; in mpihelp_mul_karatsuba_case()
340 up += vsize; in mpihelp_mul_karatsuba_case()
341 usize -= vsize; in mpihelp_mul_karatsuba_case()
342 if (usize >= vsize) { in mpihelp_mul_karatsuba_case()
343 if (!ctx->tp || ctx->tp_size < vsize) { in mpihelp_mul_karatsuba_case()
[all …]
Dmpi-cmp.c50 mpi_size_t usize, vsize; in mpi_cmp() local
56 vsize = v->nlimbs; in mpi_cmp()
61 if (usize != vsize && !u->sign && !v->sign) in mpi_cmp()
62 return usize - vsize; in mpi_cmp()
63 if (usize != vsize && u->sign && v->sign) in mpi_cmp()
64 return vsize - usize; in mpi_cmp()
Dmpi-internal.h134 mpi_ptr_t vp, mpi_size_t vsize, mpi_limb_t *_result);
141 mpi_ptr_t vp, mpi_size_t vsize,