commit | 5cec8b44a82c49ad24a7fc55123aa15dd94a38f0 | [log] [tgz] |
---|---|---|
author | gabor-mezei-arm <gabor.mezei@arm.com> | Mon Sep 27 13:03:57 2021 +0200 |
committer | Gabor Mezei <gabor.mezei@arm.com> | Thu Nov 11 10:54:20 2021 +0100 |
tree | 97eab32916435534a6170bb78bdd4fb9d12834c9 | |
parent | 75332531259083504df336ae4c1eb5fb2bea1ca2 [diff] [blame] |
Move mbedtls_cf_cond_select_sign function to the constant-time module Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
diff --git a/library/constant_time.h b/library/constant_time.h index 973e856..f97c57e 100644 --- a/library/constant_time.h +++ b/library/constant_time.h
@@ -55,3 +55,4 @@ unsigned mbedtls_cf_uint_if( unsigned cond, unsigned if1, unsigned if0 ); +int mbedtls_cf_cond_select_sign( int a, int b, unsigned char second );