commit | 3f6f0e44ebe755d7a515a830b9768f3e1812d275 | [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 04 10:39:20 2019 +0000 |
tree | ea2e9a9a7672fa180e65ca34caeba2a9a06435fb | |
parent | 4abc17236084714e57cf0fdcbfaf43ef50db6c1b [diff] [blame] |
Document ct_lt_mpi_uint
diff --git a/library/bignum.c b/library/bignum.c index cee6662..d310adb 100644 --- a/library/bignum.c +++ b/library/bignum.c
@@ -1148,6 +1148,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 ) {