Lines Matching refs:bsize
31 mpi_size_t esize, msize, bsize, rsize; in mpi_powm() local
79 bsize = base->nlimbs; in mpi_powm()
81 if (bsize > msize) { /* The base is larger than the module. Reduce it. */ in mpi_powm()
84 bp = bp_marker = mpi_alloc_limb_space(bsize + 1); in mpi_powm()
87 MPN_COPY(bp, base->d, bsize); in mpi_powm()
90 mpihelp_divrem(bp + msize, 0, bp, bsize, mp, msize); in mpi_powm()
91 bsize = msize; in mpi_powm()
94 MPN_NORMALIZE(bp, bsize); in mpi_powm()
98 if (!bsize) { in mpi_powm()
122 bp = bp_marker = mpi_alloc_limb_space(bsize); in mpi_powm()
125 MPN_COPY(bp, rp, bsize); in mpi_powm()
144 MPN_COPY(rp, bp, bsize); in mpi_powm()
145 rsize = bsize; in mpi_powm()
217 if (bsize < KARATSUBA_THRESHOLD) { in mpi_powm()
220 (xp, rp, rsize, bp, bsize, in mpi_powm()
225 (xp, rp, rsize, bp, bsize, in mpi_powm()
230 xsize = rsize + bsize; in mpi_powm()