mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-05 16:13:36 +00:00
Improve style
Signed-off-by: Janos Follath <janos.follath@arm.com>
This commit is contained in:
parent
467a5499a5
commit
518b5b60c6
@ -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()
|
||||
*/
|
||||
MBEDTLS_MPI_CHK(mbedtls_mpi_grow(&T,
|
||||
mbedtls_mpi_core_exp_mod_working_limbs(N->n, E->n)));
|
||||
size_t T_limbs = 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().
|
||||
|
Loading…
x
Reference in New Issue
Block a user