commit | 3173a53fe9ba53e5774f2069c80367b92d489a68 | [log] [tgz] |
---|---|---|
author | Janos Follath <janos.follath@arm.com> | Mon Oct 14 09:09:32 2019 +0100 |
committer | Janos Follath <janos.follath@arm.com> | Mon Nov 11 12:27:36 2019 +0000 |
tree | 8eb8bb6b9e793fe4258a8de4eaac37616d9343f8 | |
parent | 782cbe592d6a4a1abc0f81bdcdcc6a10df504733 [diff] [blame] |
Document ct_lt_mpi_uint
diff --git a/library/bignum.c b/library/bignum.c index addc92a..2718ded 100644 --- a/library/bignum.c +++ b/library/bignum.c
@@ -919,6 +919,13 @@ 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, const mbedtls_mpi_uint y ) {