Home
last modified time | relevance | path

Searched refs:mpi_size_t (Results 1 – 14 of 14) sorted by relevance

/Linux-v4.19/lib/mpi/
Dmpi-internal.h66 typedef int mpi_size_t; /* (must be a signed type) */ typedef
71 mpi_size_t _i; \
78 mpi_size_t _i; \
114 mpi_size_t s1_size, mpi_limb_t s2_limb);
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);
121 mpi_size_t s1_size, mpi_limb_t s2_limb);
123 mpi_ptr_t s2_ptr, mpi_size_t size);
124 static inline mpi_limb_t mpihelp_sub(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
[all …]
Dmpi-inline.h38 mpi_size_t s1_size, mpi_limb_t s2_limb) in mpihelp_add_1()
57 mpi_size_t i; /* copy the rest */ 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()
81 mpi_size_t s1_size, mpi_limb_t s2_limb) in mpihelp_sub_1()
100 mpi_size_t i; 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()
Dmpih-mul.c68 mul_n_basecase(mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size) in mul_n_basecase()
70 mpi_size_t i; in mul_n_basecase()
109 mpi_size_t size, mpi_ptr_t tspace) in mul_n()
122 mpi_size_t esize = size - 1; /* even size */ in mul_n()
146 mpi_size_t hsize = size >> 1; 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()
222 mpi_size_t i; 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()
271 mpi_size_t esize = size - 1; /* even size */ in mpih_sqr_n()
281 mpi_size_t hsize = size >> 1; in mpih_sqr_n()
[all …]
Dmpih-div.c58 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()
75 mpi_size_t i; in mpihelp_divrem()
101 mpi_size_t i; in mpihelp_divrem()
166 mpi_size_t i; in mpihelp_divrem()
Dmpih-cmp.c38 int mpihelp_cmp(mpi_ptr_t op1_ptr, mpi_ptr_t op2_ptr, mpi_size_t size) in mpihelp_cmp()
40 mpi_size_t i; in mpihelp_cmp()
Dgeneric_mpih-mul1.c33 mpihelp_mul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, in mpihelp_mul_1()
37 mpi_size_t j; in mpihelp_mul_1()
Dgeneric_mpih-add1.c35 mpi_ptr_t s2_ptr, mpi_size_t size) in mpihelp_add_n()
38 mpi_size_t j; in mpihelp_add_n()
Dgeneric_mpih-sub1.c34 mpi_ptr_t s2_ptr, mpi_size_t size) in mpihelp_sub_n()
37 mpi_size_t j; in mpihelp_sub_n()
Dgeneric_mpih-lshift.c41 mpihelp_lshift(mpi_ptr_t wp, mpi_ptr_t up, mpi_size_t usize, unsigned int cnt) in mpihelp_lshift()
45 mpi_size_t i; in mpihelp_lshift()
Dgeneric_mpih-rshift.c42 mpihelp_rshift(mpi_ptr_t wp, mpi_ptr_t up, mpi_size_t usize, unsigned cnt) in mpihelp_rshift()
46 mpi_size_t i; in mpihelp_rshift()
Dmpi-pow.c43 mpi_size_t esize, msize, bsize, rsize; in mpi_powm()
45 mpi_size_t size; in mpi_powm()
49 mpi_size_t tsize = 0; /* to avoid compiler warning */ in mpi_powm()
161 mpi_size_t i; in mpi_powm()
194 mpi_size_t xsize; in mpi_powm()
Dgeneric_mpih-mul2.c34 mpi_size_t s1_size, mpi_limb_t s2_limb) in mpihelp_addmul_1()
37 mpi_size_t j; in mpihelp_addmul_1()
Dgeneric_mpih-mul3.c34 mpi_size_t s1_size, mpi_limb_t s2_limb) in mpihelp_submul_1()
37 mpi_size_t j; in mpihelp_submul_1()
Dmpi-cmp.c46 mpi_size_t usize, vsize; in mpi_cmp()