Remove const qualifier for mutable local variable in mpi_mul_hlp()

Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
Hanno Becker 2022-04-11 09:46:47 +01:00
parent 284d778d28
commit 5d4ceeb25c

View file

@ -1391,7 +1391,7 @@ mbedtls_mpi_uint mbedtls_mpi_core_mla( mbedtls_mpi_uint *d, size_t d_len,
mbedtls_mpi_uint b )
{
mbedtls_mpi_uint c = 0; /* carry */
size_t const excess_len = d_len - s_len;
size_t excess_len = d_len - s_len;
#if defined(MULADDC_HUIT)
for( ; s_len >= 8; s_len -= 8 )