Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
ccm_globals_t Struct Reference
CCM global structure. The structure is used for configuring NONCE, adata and data before calling 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. | |
const uint8_t * | adata_ptr |
Pointer to authentication data. | |
uint16_t | adata_len |
Length of authentication data. | |
unsigned | ccm_encode_mode: 1 |
Encryption modeAES_CCM_ENCRYPT or AES_CCM_DECRYPT. | |
unsigned | ccm_sec_level: 3 |
Encryption operation security level 0-7. | |
unsigned | ccm_l_param: 4 |
Can be 2 or 3. | |
uint8_t | mic_len |
ccm_sec_init() sets here the length of MIC. | |
uint8_t * | mic |
Encrypt process writes MIC. | |
const uint8_t * | key_ptr |
Encyption key pointer to 128-bit key. | |
arm_aes_context_t * | aes_context |
Allocated AES context. |
Detailed Description
CCM global structure. The structure is used for configuring NONCE, adata and data before calling ccm_process_run().
Definition at line 67 of file ccmLIB.h.
Field Documentation
arm_aes_context_t* aes_context |
unsigned ccm_encode_mode |
unsigned ccm_l_param |
unsigned ccm_sec_level |
const uint8_t* key_ptr |
uint8_t* mic |
uint8_t mic_len |
ccm_sec_init() sets here the length of MIC.
Generated on Tue Jul 12 2022 13:55:29 by
