riot_sys

Function sha512_common_final

Source
pub unsafe extern "C" fn sha512_common_final(
    ctx: *mut sha512_common_context_t,
    digest: *mut c_void,
    dig_len: size_t,
)
Expand description

@brief SHA-512 finalization. Pads the input data, exports the hash value, and clears the context state.

@param ctx sha512_common_context_t handle to use, must not be NULL @param[out] digest resulting digest, this is the hash of all the bytes @param[in] dig_len Length of @p digest