Lines Matching refs:mpi_t
294 mbedtls_mpi mpi_t; in TEE_BigIntShiftRight() local
296 get_mpi(&mpi_t, NULL); in TEE_BigIntShiftRight()
303 MPI_CHECK(mbedtls_mpi_copy(&mpi_t, &mpi_op)); in TEE_BigIntShiftRight()
304 MPI_CHECK(mbedtls_mpi_shift_r(&mpi_t, bits)); in TEE_BigIntShiftRight()
305 MPI_CHECK(mbedtls_mpi_copy(&mpi_dest, &mpi_t)); in TEE_BigIntShiftRight()
307 mbedtls_mpi_free(&mpi_t); in TEE_BigIntShiftRight()
444 mbedtls_mpi mpi_t; in bigint_binary_mod() local
464 get_mpi(&mpi_t, NULL); in bigint_binary_mod()
466 MPI_CHECK(func(&mpi_t, pop1, pop2)); in bigint_binary_mod()
467 MPI_CHECK(mbedtls_mpi_mod_mpi(&mpi_dest, &mpi_t, &mpi_n)); in bigint_binary_mod()
475 mbedtls_mpi_free(&mpi_t); in bigint_binary_mod()
998 mbedtls_mpi mpi_t; in TEE_BigIntComputeFMM() local
1004 get_mpi(&mpi_t, NULL); in TEE_BigIntComputeFMM()
1006 MPI_CHECK(mbedtls_mpi_mul_mpi(&mpi_t, &mpi_op1, &mpi_op2)); in TEE_BigIntComputeFMM()
1007 MPI_CHECK(mbedtls_mpi_mod_mpi(&mpi_dst, &mpi_t, &mpi_n)); in TEE_BigIntComputeFMM()
1009 mbedtls_mpi_free(&mpi_t); in TEE_BigIntComputeFMM()