Lines Matching refs:mpi_op
249 mbedtls_mpi mpi_op; in TEE_BigIntShiftRight() local
258 get_mpi(&mpi_op, op); in TEE_BigIntShiftRight()
260 if (mbedtls_mpi_size(&mpi_dest) >= mbedtls_mpi_size(&mpi_op)) { in TEE_BigIntShiftRight()
261 MPI_CHECK(mbedtls_mpi_copy(&mpi_dest, &mpi_op)); in TEE_BigIntShiftRight()
273 MPI_CHECK(mbedtls_mpi_copy(&mpi_t, &mpi_op)); in TEE_BigIntShiftRight()
280 mbedtls_mpi_free(&mpi_op); in TEE_BigIntShiftRight()
537 mbedtls_mpi mpi_op; in TEE_BigIntInvMod() local
539 mbedtls_mpi *pop = &mpi_op; in TEE_BigIntInvMod()
550 get_mpi(&mpi_op, op); in TEE_BigIntInvMod()
557 if (pop == &mpi_op) in TEE_BigIntInvMod()
558 mbedtls_mpi_free(&mpi_op); in TEE_BigIntInvMod()
766 mbedtls_mpi mpi_op; in TEE_BigIntIsProbablePrime() local
768 get_mpi(&mpi_op, op); in TEE_BigIntIsProbablePrime()
770 rc = mbedtls_mpi_is_prime(&mpi_op, rng_read, NULL); in TEE_BigIntIsProbablePrime()
772 mbedtls_mpi_free(&mpi_op); in TEE_BigIntIsProbablePrime()