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 for data vector @num_elem: Number of elements in the data vector @addr: Pointers to the data areas @len: Lengths of the data blocks @mac: 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),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: usize, _: *mut *const u8, _: *const usize, _: *mut u8) -> i32)

Some value of type T.