55 #define GCM_IV_LEN (96 / 8) 56 #define GCM_TAG_LEN AES_TAG_LEN 80 const void *adata, uint16_t adata_len,
81 const void *pdata, uint16_t pdata_len,
82 void *cdata,
struct process *process);
88 #define gcm_auth_encrypt_check_status aes_auth_crypt_check_status 112 const void *adata, uint16_t adata_len,
113 const void *cdata, uint16_t cdata_len,
114 void *pdata,
struct process *process);
121 #define gcm_auth_decrypt_check_status aes_auth_crypt_check_status 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.
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.
Header file for the cc2538 AES driver.
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.
uint8_t gcm_auth_encrypt_get_result(void *tag)
Gets the result of the GCM authentication and encryption operation.