qcrypto_cipher_get_tag()
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Retrieve a cipher tag
Synopsis:
#include <qcrypto/qcrypto.h>
int qcrypto_cipher_get_tag(qcrypto_ctx_t *ctx,
uint8_t *tag,
size_t *tagsize)
Arguments:
- ctx
- The algorithm context object.
- tag
- The tag data.
- tagsize
- The combined size of the tag data and the retrieved tag.
Library:
libqcryptoDescription:
This function gets the authentication tag after encryption is complete. It is only available for AEAD ciphers.
Returns:
QCRYPTO_R_EOK if successful or qcrypto_errno
if an error occurred.
Page updated: