/linux/lib/mpi/ |
A D | mpi-internal.h | 64 mpi_size_t _i; \ 71 mpi_size_t _i; \ 79 mpi_size_t _i; \ 149 mpi_ptr_t s2_ptr, mpi_size_t size); 156 mpi_ptr_t s2_ptr, mpi_size_t size); 168 mpi_size_t tspace_size; 170 mpi_size_t tp_size; 188 mpi_ptr_t up, mpi_size_t usize, 189 mpi_ptr_t vp, mpi_size_t vsize, 200 mpi_ptr_t np, mpi_size_t nsize, [all …]
|
A D | mpi-inline.h | 25 mpi_size_t s1_size, mpi_limb_t s2_limb) in mpihelp_add_1() 44 mpi_size_t i; /* copy the rest */ in mpihelp_add_1() 52 mpihelp_add(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, in mpihelp_add() 53 mpi_ptr_t s2_ptr, mpi_size_t s2_size) in mpihelp_add() 68 mpi_size_t s1_size, mpi_limb_t s2_limb) in mpihelp_sub_1() 87 mpi_size_t i; in mpihelp_sub_1() 95 mpihelp_sub(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, in mpihelp_sub() 96 mpi_ptr_t s2_ptr, mpi_size_t s2_size) in mpihelp_sub()
|
A D | mpih-mul.c | 57 mpi_size_t i; in mul_n_basecase() 96 mpi_size_t size, mpi_ptr_t tspace) in mul_n() 109 mpi_size_t esize = size - 1; /* even size */ in mul_n() 133 mpi_size_t hsize = size >> 1; in mul_n() 209 mpi_size_t i; in mpih_sqr_n_basecase() 258 mpi_size_t esize = size - 1; /* even size */ in mpih_sqr_n() 268 mpi_size_t hsize = size >> 1; in mpih_sqr_n() 322 mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size) in mpihelp_mul_n() 347 mpi_ptr_t up, mpi_size_t usize, in mpihelp_mul_karatsuba_case() 348 mpi_ptr_t vp, mpi_size_t vsize, in mpihelp_mul_karatsuba_case() [all …]
|
A D | mpih-div.c | 29 mpihelp_mod_1(mpi_ptr_t dividend_ptr, mpi_size_t dividend_size, in mpihelp_mod_1() 32 mpi_size_t i; in mpihelp_mod_1() 189 mpihelp_divrem(mpi_ptr_t qp, mpi_size_t qextra_limbs, in mpihelp_divrem() 190 mpi_ptr_t np, mpi_size_t nsize, mpi_ptr_t dp, mpi_size_t dsize) in mpihelp_divrem() 206 mpi_size_t i; in mpihelp_divrem() 232 mpi_size_t i; in mpihelp_divrem() 297 mpi_size_t i; in mpihelp_divrem() 380 mpi_ptr_t dividend_ptr, mpi_size_t dividend_size, in mpihelp_divmod_1() 383 mpi_size_t i; in mpihelp_divmod_1()
|
A D | mpi-div.c | 87 mpi_size_t nsize = num->nlimbs; in mpi_tdiv_qr() 88 mpi_size_t dsize = den->nlimbs; in mpi_tdiv_qr() 89 mpi_size_t qsize, rsize; in mpi_tdiv_qr() 90 mpi_size_t sign_remainder = num->sign; in mpi_tdiv_qr() 91 mpi_size_t sign_quotient = num->sign ^ den->sign; in mpi_tdiv_qr()
|
A D | mpi-pow.c | 31 mpi_size_t esize, msize, bsize, rsize; in mpi_powm() 33 mpi_size_t size; in mpi_powm() 37 mpi_size_t tsize = 0; /* to avoid compiler warning */ in mpi_powm() 149 mpi_size_t i; in mpi_powm() 180 mpi_size_t xsize; in mpi_powm()
|
A D | mpih-cmp.c | 25 int mpihelp_cmp(mpi_ptr_t op1_ptr, mpi_ptr_t op2_ptr, mpi_size_t size) in mpihelp_cmp() 27 mpi_size_t i; in mpihelp_cmp()
|
A D | generic_mpih-mul1.c | 20 mpihelp_mul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, in mpihelp_mul_1() 24 mpi_size_t j; in mpihelp_mul_1()
|
A D | generic_mpih-add1.c | 22 mpi_ptr_t s2_ptr, mpi_size_t size) in mpihelp_add_n() 25 mpi_size_t j; in mpihelp_add_n()
|
A D | generic_mpih-sub1.c | 21 mpi_ptr_t s2_ptr, mpi_size_t size) in mpihelp_sub_n() 24 mpi_size_t j; in mpihelp_sub_n()
|
A D | generic_mpih-lshift.c | 28 mpihelp_lshift(mpi_ptr_t wp, mpi_ptr_t up, mpi_size_t usize, unsigned int cnt) in mpihelp_lshift() 32 mpi_size_t i; in mpihelp_lshift()
|
A D | generic_mpih-rshift.c | 29 mpihelp_rshift(mpi_ptr_t wp, mpi_ptr_t up, mpi_size_t usize, unsigned cnt) in mpihelp_rshift() 33 mpi_size_t i; in mpihelp_rshift()
|
A D | generic_mpih-mul2.c | 21 mpi_size_t s1_size, mpi_limb_t s2_limb) in mpihelp_addmul_1() 24 mpi_size_t j; in mpihelp_addmul_1()
|
A D | generic_mpih-mul3.c | 21 mpi_size_t s1_size, mpi_limb_t s2_limb) in mpihelp_submul_1() 24 mpi_size_t j; in mpihelp_submul_1()
|
A D | mpi-cmp.c | 46 mpi_size_t usize; in do_mpi_cmp() 47 mpi_size_t vsize; in do_mpi_cmp()
|
A D | mpiutil.c | 253 mpi_size_t usize = u->nlimbs; in mpi_set() 302 mpi_size_t i; in mpi_swap_cond() 303 mpi_size_t nlimbs; in mpi_swap_cond()
|
A D | mpi-add.c | 23 mpi_size_t usize, wsize; in mpi_add_ui() 70 mpi_size_t usize, vsize, wsize; in mpi_add()
|
A D | mpi-bit.c | 161 mpi_size_t n = a->nlimbs; in mpi_rshift_limbs() 180 mpi_size_t xsize; in mpi_rshift()
|
A D | ec.c | 183 mpi_size_t usize, unsigned long set) in mpih_set_cond() 185 mpi_size_t i; in mpih_set_cond() 202 mpi_size_t wsize = LIMB_SIZE_25519; in ec_addm_25519() 224 mpi_size_t wsize = LIMB_SIZE_25519; in ec_subm_25519() 245 mpi_size_t wsize = LIMB_SIZE_25519; in ec_mulm_25519() 309 mpi_size_t wsize = LIMB_SIZE_448; in ec_addm_448() 329 mpi_size_t wsize = LIMB_SIZE_448; in ec_subm_448() 349 mpi_size_t wsize = LIMB_SIZE_448; in ec_mulm_448() 1254 mpi_size_t rsize; in mpi_ec_mul_point()
|
A D | mpi-mul.c | 18 mpi_size_t usize, vsize, wsize; in mpi_mul()
|