Contiki-NG

Implementation of the cc2538 AES-GCM driver. More...

#include "contiki.h"
#include "dev/rom-util.h"
#include "dev/gcm.h"
#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Functions

AES-GCM functions
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...
 

Detailed Description

Implementation of the cc2538 AES-GCM driver.

Definition in file gcm.c.