qcrypto_cipher_op_get_tag

Updated: April 19, 2023

Retrieve a cipher tag

Synopsis:

#include <qcrypto/qcrypto_plugin.h>
typedef int(* qcrypto_cipher_op_get_tag)(qcrypto_state_ctx_t *sctx,
            uint8_t *tag,
            size_t *tagsize);

Arguments:

sctx
The algorithm state context object.
tag
The tag data.
tagsize
The combined size of the tag data and retrieved tag.

Library:

libqcrypto

Returns:

QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.