Function bearssl::br_sha1_update [] [src]

pub unsafe extern "C" fn br_sha1_update(
    ctx: *mut br_sha1_context,
    data: *const c_void,
    len: usize
)

\brief Inject some data bytes in a running SHA-1 computation.

The provided context is updated with some data bytes. If the number of bytes (len) is zero, then the data pointer (data) is ignored and may be NULL, and this function does nothing.

\param ctx pointer to the context structure. \param data pointer to the injected data. \param len injected data length (in bytes).