Remove unused function
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
diff --git a/library/constant_time.c b/library/constant_time.c
index 9bdd8c9..0c82c09 100644
--- a/library/constant_time.c
+++ b/library/constant_time.c
@@ -225,24 +225,6 @@
return( ( mask & if1 ) | (~mask & if0 ) );
}
-/** Choose between two integer values without branches.
- *
- * This is equivalent to `condition ? if1 : if0`, but is likely to be compiled
- * to code using bitwise operation rather than a branch.
- *
- * \param condition Condition to test.
- * \param if1 Value to use if \p condition is nonzero.
- * \param if0 Value to use if \p condition is zero.
- *
- * \return \c if1 if \p condition is nonzero, otherwise \c if0.
- */
-static size_t mbedtls_cf_size_if( unsigned condition,
- size_t if1,
- size_t if0 )
-{
- size_t mask = mbedtls_cf_size_mask( condition );
- return( ( mask & if1 ) | (~mask & if0 ) );
-}
/** Select between two sign values witout branches.
*