Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libutee/
A Dtee_api_arith_mpi.c567 mbedtls_mpi gcd; in TEE_BigIntRelativePrime() local
576 get_mpi(&gcd, NULL); in TEE_BigIntRelativePrime()
580 rc = !mbedtls_mpi_cmp_int(&gcd, 1); in TEE_BigIntRelativePrime()
582 mbedtls_mpi_free(&gcd); in TEE_BigIntRelativePrime()
628 MPI_CHECK(mbedtls_mpi_copy(gcd, x_in)); in mpi_egcd()
643 MPI_CHECK(mbedtls_mpi_copy(gcd, &y)); in mpi_egcd()
660 while (mpi_is_even(gcd)) { in mpi_egcd()
661 MPI_CHECK(mbedtls_mpi_shift_r(gcd, 1)); in mpi_egcd()
676 MPI_CHECK(mbedtls_mpi_sub_mpi(gcd, gcd, &u)); in mpi_egcd()
684 MPI_CHECK(mbedtls_mpi_shift_l(gcd, k)); in mpi_egcd()
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_math.h288 int (*gcd)(void *a, void *b, void *c); member
A Dtomcrypt_private.h207 #define mp_gcd(a, b, c) ltc_mp.gcd(a, b, c)
/optee_os-3.20.0/core/lib/libtomcrypt/
A Dmpi_desc.c391 static int gcd(void *a, void *b, void *c) in gcd() function
666 .gcd = gcd,
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/
A Dltm_desc.c335 static int gcd(void *a, void *b, void *c) in gcd() function
509 &gcd,
A Dgmp_desc.c435 static int gcd(void *a, void *b, void *c) in gcd() function
607 &gcd,
A Dtfm_desc.c297 static int gcd(void *a, void *b, void *c) in gcd() function
801 &gcd,
/optee_os-3.20.0/lib/libutee/include/
A Dtee_internal_api.h426 void TEE_BigIntComputeExtendedGcd(TEE_BigInt *gcd, TEE_BigInt *u,

Completed in 14 milliseconds