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