commit | 84dc02c8f532e344b719fd03d764db2ac7099669 | [log] [tgz] |
---|---|---|
author | gabor-mezei-arm <gabor.mezei@arm.com> | Mon Sep 27 12:47:06 2021 +0200 |
committer | gabor-mezei-arm <gabor.mezei@arm.com> | Tue Sep 28 16:21:10 2021 +0200 |
tree | e410ba46b017c145035b2cbcacb9a12dd9a5400b | |
parent | 5a85442604b3b749aca50e0459bcbafd8e6830e3 [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-arm <gabor.mezei@arm.com>
diff --git a/library/bignum.c b/library/bignum.c index da115a7..48ab24c 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; }