Input/output parameters for calculating the PubKey digest put into TempKey by the GenKey command with the atcah_gen_key_msg() function. More...
#include <lib/host/atca_host.h>
Data Fields | |
| uint8_t | mode |
| [in] GenKey Mode | |
| uint16_t | key_id |
| [in] GenKey KeyID | |
| const uint8_t * | public_key |
| [in] Public key to be used in the PubKey digest. X and Y integers in big-endian format. 64 bytes for P256 curve. | |
| size_t | public_key_size |
| [in] Total number of bytes in the public key. 64 bytes for P256 curve. | |
| const uint8_t * | other_data |
| [in] 3 bytes required when bit 4 of the mode is set. Can be NULL otherwise. | |
| const uint8_t * | sn |
| [in] Device serial number SN[0:8] (9 bytes). Only SN[0:1] and SN[8] are required though. | |
| struct atca_temp_key * | temp_key |
| [in,out] As input the current state of TempKey. As output, the resulting PubKEy digest. | |
Input/output parameters for calculating the PubKey digest put into TempKey by the GenKey command with the atcah_gen_key_msg() function.