Contiki-NG
|
Header file for the cc2538 AES-GCM driver. More...
Go to the source code of this file.
Macros | |
AES-GCM constants | |
#define | GCM_IV_LEN (96 / 8) |
#define | GCM_TAG_LEN AES_TAG_LEN |
AES-GCM functions | |
#define | gcm_auth_encrypt_check_status aes_auth_crypt_check_status |
Checks the status of the GCM authentication and encryption operation. More... | |
#define | gcm_auth_decrypt_check_status aes_auth_crypt_check_status |
Checks the status of the GCM authentication checking and decryption operation. More... | |
uint8_t | gcm_auth_encrypt_start (uint8_t key_area, const void *iv, const void *adata, uint16_t adata_len, const void *pdata, uint16_t pdata_len, void *cdata, struct process *process) |
Starts a GCM authentication and encryption operation. More... | |
uint8_t | gcm_auth_encrypt_get_result (void *tag) |
Gets the result of the GCM authentication and encryption operation. More... | |
uint8_t | gcm_auth_decrypt_start (uint8_t key_area, const void *iv, const void *adata, uint16_t adata_len, const void *cdata, uint16_t cdata_len, void *pdata, struct process *process) |
Starts a GCM authentication checking and decryption operation. More... | |
uint8_t | gcm_auth_decrypt_get_result (const void *tag_in, void *tag_out) |
Gets the result of the GCM authentication checking and decryption operation. More... | |
Header file for the cc2538 AES-GCM driver.
Definition in file gcm.h.