Home
last modified time | relevance | path

Searched refs:s1_ptr (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/lib/mpi/
Dmpi-inline.h37 mpihelp_add_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_add_1() argument
42 x = *s1_ptr++; in mpihelp_add_1()
47 x = *s1_ptr++ + 1; /* add carry */ in mpihelp_add_1()
56 if (res_ptr != s1_ptr) { /* not the same variable */ in mpihelp_add_1()
59 res_ptr[i] = s1_ptr[i]; 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() argument
71 cy = mpihelp_add_n(res_ptr, s1_ptr, s2_ptr, s2_size); in mpihelp_add()
74 cy = mpihelp_add_1(res_ptr + s2_size, s1_ptr + s2_size, in mpihelp_add()
80 mpihelp_sub_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_sub_1() argument
85 x = *s1_ptr++; in mpihelp_sub_1()
[all …]
Dmpi-internal.h113 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,
117 static inline mpi_limb_t mpihelp_add(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
120 static inline mpi_limb_t mpihelp_sub_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
122 mpi_limb_t mpihelp_sub_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
124 static inline mpi_limb_t mpihelp_sub(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
142 mpi_limb_t mpihelp_addmul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
144 mpi_limb_t mpihelp_submul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
158 mpi_limb_t mpihelp_mul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
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() argument
45 s1_ptr -= j; in mpihelp_mul_1()
50 umul_ppmm(prod_high, prod_low, s1_ptr[j], s2_limb); in mpihelp_mul_1()
Dgeneric_mpih-sub1.c33 mpihelp_sub_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_sub_n() argument
44 s1_ptr -= j; in mpihelp_sub_n()
51 x = s1_ptr[j]; in mpihelp_sub_n()
Dgeneric_mpih-add1.c34 mpihelp_add_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_add_n() argument
45 s1_ptr -= j; in mpihelp_add_n()
52 x = s1_ptr[j]; in mpihelp_add_n()
Dgeneric_mpih-mul3.c33 mpihelp_submul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_submul_1() argument
45 s1_ptr -= j; in mpihelp_submul_1()
49 umul_ppmm(prod_high, prod_low, s1_ptr[j], s2_limb); in mpihelp_submul_1()
Dgeneric_mpih-mul2.c33 mpihelp_addmul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_addmul_1() argument
45 s1_ptr -= j; in mpihelp_addmul_1()
49 umul_ppmm(prod_high, prod_low, s1_ptr[j], s2_limb); in mpihelp_addmul_1()