commit | 340948e4a5bab405732c3ca9625f1d418d1e3c1d | [log] [tgz] |
---|---|---|
author | gabor-mezei-arm <gabor.mezei@arm.com> | Mon Sep 27 11:40:03 2021 +0200 |
committer | gabor-mezei-arm <gabor.mezei@arm.com> | Tue Sep 28 16:16:14 2021 +0200 |
tree | a01a5182052ebeb70e69b76a290e4f00835e5b11 | |
parent | db9a38c6721435d73196a69541bc67e9ccf61744 [diff] [blame] |
Move mbedtls_cf_uint_mask function to the constant-time module Signed-off-by: gabor-mezei-arm <gabor.mezei@arm.com>
diff --git a/library/constant_time.h b/library/constant_time.h index e14232b..0d6c0fd 100644 --- a/library/constant_time.h +++ b/library/constant_time.h
@@ -28,3 +28,6 @@ unsigned char mbedtls_nist_kw_safer_memcmp( const void *a, const void *b, size_t n ); int mbedtls_safer_memcmp( const void *a, const void *b, size_t n ); + + +unsigned mbedtls_cf_uint_mask( unsigned value );