Function riot_sys::sha3_256

source ·
pub unsafe extern "C" fn sha3_256(
    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-256 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_256_DIGEST_LENGTH