qcrypto_digest_update()

Update the digest

Synopsis:

#include <qcrypto/qcrypto.h>
int qcrypto_digest_update(qcrypto_ctx_t *ctx,
                          const uint8_t *data,
                          size_t size)

Arguments:

ctx
The algorithm context object.
data
The binary data to digest.
size
The size of the data.

Library:

libqcrypto

Description:

This function provides the digest with data.

Returns:

QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.