riot_sys

Function sha3_512

Source
pub unsafe extern "C" fn sha3_512(
    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-512 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_512_DIGEST_LENGTH