Function esp_idf_svc::hal::sys::bootloader_fill_random

source ·
pub unsafe extern "C" fn bootloader_fill_random(
    buffer: *mut c_void,
    length: usize,
)
Expand description

@brief Fill buffer with ‘length’ random bytes

@note If this function is being called from app code only, and never from the bootloader, then it’s better to call esp_fill_random().

@param buffer Pointer to buffer @param length This many bytes of random data will be copied to buffer