esp_idf_hal::sys

Function mbedtls_entropy_source_self_test

Source
pub unsafe extern "C" fn mbedtls_entropy_source_self_test(
    verbose: i32,
) -> i32
Expand description

\brief 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.

\return 0 if successful, or 1 if a test failed