Function bearssl::br_sha1_set_state [] [src]

pub unsafe extern "C" fn br_sha1_set_state(
    ctx: *mut br_sha1_context,
    stb: *const c_void,
    count: u64
)

\brief Restore SHA-1 running state.

The running state for SHA-1 is set to the provided values.

\param ctx pointer to the context structure. \param stb source buffer for the running state. \param count the injected total byte length.