Function bearssl::br_sha1_init [] [src]

pub unsafe extern "C" fn br_sha1_init(ctx: *mut br_sha1_context)

\brief SHA-1 context initialisation.

This function initialises or resets a context for a new SHA-1 computation. It also sets the vtable pointer.

\param ctx pointer to the context structure.