27#ifndef OCRYPTO_AES_EAX_H
28#define OCRYPTO_AES_EAX_H
56 uint8_t* ct, uint8_t tag[16],
const uint8_t* pt,
size_t pt_len,
const uint8_t *key,
size_t size,
57 const uint8_t* iv,
size_t iv_len,
const uint8_t *aa,
size_t aa_len);
79 uint8_t* pt,
const uint8_t tag[16],
const uint8_t* ct,
size_t ct_len,
const uint8_t *key,
size_t size,
80 const uint8_t* iv,
size_t iv_len,
const uint8_t *aa,
size_t aa_len);
void ocrypto_aes_eax_encrypt(uint8_t *ct, uint8_t tag[16], const uint8_t *pt, size_t pt_len, const uint8_t *key, size_t size, const uint8_t *iv, size_t iv_len, const uint8_t *aa, size_t aa_len)
int ocrypto_aes_eax_decrypt(uint8_t *pt, const uint8_t tag[16], const uint8_t *ct, size_t ct_len, const uint8_t *key, size_t size, const uint8_t *iv, size_t iv_len, const uint8_t *aa, size_t aa_len)