Eccel Technology Ltd BIORADRDR0200 Manuel D’Utilisation
29
4.2.8 Encrypt Data (0x08)
Table 4.8
The Encrypt Data command takes as command arguments the Encryption Key Number (0x00 or 0x01), the
Initialization Vector Number (0x00 or 0x01), the Data Buffer Offset (16-bytes blocks) and the Data Length (16-bytes
blocks). This command encrypts the ‘Data Length’ number of 16-byte blocks using the AES128 CBC encryption
methodology. It operates only within the Data Buffer. This encryption method is shown in Figure 4.1.
Initialization Vector Number (0x00 or 0x01), the Data Buffer Offset (16-bytes blocks) and the Data Length (16-bytes
blocks). This command encrypts the ‘Data Length’ number of 16-byte blocks using the AES128 CBC encryption
methodology. It operates only within the Data Buffer. This encryption method is shown in Figure 4.1.
Figure 4.1
Command Number
Command Name
Valid Tag Types
Argument Offset [bytes]
0x00
0x01
0x02
0x03
Argument Name
Encryption Key
Number
Initialization Vector
Number
Data Buffer Offset
Data Length
Argument Size [bytes]
0x01
0x01
0x01
0x01
Argument Description
Number of the AES
encryption key to be
used for encryption.
Valid numbers are
0x00 and 0x01.
Number of the
Initialization Vector to
be used for encryption.
Valid numbers are
0x00 and 0x01.
Buffer offset in 16-byte
blocks from where
encryption will start.
Total data size and the
offset cannot exceed
the data buffer length.
Number of 16 byte
bocks of data to be
bocks of data to be
encrypted. This value
can be between 1 and
8.
0x08
Encrypt Data
-