The GenKey
command can be used to generate an ECC P256
private key and store it in a data slot that has been so designated as holding an ECC
private key. When this command is run, the corresponding ECC public key is also
generated. If the slot has been locked, this command returns an error. On rare occasions
an invalid ECC private key is generated and this too will cause an error.
For the
ATECC608A-TNGTLS, the GenKey
command can be
used to generate private keys only in Slots 2, 3 and 4.
Authorization is not required prior to updating these keys.
Opcode |
Mode |
KeyID |
OtherData |
Description |
---|---|---|---|---|
0x40 | 0x04 | 0x00 0[Slot] | — |
|
0x40 | 0x0C | 0x00 0[Slot] | — |
|
Name | Size | Response |
---|---|---|
Response | 1 byte |
|
64 bytes |
|