5.3.4.4 GenDig - Shared Nonce

In Shared Nonce mode 32 bytes of data are input to this command. This mode is used when a nonce value must be shared between two devices. The Nonce command must be run prior to the first GenDig command to load a value into TempKey. Subsequent GenDig commands will use the value from the previous GenDig operation.

Table 5-76. Input Parameters GenDig Shared Nonce

Opcode
(1 Byte)

Mode
(1 Byte)

KeyID(1)
(2 Bytes)

Data
(32 Bytes)

Description
0x150x030x00 0[Slot]Input data
0x80 0[Slot]Input data
Note:
  1. KeyId specifies the DataZone slot to be used in the TempKey calculation. Only the lowest 32 bytes will be used.
Table 5-77. Output Response - GenDig Data
NameSizeDescription
Response1 byte

0x00 - If successful.

Error code - If the command fails.

Note: Flag Bits
  1. TempKey.Valid flag will be set to 1 if successful, otherwise it is 0.
  2. TempKey.GenDigData will be set to 1 indicating a DataZone slot was used in the calculation.
  3. TempKey.KeyID will set to the slot specified in the command.
Table 5-78. TempKey Calculation - GenDig Shared Nonce
SizeParameters - KeyID MSB 0x00Parameters - KeyID MSB 0x80
32 bytesInput DataTempKey.value
1 byteOpcode = 0x15Opcode = 0x15
1 byteMode = 0x03Mode = 0x03
1 byteLSB of KeyID = 0x0[Slot]LSB of KeyID = 0x0[Slot]
1 byte0x000x00
1 byteSN[8] = Varies by vendorSN[8] = Varies by vendor
2 bytesSN[0:1] = 0x01 0x23SN[0:1] = 0x01 0x23
25 bytesAll ZerosAll Zeros
32 bytesTempKey.ValueInput Data