Aead component. More...
Topics | |
| mcuxClAead_Constants | |
| Constants of mcuxClAead component. | |
| mcuxClAead_Functions | |
| Interfaces to perform AEAD operations. | |
| mcuxClAead_Types | |
| Types used by the AEAD operations. | |
Aead component.
The mcuxClAead component implements the Authenticated Encryption with Associated Data (AEAD) operations supported by CLNS.
An example of how to use the mcuxClAead component can be found in /mcuxClAead/ex.
The mcuxClAead component supports interfaces to either authenticate and encrypt or verify and decrypt a message in one shot (mcuxClAead_crypt) or to either authenticate and encrypt or verify and decrypt it in parts (mcuxClAead_init, mcuxClAead_process, mcuxClAead_process_adata and mcuxClAead_finish). In case of processing a message in parts, first an initialization has to be performed (mcuxClAead_init), followed by zero, one or multiple updates (mcuxClAead_process_adata and mcuxClAead_process), followed by a finalization or verification (mcuxClAead_finish/mcuxClAead_verify). The finalization generates the output tag and destroys the context. The verification generates and compares the output tag and destroys the context. After the finalization/verification step, no further updates are possible.
The targeted AEAD algorithm is selected by passing one of the offered algorithm mode descriptors (mcuxClAead_Modes), which are listed in file mcuxClAead_Modes.h