MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches

Hash component. More...

Modules

 mcuxClAead_Constants
 Constants of mcuxClAead component.
 
 One-shot AEAD interfaces
 Interfaces to perform AEAD operations in one shot.
 
 AEAD type definitions
 Types used by the AEAD operations.
 
 mcuxClAead_MemoryConsumption
 Defines the memory consumption for the mcuxClAead component All work area sizes in bytes are a multiple of CPU wordsize.
 
 AEAD mode definitions
 Modes used by the AEAD operations.
 

Detailed Description

Hash component.

Authenticated Encryption with Associated Data (AEAD) operations.

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 component uses the ELS hardware. The ELS hardware has to be initialized, prior to calling any function of the mcuxClAead component.

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