ECB-DES, ECB-AES128, ECB-AES192, and ECB-AES256 modes are supported in this implementation.
Attention
The bit-width of the interfaces we provide is shown as follows:
plaintext | ciphertext | cipherkey | IV | |
ECB-DES | 64 | 64 | 64 | 64 |
ECB-AES128 | 128 | 128 | 128 | 128 |
ECB-AES192 | 128 | 128 | 192 | 128 |
ECB-AES256 | 128 | 128 | 256 | 128 |
The algorithm flow chart is shown as follow:
As seen from the chart, both encryption and decryption part of ECB mode has no dependencies, so the input block of each iteration needs no feedback data from its last iteration. Thus, both encryption and decryption parts of the ECB mode can achieve an initiation interval (II) = 1.