mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-29 22:20:30 +00:00
Use size_t for number of limbs
Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
parent
6454993e2e
commit
e9dd9a1f31
@ -5222,7 +5222,7 @@ static int ecp_mod_p255( mbedtls_mpi *N )
|
|||||||
|
|
||||||
/* Helper references for top part of N */
|
/* Helper references for top part of N */
|
||||||
mbedtls_mpi_uint * const NT_p = N->p + P255_WIDTH;
|
mbedtls_mpi_uint * const NT_p = N->p + P255_WIDTH;
|
||||||
unsigned const NT_n = N->n - P255_WIDTH;
|
size_t const NT_n = N->n - P255_WIDTH;
|
||||||
if( NT_n == 0 || NT_n > P255_WIDTH )
|
if( NT_n == 0 || NT_n > P255_WIDTH )
|
||||||
return( 0 );
|
return( 0 );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user