mbedtls_entropy_source_self_test() function
Checkup routine Verifies the integrity of the hardware entropy source provided by the function 'mbedtls_hardware_poll()'. Note this is the only hardware entropy source that is known at link time, and other entropy sources configured dynamically at runtime by the function mbedtls_entropy_add_source() will not be tested.
Syntax
int mbedtls_entropy_source_self_test(int verbose); Return value
0 if successful, or 1 if a test failed
mbedtls_entropy_source_self_test() is called by 1 function and calls 2 functions:
![]()
mbedtls_entropy_source_self_test()
mbedtls_entropy_source_self_test():
![]()
mbedtls_entropy_source_self_test()