Function bearssl::br_multihash_update [] [src]

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

\brief Inject some data bytes in a running multi-hashing 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).