Searched refs:gcd (Results 1 – 8 of 8) sorted by relevance
/optee_os-3.20.0/lib/libutee/ |
A D | tee_api_arith_mpi.c | 567 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 D | tomcrypt_math.h | 288 int (*gcd)(void *a, void *b, void *c); member
|
A D | tomcrypt_private.h | 207 #define mp_gcd(a, b, c) ltc_mp.gcd(a, b, c)
|
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | mpi_desc.c | 391 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 D | ltm_desc.c | 335 static int gcd(void *a, void *b, void *c) in gcd() function 509 &gcd,
|
A D | gmp_desc.c | 435 static int gcd(void *a, void *b, void *c) in gcd() function 607 &gcd,
|
A D | tfm_desc.c | 297 static int gcd(void *a, void *b, void *c) in gcd() function 801 &gcd,
|
/optee_os-3.20.0/lib/libutee/include/ |
A D | tee_internal_api.h | 426 void TEE_BigIntComputeExtendedGcd(TEE_BigInt *gcd, TEE_BigInt *u,
|
Completed in 14 milliseconds