nrfxlib API 2.8.99
|
Type definitions and APIS for AES-EAX (Encrypt-then-authenticate-then-translate) More...
Functions | |
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) |
Type definitions and APIS for AES-EAX (Encrypt-then-authenticate-then-translate)
AES-EAX (encrypt-then-authenticate-then-translate) is an AES mode which effectively turns the block cipher into a stream cipher. The AES block cipher primitive is used in CTR mode for encryption and as OMAC for authentication over each block.