commit | 45ec990711b0428b0864514c6cc63361623f05cd | [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:32:12 2019 +0000 |
tree | ea4afb046619a0a46cb6840d5cc342539b1d17b2 | |
parent | b11ce0ec2d6af6d01805567353dc336a5734ad7c [diff] |
Document ct_lt_mpi_uint
diff --git a/library/bignum.c b/library/bignum.c index 8438c18..daf0cfd 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 ) {