5.3.1.2 AES-ECB Decrypt

The AES-ECB Decrypt mode of the AES command is used to convert encrypted text back to clear text.

Table 5-61. AES-ECB Decrypt

Opcode
(1 Byte)

Mode
(1 Byte)

KeyID
(2 Bytes)

Data
(16 Bytes)

Comments
0x51

0x01
0x41
0x81
0xC1

0x00 0[Slot]Any 16 bytes of AES Encrypted data

Decrypt key in Position 0
Decrypt key in Position 1
Decrypt key in Position 2
Encrypt key in Position 3

0x010xFF FFAny 16 bytes of ClearText dataDecryption key located in TempKey
Table 5-62. AES Decrypt Output Response
NameSize (Bytes)Notes
Response1If the operation fails, the ouptut is a one-byte error code.
16If the operation is successful, the device will output 16 bytes of clear text data.