Fix style following review comments
@@ -109,12 +109,14 @@ mbedtls_mpi_uint mbedtls_mpi_core_sub( mbedtls_mpi_uint *d,
const mbedtls_mpi_uint *r,
size_t n )
{
- mbedtls_mpi_uint c = 0, t, z;
+ mbedtls_mpi_uint c = 0;
for( size_t i = 0; i < n; i++ )
{
- z = ( l[i] < c ); t = l[i] - c;
- c = ( t < r[i] ) + z; d[i] = t - r[i];
+ mbedtls_mpi_uint z = ( l[i] < c );
+ mbedtls_mpi_uint t = l[i] - c;
+ c = ( t < r[i] ) + z;
+ d[i] = t - r[i];
}
return( c );
