Zephyr Project API 4.0.0
A Scalable Open Source RTOS
|
Structure encoding IO parameters in AEAD (Authenticated Encryption with Associated Data) scenario like in CCM. More...
#include <cipher.h>
Data Fields | |
struct cipher_pkt * | pkt |
uint8_t * | ad |
Start address for Associated Data. | |
uint32_t | ad_len |
Size of Associated Data. | |
uint8_t * | tag |
Start address for the auth hash. | |
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.
uint8_t* cipher_aead_pkt::ad |
Start address for Associated Data.
This has to be supplied by app.
uint32_t cipher_aead_pkt::ad_len |
Size of Associated Data.
This has to be supplied by the app.
struct cipher_pkt* cipher_aead_pkt::pkt |
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.