Home
last modified time | relevance | path

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

/lib/
Dsort.c132 swap_func_t swap; member
142 ((const struct wrapper *)priv)->swap(a, b, (int)size); in do_swap()
223 if (swap_func == SWAP_WRAPPER && !((struct wrapper *)priv)->swap) in sort_r()
287 .swap = swap_func, in sort()
Dgeneric-radix-tree.c151 swap(n, new_node); in __genradix_ptr_alloc()
Dtest_vmalloc.c440 swap(arr[i], arr[j]); in shuffle_array()
/lib/math/
Dgcd.c42 swap(a, b); in gcd()
74 swap(a, b); in gcd()
/lib/crypto/mpi/
Dmpiutil.c300 void mpi_swap_cond(MPI a, MPI b, unsigned long swap) in mpi_swap_cond() argument
304 mpi_limb_t mask = ((mpi_limb_t)0) - swap; in mpi_swap_cond()
Dec.c103 static void point_swap_cond(MPI_POINT d, MPI_POINT s, unsigned long swap, in point_swap_cond() argument
106 mpi_swap_cond(d->x, s->x, swap); in point_swap_cond()
108 mpi_swap_cond(d->y, s->y, swap); in point_swap_cond()
109 mpi_swap_cond(d->z, s->z, swap); in point_swap_cond()
/lib/crypto/
Dcurve25519-fiat32.c762 unsigned swap = 0; in curve25519_generic() local
815 swap ^= b; in curve25519_generic()
816 fe_cswap(&x2, &x3, swap); in curve25519_generic()
817 fe_cswap(&z2, &z3, swap); in curve25519_generic()
818 swap = b; in curve25519_generic()
848 fe_cswap(&x2, &x3, swap); in curve25519_generic()
849 fe_cswap(&z2, &z3, swap); in curve25519_generic()