Updated: October 28, 2024 |
Finalize a digest
#include <qcrypto/qcrypto.h>
int qcrypto_digest_final(qcrypto_ctx_t *ctx, uint8_t *digest, size_t *size)
This function retrieves a digest value. It writes the same number of bytes as qcrypto_digestsize().
QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.