Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/mpi/
Dmpi-inline.h24 mpihelp_add_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_add_1() argument
29 x = *s1_ptr++; in mpihelp_add_1()
34 x = *s1_ptr++ + 1; /* add carry */ in mpihelp_add_1()
43 if (res_ptr != s1_ptr) { /* not the same variable */ in mpihelp_add_1()
46 res_ptr[i] = s1_ptr[i]; 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() argument
58 cy = mpihelp_add_n(res_ptr, s1_ptr, s2_ptr, s2_size); in mpihelp_add()
61 cy = mpihelp_add_1(res_ptr + s2_size, s1_ptr + s2_size, in mpihelp_add()
67 mpihelp_sub_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_sub_1() argument
72 x = *s1_ptr++; in mpihelp_sub_1()
[all …]
Dmpi-internal.h146 static inline mpi_limb_t mpihelp_add_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
148 mpi_limb_t mpihelp_add_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
150 static inline mpi_limb_t mpihelp_add(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
153 static inline mpi_limb_t mpihelp_sub_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
155 mpi_limb_t mpihelp_sub_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
157 static inline mpi_limb_t mpihelp_sub(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
175 mpi_limb_t mpihelp_addmul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
177 mpi_limb_t mpihelp_submul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
193 mpi_limb_t mpihelp_mul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
Dgeneric_mpih-mul1.c20 mpihelp_mul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, in mpihelp_mul_1() argument
32 s1_ptr -= j; in mpihelp_mul_1()
37 umul_ppmm(prod_high, prod_low, s1_ptr[j], s2_limb); in mpihelp_mul_1()
Dgeneric_mpih-sub1.c20 mpihelp_sub_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_sub_n() argument
31 s1_ptr -= j; in mpihelp_sub_n()
38 x = s1_ptr[j]; in mpihelp_sub_n()
Dgeneric_mpih-add1.c21 mpihelp_add_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_add_n() argument
32 s1_ptr -= j; in mpihelp_add_n()
39 x = s1_ptr[j]; in mpihelp_add_n()
Dgeneric_mpih-mul3.c20 mpihelp_submul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_submul_1() argument
32 s1_ptr -= j; in mpihelp_submul_1()
36 umul_ppmm(prod_high, prod_low, s1_ptr[j], s2_limb); in mpihelp_submul_1()
Dgeneric_mpih-mul2.c20 mpihelp_addmul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_addmul_1() argument
32 s1_ptr -= j; in mpihelp_addmul_1()
36 umul_ppmm(prod_high, prod_low, s1_ptr[j], s2_limb); in mpihelp_addmul_1()