Contiki-NG
Loading...
Searching...
No Matches

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

#include "contiki.h"
#include "sys/cc.h"
#include "dev/rom-util.h"
#include "dev/ccm.h"
#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Functions

AES-CCM functions
uint8_t ccm_auth_encrypt_start (uint8_t len_len, uint8_t key_area, const void *nonce, const void *adata, uint16_t adata_len, const void *pdata, uint16_t pdata_len, void *cdata, uint8_t mic_len, struct process *process)
 Starts a CCM authentication and encryption operation.
 
uint8_t ccm_auth_encrypt_get_result (void *mic, uint8_t mic_len)
 Gets the result of the CCM authentication and encryption operation.
 
uint8_t ccm_auth_decrypt_start (uint8_t len_len, uint8_t key_area, const void *nonce, const void *adata, uint16_t adata_len, const void *cdata, uint16_t cdata_len, void *pdata, uint8_t mic_len, struct process *process)
 Starts a CCM authentication checking and decryption operation.
 
uint8_t ccm_auth_decrypt_get_result (const void *cdata, uint16_t cdata_len, void *mic, uint8_t mic_len)
 Gets the result of the CCM authentication checking and decryption operation.
 

Detailed Description

Implementation of the cc2538 AES-CCM driver.

Definition in file ccm.c.