riot_sys::bindgen

Function sha3_384

Source
pub unsafe extern "C" fn sha3_384(
    digest: *mut c_void,
    data: *const c_void,
    len: size_t,
)
Expand description

@brief A wrapper function to simplify the generation of a hash, this is useful for generating SHA3-384 from one buffer

@param[in] data pointer to the buffer to generate hash from @param[in] len length of the buffer @param[out] digest pointer to an array for the result, length must be SHA3_384_DIGEST_LENGTH