| 
    Zephyr Project API
    3.4.0
    
   A Scalable Open Source RTOS 
   | 
 
#include <cipher.h>
Data Fields | |
| struct cipher_pkt * | pkt | 
| uint8_t * | ad | 
| uint32_t | ad_len | 
| uint8_t * | tag | 
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.