mbedtls_hmac_drbg_random_with_add() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferencesCall TreeData Use

Return value

\c 0 if successful. #MBEDTLS_ERR_HMAC_DRBG_ENTROPY_SOURCE_FAILED if a call to the entropy source failed. #MBEDTLS_ERR_HMAC_DRBG_REQUEST_TOO_BIG if \p output_len > #MBEDTLS_HMAC_DRBG_MAX_REQUEST. #MBEDTLS_ERR_HMAC_DRBG_INPUT_TOO_BIG if \p add_len > #MBEDTLS_HMAC_DRBG_MAX_INPUT.

Notes

This function is not thread-safe. It is not safe to call this function if another thread might be concurrently obtaining random numbers from the same context or updating or reseeding the same context.

References