5.2.2.1 Private Key - Stored in TempKey

The GenKey command can be used to generate an ephemeral ECC private key and place it in SRAM where there is no limit on writing to a memory location. This key cannot be read out but may be used by the ECDH command.

Table 5-42. Command Parameters

Opcode
(1 Byte)

Mode
(1 Byte)

KeyID
(2 Bytes)

OtherData
(3 Bytes)

Comment
0x400x040xFF FF0x00 00 00
  • Private key stored in TempKey
  • Public key generated and output on the bus
Table 5-43. Output Response GenKey Stored in TempKey
NameSizeResponse
Response1 byteIf an ECC Fault code has been generated due to a command error
64 bytesPublic keys X and Y coordinate the command’s success