NanoStack lib for Cortex-M4

Dependents:   mbedEndpointNetwork mbedEndpointNetworkMJK

Fork of Nanostack_lib by Sensinode

Embed: (wiki syntax)

« Back to documentation index

ccm_globals_t Struct Reference

ccm_globals_t Struct Reference

CCM global structure. Structure is used to configure NONCE, adata and data before call ccm_process_run(). More...

#include <ccmLIB.h>

Data Fields

uint8_t exp_nonce [15]
 CCM NONCE buffer Nonce.
uint8_t * data_ptr
 Pointer to Data IN.
uint16_t data_len
 Length of Data IN.
uint8_t * adata_ptr
 Pointer to Auhentication data.
uint16_t adata_len
 Length of Auhentication data.
uint8_t mic_len
 ccm_sec_init() will set here length of MIC
uint8_t * mic
 Encrypt process will write MIC and decode compare given MIC.

Detailed Description

CCM global structure. Structure is used to configure NONCE, adata and data before call ccm_process_run().

Definition at line 46 of file ccmLIB.h.


Field Documentation

uint16_t adata_len

Length of Auhentication data.

Definition at line 52 of file ccmLIB.h.

uint8_t* adata_ptr

Pointer to Auhentication data.

Definition at line 51 of file ccmLIB.h.

uint16_t data_len

Length of Data IN.

Definition at line 50 of file ccmLIB.h.

uint8_t* data_ptr

Pointer to Data IN.

Definition at line 49 of file ccmLIB.h.

uint8_t exp_nonce[15]

CCM NONCE buffer Nonce.

Definition at line 48 of file ccmLIB.h.

uint8_t* mic

Encrypt process will write MIC and decode compare given MIC.

Definition at line 54 of file ccmLIB.h.

uint8_t mic_len

ccm_sec_init() will set here length of MIC

Definition at line 53 of file ccmLIB.h.