Home
last modified time | relevance | path

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

/optee_os/lib/libutee/
H A Dtee_api_arith_mpi.c841 mbedtls_mpi mpi_u; in TEE_BigIntComputeExtendedGcd() local
850 get_mpi(&mpi_u, u); in TEE_BigIntComputeExtendedGcd()
856 MPI_CHECK(mbedtls_mpi_lset(&mpi_u, 1)); 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()
864 mpi_u.s *= s1; in TEE_BigIntComputeExtendedGcd()
868 MPI_CHECK(copy_mpi_to_bigint(&mpi_u, u)); in TEE_BigIntComputeExtendedGcd()
871 mbedtls_mpi_free(&mpi_u); in TEE_BigIntComputeExtendedGcd()