commit | 17da4f2a4e3e612ca9fa91d57088b61793423a0b | [log] [tgz] |
---|---|---|
author | gabor-mezei-arm <gabor.mezei@arm.com> | Mon Sep 27 12:47:06 2021 +0200 |
committer | Gabor Mezei <gabor.mezei@arm.com> | Thu Nov 11 10:04:59 2021 +0100 |
tree | c77e7077cf8af723426f214c3dd9de87fe5b07bc | |
parent | 9d7bf09333cd1f1704377f204f18e4dde6f6ce07 [diff] |
Remove module dependency Elinimate macros defined by modules locally in the functions that are moving to the new constant-time module. Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
diff --git a/library/bignum.c b/library/bignum.c index bc2dbfa..5f0e735 100644 --- a/library/bignum.c +++ b/library/bignum.c
@@ -1277,7 +1277,7 @@ ret |= y & cond; - ret = ret >> ( biL - 1 ); + ret = ret >> ( sizeof( mbedtls_mpi_uint ) * 8 - 1 ); return (unsigned) ret; }