mbedtls_ct_error_if() function
Choose between two error values. The values must be in the range [-32767..0]. 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.
![]()
ret = mbedtls_ct_error_if(
mbedtls_ct_error_if() is called by 1 function and calls 1 function:
![]()
mbedtls_ct_error_if()