The AES-ECB Decrypt mode of the AES
command is used to convert
encrypted text back to clear text.
Opcode |
Mode |
KeyID |
Data |
Comments |
---|---|---|---|---|
0x51 |
0x01 |
0x00 0[Slot] | Any 16 bytes of AES Encrypted data |
Decrypt key in Position 0 |
0x01 | 0xFF FF | Any 16 bytes of ClearText data | Decryption 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 clear text data. |