Function rcutils_sha256_update

Function Documentation

void rcutils_sha256_update(rcutils_sha256_ctx_t *ctx, const uint8_t *data, size_t data_len)

Add data to the sha256 algorithm.

This may be called repeatedly on an initialized context.

Parameters:
  • ctx[inout] Initialized sha256 context struct

  • data[in] Data to add to the total message being hashed

  • data_len[in] Size of the input data.

Returns:

void