Improve style

Signed-off-by: Janos Follath <janos.follath@arm.com>
This commit is contained in:
Janos Follath 2024-02-19 11:29:34 +00:00
parent 467a5499a5
commit 518b5b60c6

View File

@ -1671,8 +1671,8 @@ int mbedtls_mpi_exp_mod(mbedtls_mpi *X, const mbedtls_mpi *A,
/* /*
* Allocate working memory for mbedtls_mpi_core_exp_mod() * Allocate working memory for mbedtls_mpi_core_exp_mod()
*/ */
MBEDTLS_MPI_CHK(mbedtls_mpi_grow(&T, size_t T_limbs = mbedtls_mpi_core_exp_mod_working_limbs(N->n, E->n);
mbedtls_mpi_core_exp_mod_working_limbs(N->n, E->n))); MBEDTLS_MPI_CHK(mbedtls_mpi_grow(&T, T_limbs));
/* /*
* Convert to and from Montgomery around mbedtls_mpi_core_exp_mod(). * Convert to and from Montgomery around mbedtls_mpi_core_exp_mod().