mbedtls_ct_bool_if_else_0() function
Choose between an mbedtls_ct_condition_t and 0. Functionally equivalent to: condition ? if1 : 0. Functionally equivalent to mbedtls_ct_bool_if(condition, if1, 0) but results in smaller code size.
Arguments
condition
Condition to test.
if1
Value to use if \p condition == MBEDTLS_CT_TRUE.
Return value
\c if1 if \p condition == MBEDTLS_CT_TRUE, otherwise 0.
mbedtls_ct_bool_if_else_0() is called by 1 function:
![]()
mbedtls_ct_bool_if_else_0()