qcrypto_cipher_ops_t

Updated: April 19, 2023

Cipher functions

Synopsis:

#include <qcrypto/qcrypto_plugin.h>
typedef struct _qcrypto_cipher_ops {
    qcrypto_cipher_op_init init;
    qcrypto_cipher_op_encrypt_decrypt encrypt;
    qcrypto_cipher_op_encrypt_decrypt decrypt;
    qcrypto_cipher_op_aad aad;
    qcrypto_cipher_op_get_tag get_tag;
    qcrypto_cipher_op_final final;
} qcrypto_cipher_ops_t;

Data:

qcrypto_cipher_op_init init

Initialization.

qcrypto_cipher_op_encrypt_decrypt encrypt

Encryption.

qcrypto_cipher_op_encrypt_decrypt decrypt

Decryption.

qcrypto_cipher_op_aad aad

Add AAD.

qcrypto_cipher_op_get_tag get_tag

Get a tag.

qcrypto_cipher_op_final final

Finalize.

Library:

libqcrypto