Calling the residue_release() is not needed
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
parent
8a26164684
commit
61fd1fb4b1
1 changed files with 0 additions and 8 deletions
|
@ -181,10 +181,6 @@ void mpi_mod_mul( char * input_A,
|
||||||
}
|
}
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
mbedtls_mpi_mod_residue_release( &rA );
|
|
||||||
mbedtls_mpi_mod_residue_release( &rB );
|
|
||||||
mbedtls_mpi_mod_residue_release( &rR );
|
|
||||||
mbedtls_mpi_mod_residue_release( &rX );
|
|
||||||
mbedtls_mpi_mod_modulus_free( &m );
|
mbedtls_mpi_mod_modulus_free( &m );
|
||||||
|
|
||||||
mbedtls_free( rA.p );
|
mbedtls_free( rA.p );
|
||||||
|
@ -237,10 +233,6 @@ void mpi_mod_mul_neg( char * input_A,
|
||||||
MBEDTLS_ERR_MPI_BAD_INPUT_DATA );
|
MBEDTLS_ERR_MPI_BAD_INPUT_DATA );
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
mbedtls_mpi_mod_residue_release( &rA );
|
|
||||||
mbedtls_mpi_mod_residue_release( &rB );
|
|
||||||
mbedtls_mpi_mod_residue_release( &rR );
|
|
||||||
mbedtls_mpi_mod_residue_release( &rX );
|
|
||||||
mbedtls_mpi_mod_modulus_free( &m );
|
mbedtls_mpi_mod_modulus_free( &m );
|
||||||
mbedtls_mpi_mod_modulus_free( &fake_m );
|
mbedtls_mpi_mod_modulus_free( &fake_m );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue