Home
last modified time | relevance | path

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

/optee_os/lib/libutee/
H A Dtee_api_arith_mpi.c825 mbedtls_mpi mpi_gcd_res; in TEE_BigIntComputeExtendedGcd() local
830 get_mpi(&mpi_gcd_res, gcd); in TEE_BigIntComputeExtendedGcd()
839 MPI_CHECK(mbedtls_mpi_gcd(&mpi_gcd_res, &mpi_op1, pop2)); in TEE_BigIntComputeExtendedGcd()
855 MPI_CHECK(mbedtls_mpi_copy(&mpi_gcd_res, &mpi_op1)); in TEE_BigIntComputeExtendedGcd()
859 mpi_egcd(&mpi_gcd_res, &mpi_u, &mpi_v, &mpi_op1, pop2); in TEE_BigIntComputeExtendedGcd()
861 mpi_egcd(&mpi_gcd_res, &mpi_v, &mpi_u, pop2, &mpi_op1); in TEE_BigIntComputeExtendedGcd()
875 MPI_CHECK(copy_mpi_to_bigint(&mpi_gcd_res, gcd)); in TEE_BigIntComputeExtendedGcd()
876 mbedtls_mpi_free(&mpi_gcd_res); in TEE_BigIntComputeExtendedGcd()