Type Alias esp_idf_sys::esp_sha256_prf_t
source · pub type esp_sha256_prf_t = Option<unsafe extern "C" fn(key: *const c_uchar, key_len: c_int, label: *const c_char, data: *const c_uchar, data_len: c_int, buf: *mut c_uchar, buf_len: c_int) -> c_int>;
Expand description
@brief The AES callback function when do STA connect.
@param key Key for PRF. @param key_len Length of the key in bytes. @param label A unique label for each purpose of the PRF. @param data Extra data to bind into the key. @param data_len Length of the data. @param buf Buffer for the generated pseudo-random key. @param buf_len Number of bytes of key to generate.
Aliased Type§
enum esp_sha256_prf_t {
None,
Some(unsafe extern "C" fn(_: *const u8, _: i32, _: *const i8, _: *const u8, _: i32, _: *mut u8, _: i32) -> i32),
}