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.

Table 5-57. AES-ECB Encrypt

Opcode
(1 Byte)

Mode
(1 Byte)

KeyID
(2 Bytes)

Data
(16 Bytes)

Comments
0x51

0x00
0x40
0x80
0xC0

0x00 0[Slot]Any 16 bytes of ClearText data

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

0x000xFF FFAny 16 bytes of ClearText dataEncryption key located in TempKey
Table 5-58. AES Encrypt 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 encrypted text.