5.3.4.2 GenDig - OTP
Data from the OTP zone can be included in the GenDig calculation. Data are always
included in 32-byte blocks and only one block may be included on any given GenDig
calculation. 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.
Opcode |
Mode |
KeyID(1) |
Data | Description |
---|---|---|---|---|
0x15 | 0x01 | 0x00 00 | — | Use OTP Block 0 as the KeyID |
0x00 01 | — | Use OTP Block 1 as the KeyID |
Note:
- KeyId specifies the OTP zone block to be used in the TempKey calculation.
Name | Size | Description |
---|---|---|
Response | 1 byte |
0x00 - If successful. Error code - If the command fails. |
Note: Flag Bits
- TempKey.Valid flag will be set to 1 if successful, otherwise it is 0.
- TempKey.GenDigData will be set to 0.
32 bytes |
OTP Zone Block |