Remove unused variable in mpi_mul_hlp()

Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
Hanno Becker 2022-04-06 06:11:26 +01:00
parent cccbe0eb88
commit e7f14a3090

View File

@ -1398,7 +1398,7 @@ void mpi_mul_hlp( size_t i,
mbedtls_mpi_uint *d,
mbedtls_mpi_uint b )
{
mbedtls_mpi_uint c = 0, t = 0;
mbedtls_mpi_uint c = 0; /* carry */
#if defined(MULADDC_HUIT)
for( ; i >= 8; i -= 8 )
@ -1449,8 +1449,6 @@ void mpi_mul_hlp( size_t i,
}
#endif /* MULADDC_HUIT */
t++;
while( c != 0 )
{
*d += c; c = ( *d < c ); d++;