mbedtls_ct_bool_if() function
Choose between two mbedtls_ct_condition_t values. Functionally equivalent to: condition ? if1 : if0.
Arguments
condition
Condition to test.
if1
Value to use if \p condition == MBEDTLS_CT_TRUE.
if0
Value to use if \p condition == MBEDTLS_CT_FALSE.
Return value
\c if1 if \p condition == MBEDTLS_CT_TRUE, otherwise \c if0.
mbedtls_ct_bool_if() is called by 1 function and calls 1 function:
![]()
mbedtls_ct_bool_if()