/linux-4.19.296/lib/mpi/ |
D | mpi-internal.h | 65 typedef mpi_limb_t *mpi_ptr_t; /* pointer to a limb */ typedef 109 mpi_ptr_t mpi_alloc_limb_space(unsigned nlimbs); 110 void mpi_free_limb_space(mpi_ptr_t a); 111 void mpi_assign_limb_space(MPI a, mpi_ptr_t ap, unsigned nlimbs); 113 static inline mpi_limb_t mpihelp_add_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, 115 mpi_limb_t mpihelp_add_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, 116 mpi_ptr_t s2_ptr, mpi_size_t size); 117 static inline mpi_limb_t mpihelp_add(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, 118 mpi_ptr_t s2_ptr, mpi_size_t s2_size); 120 static inline mpi_limb_t mpihelp_sub_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, [all …]
|
D | mpi-inline.h | 37 mpihelp_add_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_add_1() 65 mpihelp_add(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, in mpihelp_add() 66 mpi_ptr_t s2_ptr, mpi_size_t s2_size) in mpihelp_add() 80 mpihelp_sub_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_sub_1() 108 mpihelp_sub(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, in mpihelp_sub() 109 mpi_ptr_t s2_ptr, mpi_size_t s2_size) in mpihelp_sub()
|
D | mpih-mul.c | 68 mul_n_basecase(mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size) in mul_n_basecase() 108 mul_n(mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, in mul_n() 109 mpi_size_t size, mpi_ptr_t tspace) in mul_n() 220 void mpih_sqr_n_basecase(mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t size) in mpih_sqr_n_basecase() 258 mpih_sqr_n(mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t size, mpi_ptr_t tspace) in mpih_sqr_n() 334 mpihelp_mul_karatsuba_case(mpi_ptr_t prodp, in mpihelp_mul_karatsuba_case() 335 mpi_ptr_t up, mpi_size_t usize, in mpihelp_mul_karatsuba_case() 336 mpi_ptr_t vp, mpi_size_t vsize, in mpihelp_mul_karatsuba_case() 440 mpihelp_mul(mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t usize, in mpihelp_mul() 441 mpi_ptr_t vp, mpi_size_t vsize, mpi_limb_t *_result) in mpihelp_mul() [all …]
|
D | generic_mpih-sub1.c | 33 mpihelp_sub_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_sub_n() 34 mpi_ptr_t s2_ptr, mpi_size_t size) in mpihelp_sub_n()
|
D | generic_mpih-add1.c | 34 mpihelp_add_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_add_n() 35 mpi_ptr_t s2_ptr, mpi_size_t size) in mpihelp_add_n()
|
D | mpiutil.c | 57 mpi_ptr_t mpi_alloc_limb_space(unsigned nlimbs) in mpi_alloc_limb_space() 67 void mpi_free_limb_space(mpi_ptr_t a) in mpi_free_limb_space() 75 void mpi_assign_limb_space(MPI a, mpi_ptr_t ap, unsigned nlimbs) in mpi_assign_limb_space()
|
D | mpi-pow.c | 39 mpi_ptr_t mp_marker = NULL, bp_marker = NULL, ep_marker = NULL; in mpi_powm() 41 mpi_ptr_t xp_marker = NULL; in mpi_powm() 42 mpi_ptr_t tspace = NULL; in mpi_powm() 43 mpi_ptr_t rp, ep, mp, bp; in mpi_powm() 163 mpi_ptr_t xp; in mpi_powm() 192 mpi_ptr_t tp; in mpi_powm()
|
D | mpih-cmp.c | 38 int mpihelp_cmp(mpi_ptr_t op1_ptr, mpi_ptr_t op2_ptr, mpi_size_t size) in mpihelp_cmp()
|
D | generic_mpih-mul1.c | 33 mpihelp_mul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, in mpihelp_mul_1()
|
D | generic_mpih-lshift.c | 41 mpihelp_lshift(mpi_ptr_t wp, mpi_ptr_t up, mpi_size_t usize, unsigned int cnt) in mpihelp_lshift()
|
D | generic_mpih-rshift.c | 42 mpihelp_rshift(mpi_ptr_t wp, mpi_ptr_t up, mpi_size_t usize, unsigned cnt) in mpihelp_rshift()
|
D | generic_mpih-mul3.c | 33 mpihelp_submul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_submul_1()
|
D | generic_mpih-mul2.c | 33 mpihelp_addmul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_addmul_1()
|
D | mpih-div.c | 58 mpihelp_divrem(mpi_ptr_t qp, mpi_size_t qextra_limbs, in mpihelp_divrem() 59 mpi_ptr_t np, mpi_size_t nsize, mpi_ptr_t dp, mpi_size_t dsize) in mpihelp_divrem()
|