Home
last modified time | relevance | path

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

/optee_os/lib/libutils/isoc/
H A Dqsort.c60 #define swap(a, b) \ macro
87 swap(pl, pl - es); in qsort()
102 swap(a, pm); in qsort()
110 swap(pa, pb); in qsort()
118 swap(pc, pd); in qsort()
125 swap(pb, pc); in qsort()
134 swap(pl, pl - es); in qsort()
/optee_os/lib/libmbedtls/mbedtls/library/
H A Dbignum_mod_raw.h129 unsigned char swap);
H A Dbignum_mod_raw.c37 unsigned char swap) in mbedtls_mpi_mod_raw_cond_swap() argument
39 mbedtls_mpi_core_cond_swap(X, Y, N->limbs, mbedtls_ct_bool(swap)); in mbedtls_mpi_mod_raw_cond_swap()
H A Dbignum_core.h225 mbedtls_ct_condition_t swap);
H A Dbignum_core.c190 mbedtls_ct_condition_t swap) in mbedtls_mpi_core_cond_swap() argument
198 X[i] = mbedtls_ct_mpi_uint_if(swap, Y[i], X[i]); in mbedtls_mpi_core_cond_swap()
199 Y[i] = mbedtls_ct_mpi_uint_if(swap, tmp, Y[i]); in mbedtls_mpi_core_cond_swap()
H A Dbignum.c154 unsigned char swap) in mbedtls_mpi_safe_cond_swap() argument
163 mbedtls_ct_condition_t do_swap = mbedtls_ct_bool(swap); in mbedtls_mpi_safe_cond_swap()
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dbignum.h379 int mbedtls_mpi_safe_cond_swap(mbedtls_mpi *X, mbedtls_mpi *Y, unsigned char swap);
/optee_os/lib/libmbedtls/mbedtls/
H A DChangeLog1552 * Fixed swap of client and server random bytes when exporting them alongside