Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
cipher_aead_pkt Struct Reference

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

#include <cipher.h>

Data Fields

struct cipher_pktpkt
 
uint8_tad
 Start address for Associated Data.
 
uint32_t ad_len
 Size of Associated Data.
 
uint8_ttag
 Start address for the auth hash.
 

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: