qcrypto_cipher_op_aad
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Add additional authenticated data (AAD) to a cipher
Synopsis:
#include <qcrypto/qcrypto_plugin.h>
typedef int(* qcrypto_cipher_op_aad)(qcrypto_state_ctx_t *sctx,
const uint8_t *aad,
size_t aadsize);
Arguments:
- sctx
- The algorithm state context object.
- aad
- The AAD data.
- aadsize
- The size of the AAD data.
Library:
libqcryptoReturns:
QCRYPTO_R_EOK if successful or qcrypto_errno
if an error occurred.
Page updated: