Decrypt data using the specified AEAD cipher algorithm state
#include <dev/crypto/devcrypto_plugin.h>
typedef int(* devcrypto_aead_cipher_op_decrypt)(devcrypto_state_ctx_t *sctx,
const uint8_t *in,
uint32_t insize,
uint8_t *aad,
uint32_t aadsize,
uint8_t *tag,
uint32_t tagsize,
uint8_t *out,
uint32_t *outsize);
Some algorithms (e.g., AES-CCM) require the tag value in the initialization phase.
EOK if successful or errno if an error occurred.