Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
cipher_aead_pkt Struct Reference

#include <cipher_structs.h>

Data Fields

struct cipher_pktpkt
 
uint8_tad
 
uint32_t ad_len
 
uint8_ttag
 

Detailed Description

Structure encoding IO parameters in AEAD (Authenticated Encryption with Associated Data) scenario like in CCM.

App has to furnish valid contents prior to making cipher_ccm_op() call.

Field Documentation

◆ ad

uint8_t* cipher_aead_pkt::ad

Start address for Associated Data. This has to be supplied by app.

◆ ad_len

uint32_t cipher_aead_pkt::ad_len

Size of Associated Data. This has to be supplied by the app.

◆ pkt

struct cipher_pkt* cipher_aead_pkt::pkt

◆ tag

uint8_t* cipher_aead_pkt::tag

Start address for the auth hash. For an encryption op this will be populated by the driver when it returns from cipher_ccm_op call. For a decryption op this has to be supplied by the app.


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