mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
mpi_mul_hlp: microoptimization
If c == 0, no need to add it to *d. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
@ -1607,10 +1607,10 @@ void mpi_mul_hlp( size_t i,
|
|||||||
|
|
||||||
t++;
|
t++;
|
||||||
|
|
||||||
do {
|
while( c != 0 )
|
||||||
|
{
|
||||||
*d += c; c = ( *d < c ); d++;
|
*d += c; c = ( *d < c ); d++;
|
||||||
}
|
}
|
||||||
while( c != 0 );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user