AESCCM driver implementation for the MSP432E4 family.
The generic driver interface can be found in AESCCM.h. This file should only be included in the board file to fill the AESCCM_Config struct.
Polling mode offers better performance than blocking and callback mode because no DMA and no interrupt handling is involved. It is recommended to use polling mode for messages shorter than 512 bytes.
Measurements have been taken with 16 bytes key length and 16 bytes aad length.
Encryption:
Length (bytes) | Polling mode (microseconds) | Blocking/callback mode |
---|---|---|
16 | 47 | 89 |
30 | 50 | 92 |
60 | 53 | 92 |
120 | 61 | 100 |
240 | 73 | 106 |
512 | 105 | 126 |
1024 | 151 | 165 |
4096 | 512 | 394 |
Decryption and authentication:
Length (bytes) | Polling mode (microseconds) | Blocking/callback mode |
---|---|---|
16 | 33 | 75 |
30 | 36 | 78 |
60 | 39 | 78 |
120 | 46 | 86 |
240 | 59 | 91 |
512 | 91 | 112 |
1024 | 150 | 150 |
4096 | 512 | 380 |
Go to the source code of this file.
Data Structures | |
struct | AESCCMMSP432E4_HWAttrs |
Hardware-specific configuration attributes. More... | |