riot_sys

Function sha2xx_final

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

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

@param ctx sha2xx_context_t handle to use @param digest resulting digest, this is the hash of all the bytes @param dig_len Length of @p digest