mbedtls_hmac_drbg_seed_buf() function
Arguments
ctx
HMAC_DRBG context to be initialised.
md_info
MD algorithm to use for HMAC_DRBG.
data
Concatenation of the initial entropy string and the additional data.
data_len
Length of \p data in bytes.
Return value
\c 0 if successful. or #MBEDTLS_ERR_MD_BAD_INPUT_DATA if \p md_info is invalid. #MBEDTLS_ERR_MD_ALLOC_FAILED if there was not enough memory to allocate context data.
![]()
MBEDTLS_MPI_CHK(mbedtls_hmac_drbg_seed_buf(p_rng, md_info, data, 2 * grp_len));
mbedtls_hmac_drbg_seed_buf() is called by 1 function and calls 4 functions:
![]()
mbedtls_hmac_drbg_seed_buf()
mbedtls_hmac_drbg_seed_buf() reads 1 variable:
![]()
mbedtls_hmac_drbg_seed_buf()