Searched refs:s1_ptr (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/lib/crypto/mpi/ |
D | mpi-inline.h | 24 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 …]
|
D | mpi-internal.h | 146 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,
|
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() 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()
|
D | generic_mpih-sub1.c | 20 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()
|
D | generic_mpih-add1.c | 21 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()
|
D | generic_mpih-mul3.c | 20 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()
|
D | generic_mpih-mul2.c | 20 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()
|