qcrypto_signature_update()

Updated: October 26, 2022

Update a signature digest

Synopsis:

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

Arguments:

ctx
The algorithm context object.
data
The data buffer.
size
The data buffer size.

Library:

libqcrypto

Description:

This function digests the input data before a signature is generated or signed. It can be called any number of times.

Returns:

QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.