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 1. Command Parameters

Opcode
(1 Byte)

Mode
(1 Byte)

KeyID
(2 Bytes)

OtherData
(3 Bytes)

Comment
0x40 0x04 0xFF FF 0x00 00 00
  • Private key stored in TempKey
  • Public key generated and output on the bus
Table 2. Output Response GenKey Stored in TempKey
Name Size Response
Response 1 byte If an ECC Fault code has been generated due to a command error
64 bytes Public keys X and Y coordinate the command’s success