nRF5 SDK v17.1.0
Data Fields
sec_aes_ccm_req_t Struct Reference

AES CCM request. More...

#include <sec_aes_ccm.h>

Data Fields

uint8_t * mic
 
uint8_t level
 
uint8_t * key
 
uint8_t * nonce
 
uint8_t * text_data
 
uint8_t text_data_len
 
uint8_t * auth_data
 
uint8_t auth_data_len
 

Detailed Description

AES CCM request.

The AES CCM request primitive is issued by the AES user. There are two use cases for the request: The first one is to encrypt the user text with some given key. The second one is to decrypt the cipher text against the key. The encrypted or decrypted data is stored in text_data.

Field Documentation

uint8_t* sec_aes_ccm_req_t::auth_data

Octet string representing input data to perform authentication.

uint8_t sec_aes_ccm_req_t::auth_data_len

Auth data length.

uint8_t* sec_aes_ccm_req_t::key

A 128-bit-long string to be used as a key. Each entity must have evidence that access to this key is restricted to the entity itself and its intended key sharing group member(s).

uint8_t sec_aes_ccm_req_t::level

Security level identifier.

uint8_t* sec_aes_ccm_req_t::mic

Counted authentication tag.

uint8_t* sec_aes_ccm_req_t::nonce

A nonce N of 15 - L octets. Within the scope of any encryption key, the nonce value must be unique.

uint8_t* sec_aes_ccm_req_t::text_data

An octet string representing plain text data in case of encryption and cipher text data in case of decryption.

uint8_t sec_aes_ccm_req_t::text_data_len

Text data length.


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated