qcrypto_digest_init()

Initialize a digest

Synopsis:

#include <qcrypto/qcrypto.h>
int qcrypto_digest_init(qcrypto_ctx_t *ctx)

Arguments:

ctx
The algorithm context object.

Library:

libqcrypto

Description:

This function initializes or resets the internal state of a digest object.

Returns:

QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.