pub unsafe extern "C" fn get_random(buf: *mut u8, len: usize) -> crate::binary::c_types::c_int {
    trace!("get_random");
    unsafe {
        crate::common_adapter::esp_fill_random(buf, len as u32);
    }
    0
}
**************************************************************************
Name: esp_get_random

Description:
Fill random data int given buffer of given length

Input Parameters:
buf - buffer pointer
len - buffer length

Returned Value:
0 if success or -1 if fail

*************************************************************************
esp-wifi/src/wifi/os_adapter.rs