mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 02:05:45 +01:00
Document ct_lt_mpi_uint
This commit is contained in:
parent
b11ce0ec2d
commit
45ec990711
@ -1071,6 +1071,13 @@ int mbedtls_mpi_cmp_mpi( const mbedtls_mpi *X, const mbedtls_mpi *Y )
|
|||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Decide if an integer is less than the other, without branches.
|
||||||
|
*
|
||||||
|
* \param x First integer.
|
||||||
|
* \param y Second integer.
|
||||||
|
*
|
||||||
|
* \return 1 if \p x is less than \p y, 0 otherwise
|
||||||
|
*/
|
||||||
static unsigned ct_lt_mpi_uint( const mbedtls_mpi_uint x,
|
static unsigned ct_lt_mpi_uint( const mbedtls_mpi_uint x,
|
||||||
const mbedtls_mpi_uint y )
|
const mbedtls_mpi_uint y )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user