commit | b2dbf2c113aa4daa0c375b5102872b7ac97a4131 | [log] [tgz] |
---|---|---|
author | gabor-mezei-arm <gabor.mezei@arm.com> | Mon Sep 27 12:59:30 2021 +0200 |
committer | gabor-mezei-arm <gabor.mezei@arm.com> | Tue Sep 28 16:21:10 2021 +0200 |
tree | 96d375547d2e8795bee0b5ed0c10ea31a20beb9a | |
parent | 3f90fd540a48ecc45aceeb47aa4537bfb3632805 [diff] [blame] |
Move mbedtls_cf_uint_if 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 3c18b4e..973e856 100644 --- a/library/constant_time.h +++ b/library/constant_time.h
@@ -52,3 +52,6 @@ const mbedtls_mpi_uint y ); #endif /* MBEDTLS_BIGNUM_C */ + +unsigned mbedtls_cf_uint_if( unsigned cond, unsigned if1, unsigned if0 ); +