| CLK |
Input |
Core clock signal |
| Reset |
Input |
Core reset signal (active HIGH) |
| CEN |
Input |
Synchronous enable signal. When LOW the core ignores all its inputs and all its outputs must be ignored. |
| MODE[1:0] |
Input |
Encryption mode. GCM mode if 01, XTS mode if 00, CBC mode if 10 |
| Encrypt |
Input |
When HIGH, core is encrypting, when LOW core is decrypting |
| Key256 |
Input |
When HIGH, 256 bit AES key is used, when LOW – 128 bit AES key |
| EndC |
Input |
(GCM mode only) Marks last data block |
| ZeroC |
Input |
(GCM mode only) Marks the block with zero length of (plaintext/ciphertext field |
| NewIV |
Input |
(XTS mode only) Marks the last block of the data unit if followed immediately by the first block of the next data unit with different IV. |
| Cts |
Input |
(XTS mode only) Marks the last full 128-bit block of the data unit in case that the next block of this data unit is less than 128 bit (CTS mode) |
| Start |
Input |
HIGH level starts the input data processing |
| Read |
Output |
Read request for the input data byte |
| Write |
Output |
Write signal for the output interface |
| D[127:0] |
Input |
Input Data (other data bus widths are also available)
• For GCM, additional authenticated data (AAD, A), followed by the plain or cipher text
• For XTS and CBC, plain or cipher text |
| K1[255:0] |
Input |
256 bit or 128 bit AES key (128-bit key uses K1[255:128] pins) |
| K2[255:0] |
Input |
(XTS mode only) Tweak key (K2) (128-bit key uses K2[255:128] pins) |
| IV[127:0] |
Input |
In GCM mode: initial counter value (Y0, IV || 0311) In CBC mode: initial value (IV) In XTS mode: location (IV) |
| LenA[63:0] |
Input |
(GCM mode only) Length of additional authenticated data in bits |
| Be[3:0] |
Input |
Byte length of the last data block (GCM and XTS modes only) in bytes minus 1 0 – corresponds to 1 byte 1 – corresponds to 2 bytes … 15 – corresponds to 16 bytes |
| FK[255:0] |
Output |
256 bit or 128 bit final round key (128-bit key uses FK[255:128] pins) |
| FKvalid |
Output |
HIGH when FK is valid |
| Q[127:0] |
Output |
Output plain or cipher text |
| T[127:0] |
Output |
(GCM mode only) Computed MAC (tag, T) |
| Done |
Output |
HIGH when data processing is completed |