PG-FP6 V1.06 9. Renesas Flash Programmer Utility Program
R20UT4469EJ0800 Rev.8.00 Page 128 of 188
Oct.01.21
Table 9.5 genkey Command Options
Option Parameter Description
Specifies an IV for use in encryption. The data size is 16 bytes.
If this option is omitted, a random value is used for IV.
ufpk File path Specifies a UFPK file used in encryption.
Specifies a W-UFPK file obtained from the Renesas Key Wrapping Service.
key Hex data
• When the userkey option is not specified
Specifies the DLM key data. The data size is 16 bytes.
• When the userkey option is specified
Specifies the user key data. For the key data format and data size, refer
to the user’s manual of the TSIP.
Note that this tool does not check the user key size.
Generates a user key. Specify the type of user key as a one-byte
hexadecimal parameter. For the values to be entered, refer to the user’s
manual of the TSIP.
If this option is omitted, a DLM key is generated.
Table 9.6 calcresponse Command Options
challenge Hex data Specifies a challenge value (the unique ID of the device is usually specified).
The data size is 16 bytes.
Specifies the DLM key data. The data size is 16 bytes.
algorithm Name Specifies the algorithm for use in calculation. The following items are
selectable.
HMAC-SHA256
AES-128-CMAC
Example:
(genufpk)
> rfp-util /genufpk /output "D:\example\ufpk.key"
(genkey)
> rfp-util /genkey /ufpk "D:\example\ufpk.key" /wufpk "D:\example\ufpk_enc.key" /key
"000102030405060708090A0B0C0D0E0F" /output "D:\example\abc.rkey"
(calcresponse)
> rfp-util /calcresponse /challenge "AABBCCDDEEFF00112233445566778899" /key
"000102030405060708090A0B0C0D0E0F" /algorithm HMAC-SHA256