mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-27 06:35:22 +00:00
mpi_exp_mod: use x_index consistently
Signed-off-by: Janos Follath <janos.follath@arm.com>
This commit is contained in:
parent
33480a372b
commit
3165f063b5
@ -2253,7 +2253,7 @@ cleanup:
|
|||||||
for( i = w_table_used_size/2; i < w_table_used_size; i++ )
|
for( i = w_table_used_size/2; i < w_table_used_size; i++ )
|
||||||
mbedtls_mpi_free( &W[i] );
|
mbedtls_mpi_free( &W[i] );
|
||||||
|
|
||||||
mbedtls_mpi_free( &W[0] );
|
mbedtls_mpi_free( &W[x_index] );
|
||||||
mbedtls_mpi_free( &W[1] );
|
mbedtls_mpi_free( &W[1] );
|
||||||
mbedtls_mpi_free( &T );
|
mbedtls_mpi_free( &T );
|
||||||
mbedtls_mpi_free( &Apos );
|
mbedtls_mpi_free( &Apos );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user