Function bearssl::br_sha256_out [] [src]

pub unsafe extern "C" fn br_sha256_out(
    ctx: *const br_sha256_context,
    out: *mut c_void
)

\brief Compute SHA-256 output.

The SHA-256 output for the concatenation of all bytes injected in the provided context since the last initialisation or reset call, is computed and written in the buffer pointed to by out. The context itself is not modified, so extra bytes may be injected afterwards to continue that computation.

\param ctx pointer to the context structure. \param out destination buffer for the hash output.