mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Clarify some comments
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
@ -1973,7 +1973,7 @@ int mbedtls_mpi_random( mbedtls_mpi *X,
|
||||
|
||||
/* Ensure that target MPI has exactly the same number of limbs
|
||||
* as the upper bound, even if the upper bound has leading zeros.
|
||||
* This is necessary for the mbedtls_mpi_lt_mpi_ct() check. */
|
||||
* This is necessary for mbedtls_mpi_core_random. */
|
||||
int ret = mbedtls_mpi_resize_clear( X, N->n );
|
||||
if( ret != 0 )
|
||||
return( ret );
|
||||
|
Reference in New Issue
Block a user