qcrypto_cipher_op_encrypt_decrypt
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Encrypt or decrypt data
Synopsis:
#include <qcrypto/qcrypto_plugin.h>
typedef int(* qcrypto_cipher_op_encrypt_decrypt)(qcrypto_state_ctx_t *sctx,
const uint8_t *in,
size_t insize,
uint8_t *out,
size_t *outsize);
Arguments:
- sctx
- The algorithm state context object.
- in
- The input data.
- insize
- The size of the input data.
- out
- The output data.
- outsize
- The size of the output data and encrypted or decrypted data combined.
Library:
libqcryptoReturns:
QCRYPTO_R_EOK if successful or qcrypto_errno
if an error occurred.
Page updated: