commit | 3480947667a66bf82cefaf9e704b1a1ebac61a2e | [log] [tgz] |
---|---|---|
author | Janos Follath <janos.follath@arm.com> | Mon Oct 14 09:09:32 2019 +0100 |
committer | Simon Butcher <simon.butcher@arm.com> | Fri Mar 13 15:25:40 2020 +0000 |
tree | 530d0185d233d9f1351ec915699ee5f2982eb706 | |
parent | afa534245284e0af09d589863ba3fac0bb517bb7 [diff] [blame] |
Document ct_lt_mpi_uint
diff --git a/library/bignum.c b/library/bignum.c index 749b68b..cd26409 100644 --- a/library/bignum.c +++ b/library/bignum.c
@@ -1071,6 +1071,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 ) {