Type Alias esp_idf_sys::esp_sha256_vector_t
source · pub type esp_sha256_vector_t = Option<unsafe extern "C" fn(num_elem: usize, addr: *mut *const u8, len: *const usize, buf: *mut u8) -> c_int>;
Expand description
@brief SHA256 hash callback function for data vector @param num_elem Number of elements in the data vector @param addr Pointers to the data areas @param len Lengths of the data blocks @param buf Buffer for the hash Returns: 0 on success, -1 on failure
Aliased Type§
enum esp_sha256_vector_t {
None,
Some(unsafe extern "C" fn(_: usize, _: *mut *const u8, _: *const usize, _: *mut u8) -> i32),
}