mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +00:00
Undo a change
Signed-off-by: Chien Wong <m@xv97.com>
This commit is contained in:
parent
e2caf4161b
commit
2e3858f5eb
@ -1706,7 +1706,7 @@ int mbedtls_mpi_exp_mod(mbedtls_mpi *X, const mbedtls_mpi *A,
|
||||
*/
|
||||
const size_t x_index = 0;
|
||||
mbedtls_mpi_init(&W[x_index]);
|
||||
MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&W[x_index], X));
|
||||
mbedtls_mpi_copy(&W[x_index], X);
|
||||
|
||||
j = N->n + 1;
|
||||
/* All W[i] and X must have at least N->n limbs for the mpi_montmul()
|
||||
|
Loading…
x
Reference in New Issue
Block a user