[][src]Type Definition esp_idf_bindgen::esp_sha256_prf_t

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>;

@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.