Home
last modified time | relevance | path

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

/lib/crypto/mpi/
A Dmpi-inline.h24 mpihelp_add_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_add_1() argument
31 *res_ptr++ = s2_limb; in mpihelp_add_1()
35 *res_ptr++ = x; /* and store */ 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()
58 cy = mpihelp_add_n(res_ptr, s1_ptr, s2_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
74 *res_ptr++ = s2_limb; in mpihelp_sub_1()
78 *res_ptr++ = x - 1; in mpihelp_sub_1()
86 if (res_ptr != s1_ptr) { in mpihelp_sub_1()
[all …]
A Dgeneric_mpih-mul2.c20 mpihelp_addmul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_addmul_1() argument
31 res_ptr -= j; in mpihelp_addmul_1()
41 x = res_ptr[j]; in mpihelp_addmul_1()
44 res_ptr[j] = prod_low; in mpihelp_addmul_1()
A Dgeneric_mpih-mul3.c20 mpihelp_submul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_submul_1() argument
31 res_ptr -= j; in mpihelp_submul_1()
41 x = res_ptr[j]; in mpihelp_submul_1()
44 res_ptr[j] = prod_low; in mpihelp_submul_1()
A Dmpi-internal.h139 static inline mpi_limb_t mpihelp_add_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
141 mpi_limb_t mpihelp_add_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
143 static inline mpi_limb_t mpihelp_add(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
146 static inline mpi_limb_t mpihelp_sub_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
148 mpi_limb_t mpihelp_sub_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
150 static inline mpi_limb_t mpihelp_sub(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size,
168 mpi_limb_t mpihelp_addmul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
170 mpi_limb_t mpihelp_submul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
184 mpi_limb_t mpihelp_mul_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr,
A 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
33 res_ptr -= j; in mpihelp_mul_1()
40 res_ptr[j] = prod_low; in mpihelp_mul_1()
A Dgeneric_mpih-add1.c21 mpihelp_add_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_add_n() argument
34 res_ptr -= j; in mpihelp_add_n()
44 res_ptr[j] = y; in mpihelp_add_n()
A Dgeneric_mpih-sub1.c20 mpihelp_sub_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, in mpihelp_sub_n() argument
33 res_ptr -= j; in mpihelp_sub_n()
43 res_ptr[j] = y; in mpihelp_sub_n()

Completed in 9 milliseconds