Home
last modified time | relevance | path

Searched refs:cy_limb (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/lib/crypto/mpi/
Dgeneric_mpih-mul3.c23 mpi_limb_t cy_limb; in mpihelp_submul_1() local
34 cy_limb = 0; in mpihelp_submul_1()
38 prod_low += cy_limb; in mpihelp_submul_1()
39 cy_limb = (prod_low < cy_limb ? 1 : 0) + prod_high; in mpihelp_submul_1()
43 cy_limb += prod_low > x ? 1 : 0; in mpihelp_submul_1()
47 return cy_limb; in mpihelp_submul_1()
Dgeneric_mpih-mul2.c23 mpi_limb_t cy_limb; in mpihelp_addmul_1() local
34 cy_limb = 0; in mpihelp_addmul_1()
38 prod_low += cy_limb; in mpihelp_addmul_1()
39 cy_limb = (prod_low < cy_limb ? 1 : 0) + prod_high; in mpihelp_addmul_1()
43 cy_limb += prod_low < x ? 1 : 0; in mpihelp_addmul_1()
46 return cy_limb; in mpihelp_addmul_1()
Dgeneric_mpih-mul1.c23 mpi_limb_t cy_limb; in mpihelp_mul_1() local
35 cy_limb = 0; in mpihelp_mul_1()
38 prod_low += cy_limb; in mpihelp_mul_1()
39 cy_limb = (prod_low < cy_limb ? 1 : 0) + prod_high; in mpihelp_mul_1()
43 return cy_limb; in mpihelp_mul_1()
Dmpih-mul.c110 mpi_limb_t cy_limb; in mul_n() local
113 cy_limb = mpihelp_addmul_1(prodp + esize, up, esize, vp[esize]); in mul_n()
114 prodp[esize + esize] = cy_limb; in mul_n()
115 cy_limb = mpihelp_addmul_1(prodp + esize, vp, size, up[esize]); in mul_n()
116 prodp[esize + size] = cy_limb; in mul_n()
210 mpi_limb_t cy_limb; in mpih_sqr_n_basecase() local
221 cy_limb = 0; in mpih_sqr_n_basecase()
223 cy_limb = mpihelp_mul_1(prodp, up, size, v_limb); in mpih_sqr_n_basecase()
225 prodp[size] = cy_limb; in mpih_sqr_n_basecase()
233 cy_limb = 0; in mpih_sqr_n_basecase()
[all …]
Dmpih-div.c317 mpi_limb_t cy_limb; in mpihelp_divrem() local
353 cy_limb = mpihelp_submul_1(np, dp, dsize, q); in mpihelp_divrem()
355 if (n2 != cy_limb) { in mpihelp_divrem()