5.3.1.1 AES-ECB Encrypt
In the AES-ECB Encrypt mode, 16 bytes of clear text are expected in the input stream and the device will output 16 bytes of encrypted text.
Opcode |
Mode |
KeyID |
Data | Comments |
---|---|---|---|---|
0x51 |
0x00 | 0x00 0[Slot] | Any 16 bytes of ClearText data |
Encrypt key in Position 0 |
0x00 | 0xFF FF | Any 16 bytes of ClearText data | Encryption key located in TempKey |
Name | Size (Bytes) | Notes |
---|---|---|
Response | 1 | If the operation fails, the ouptut is a one byte error code. |
16 | If the operation is successful, the device will output 16 bytes of encrypted text. |