commit | 98ddc01a7c9b2d09e7874a696d3ac620a70c032f | [log] [tgz] |
---|---|---|
author | Dave Rodgman <dave.rodgman@arm.com> | Thu Aug 10 12:11:31 2023 +0100 |
committer | Dave Rodgman <dave.rodgman@arm.com> | Thu Aug 10 12:11:31 2023 +0100 |
tree | f58246173017f556d8f53744812ada2b825925d7 | |
parent | b7825ceb3edcfed059ff8ccbff01d0086263b217 [diff] [blame] |
Rename ...if0 to ...else_0 Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
diff --git a/library/constant_time.c b/library/constant_time.c index 20e215a..86cc066 100644 --- a/library/constant_time.c +++ b/library/constant_time.c
@@ -140,7 +140,7 @@ unsigned char next = buf[n+1]; buf[n] = mbedtls_ct_uint_if(no_op, current, next); } - buf[total-1] = mbedtls_ct_uint_if0(no_op, buf[total-1]); + buf[total-1] = mbedtls_ct_uint_if_else_0(no_op, buf[total-1]); } }