libtropic
C library for TROPIC01 chip
|
AESGCM function declarations. More...
Data Structures | |
struct | lt_crypto_aes_gcm_ctx_t |
Functions | |
int | lt_aesgcm_init_and_key (void *ctx, const uint8_t *key, uint32_t key_len) |
int | lt_aesgcm_encrypt (void *ctx, const uint8_t *iv, uint32_t iv_len, const uint8_t *aad, uint32_t aad_len, uint8_t *msg, uint32_t msg_len, uint8_t *tag, uint32_t tag_len) |
int | lt_aesgcm_decrypt (void *ctx, const uint8_t *iv, uint32_t iv_len, const uint8_t *aad, uint32_t aad_len, uint8_t *msg, uint32_t msg_len, const uint8_t *tag, uint32_t tag_len) |
int | lt_aesgcm_end (void *ctx) |
struct lt_crypto_aes_gcm_ctx_t |
AES-GCM context structure