Home
last modified time | relevance | path

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

/lib/math/
Dgcd.c42 swap(a, b); in gcd()
74 swap(a, b); in gcd()
/lib/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()
/lib/
Dgeneric-radix-tree.c151 swap(n, new_node); in __genradix_ptr_alloc()