qcrypto_digest_op_init

Updated: April 19, 2023

Initialize a digest object

Synopsis:

#include <qcrypto/qcrypto_plugin.h>
typedef int(* qcrypto_digest_op_init)(qcrypto_state_ctx_t *sctx);

Arguments:

sctx
The algorithm state context object.

Library:

libqcrypto

Description:

This function initializes or resets the digest object's state.

Returns:

QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.