Function riot_sys::sha1

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

@brief Calculate a SHA1 hash from the given data

@param[out] digest Result location, must be 20 byte @param[in] data Input data @param[in] len Length of @p buf