Function rcutils_sha256_final

Function Documentation

void rcutils_sha256_final(rcutils_sha256_ctx_t *ctx, uint8_t *output_hash)

Finalize and output sha256 hash for all data added.

Call only once on a context that has been initialized, and optionally updated with data.

Parameters:
  • ctx[inout] Initialized sha256 context struct

  • output_hash[out] Calculated sha256 message digest to be filled

Returns:

void