Searched refs:vsize (Results 1 – 5 of 5) sorted by relevance
/lib/mpi/ |
D | mpih-mul.c | 348 mpi_ptr_t vp, mpi_size_t vsize, in mpihelp_mul_karatsuba_case() argument 353 if (!ctx->tspace || ctx->tspace_size < vsize) { in mpihelp_mul_karatsuba_case() 356 ctx->tspace = mpi_alloc_limb_space(2 * vsize); in mpihelp_mul_karatsuba_case() 359 ctx->tspace_size = vsize; in mpihelp_mul_karatsuba_case() 362 MPN_MUL_N_RECURSE(prodp, up, vp, vsize, ctx->tspace); in mpihelp_mul_karatsuba_case() 364 prodp += vsize; in mpihelp_mul_karatsuba_case() 365 up += vsize; in mpihelp_mul_karatsuba_case() 366 usize -= vsize; in mpihelp_mul_karatsuba_case() 367 if (usize >= vsize) { in mpihelp_mul_karatsuba_case() 368 if (!ctx->tp || ctx->tp_size < vsize) { in mpihelp_mul_karatsuba_case() [all …]
|
D | mpi-mul.c | 18 mpi_size_t usize, vsize, wsize; in mpi_mul() local 30 vsize = u->nlimbs; in mpi_mul() 37 vsize = v->nlimbs; in mpi_mul() 45 wsize = usize + vsize; in mpi_mul() 65 vp = tmp_limb = mpi_alloc_limb_space(vsize); in mpi_mul() 67 MPN_COPY(vp, wp, vsize); in mpi_mul() 71 if (!vsize) in mpi_mul() 74 mpihelp_mul(wp, up, usize, vp, vsize, &cy); in mpi_mul()
|
D | mpi-cmp.c | 51 mpi_size_t vsize; in do_mpi_cmp() local 60 vsize = v->nlimbs; in do_mpi_cmp() 73 if (usize != vsize && !usign && !vsign) in do_mpi_cmp() 74 return usize - vsize; in do_mpi_cmp() 75 if (usize != vsize && usign && vsign) in do_mpi_cmp() 76 return vsize + usize; in do_mpi_cmp()
|
D | mpi-add.c | 70 mpi_size_t usize, vsize, wsize; in mpi_add() local 76 vsize = u->nlimbs; in mpi_add() 86 vsize = v->nlimbs; in mpi_add() 97 if (!vsize) { /* simple */ in mpi_add() 103 if (usize != vsize) { in mpi_add() 104 mpihelp_sub(wp, up, usize, vp, vsize); in mpi_add() 122 mpi_limb_t cy = mpihelp_add(wp, up, usize, vp, vsize); in mpi_add()
|
D | mpi-internal.h | 180 mpi_ptr_t vp, mpi_size_t vsize, mpi_limb_t *_result); 189 mpi_ptr_t vp, mpi_size_t vsize,
|