qcrypto_cipher_aad()
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Provide cipher additional authenticated data (AAD)
Synopsis:
#include <qcrypto/qcrypto.h>
int qcrypto_cipher_aad(qcrypto_ctx_t *ctx,
const uint8_t *aad,
size_t aadsize)
Arguments:
- ctx
- The algorithm context object.
- aad
- The AAD data.
- aadsize
- The AAD data size.
Library:
libqcryptoDescription:
This function is used in AEAD encryption modes such as AES GCM to provide an encryption operation with AAD.
Returns:
QCRYPTO_R_EOK if successful or qcrypto_errno
if an error occurred.
Page updated: