Searched refs:gcd (Results 1 – 8 of 8) sorted by relevance
| /optee_os/lib/libutee/ |
| H A D | tee_api_arith_mpi.c | 650 mbedtls_mpi gcd; in TEE_BigIntRelativePrime() local 659 get_mpi(&gcd, NULL); in TEE_BigIntRelativePrime() 661 MPI_CHECK(mbedtls_mpi_gcd(&gcd, &mpi_op1, &mpi_op2)); in TEE_BigIntRelativePrime() 663 rc = !mbedtls_mpi_cmp_int(&gcd, 1); in TEE_BigIntRelativePrime() 665 mbedtls_mpi_free(&gcd); in TEE_BigIntRelativePrime() 729 static void mpi_egcd(mbedtls_mpi *gcd, mbedtls_mpi *a, mbedtls_mpi *b, in mpi_egcd() argument 753 MPI_CHECK(mbedtls_mpi_copy(gcd, x_in)); in mpi_egcd() 768 MPI_CHECK(mbedtls_mpi_copy(gcd, &y)); in mpi_egcd() 785 while (mpi_is_even(gcd)) { in mpi_egcd() 786 MPI_CHECK(mbedtls_mpi_shift_r(gcd, 1)); in mpi_egcd() [all …]
|
| /optee_os/core/lib/libtomcrypt/ |
| H A D | mpi_desc.c | 390 static int gcd(void *a, void *b, void *c) in gcd() function 665 .gcd = gcd,
|
| /optee_os/core/lib/libtomcrypt/src/headers/ |
| H A D | tomcrypt_math.h | 288 int (*gcd)(void *a, void *b, void *c); member
|
| H A D | tomcrypt_private.h | 232 #define mp_gcd(a, b, c) ltc_mp.gcd(a, b, c)
|
| /optee_os/core/lib/libtomcrypt/src/math/ |
| H A D | ltm_desc.c | 335 static int gcd(void *a, void *b, void *c) in gcd() function 509 &gcd,
|
| H A D | gmp_desc.c | 435 static int gcd(void *a, void *b, void *c) in gcd() function 607 &gcd,
|
| H A D | tfm_desc.c | 297 static int gcd(void *a, void *b, void *c) in gcd() function 801 &gcd,
|
| /optee_os/lib/libutee/include/ |
| H A D | tee_internal_api.h | 615 void TEE_BigIntComputeExtendedGcd(TEE_BigInt *gcd, TEE_BigInt *u,
|