mbedtls_ctr_drbg_reseed() function
This function reseeds the CTR_DRBG context, that is extracts data from the entropy source.
Arguments
ctx
The CTR_DRBG context.
additional
Additional data to add to the state. Can be NULL.
len
The length of the additional data.
Return value
\c 0 on success. #MBEDTLS_ERR_CTR_DRBG_ENTROPY_SOURCE_FAILED on failure.
Functions calling mbedtls_ctr_drbg_reseed()
Functions called by mbedtls_ctr_drbg_reseed()
mbedtls_ctr_drbg_reseed()
memcpy() memset() all items filtered out
Data read by mbedtls_ctr_drbg_reseed()
Data written by mbedtls_ctr_drbg_reseed()
mbedtls_ctr_drbg_reseed()
mbedtls_ctr_drbg_reseed()::seedlen mbedtls_ctr_drbg_reseed()::ret all items filtered out
Type of mbedtls_ctr_drbg_reseed()
mbedtls_ctr_drbg_reseed()
size_t all items filtered out