qcrypto_digest_op_update

Updated: April 19, 2023

Update a digest object

Synopsis:

#include <qcrypto/qcrypto_plugin.h>
typedef int(* qcrypto_digest_op_update)(qcrypto_state_ctx_t *sctx,
            const uint8_t *data,
            size_t size);

Arguments:

sctx
The algorithm state context object.
data
The data buffer.
size
The data buffer size.

Library:

libqcrypto

Description:

This function updates a digest by supplying data.

Returns:

QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.