Add MBEDTLS_CHECK_RETURN description to config.h

Signed-off-by: Mateusz Starzyk <mateusz.starzyk@mobica.com>
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Mateusz Starzyk 2021-08-06 13:56:54 +02:00 committed by Gilles Peskine
parent 377a310da4
commit 1ef29fcf47

View file

@ -3695,6 +3695,18 @@
*/
//#define MBEDTLS_PARAM_FAILED( cond ) assert( cond )
/** \def MBEDTLS_CHECK_RETURN
*
* This macro appearing at the beginning of the declaration of a function
* indicates that its return value should be checked.
*
* Default implementation resides in platform_util.h.
* You can override default implementation by defining your own.
* Custom implementation can be empty, which will disable checking
* of functions' return values.
*/
//#define MBEDTLS_CHECK_RETURN
/* PSA options */
/**
* Use HMAC_DRBG with the specified hash algorithm for HMAC_DRBG for the