CryptoAuthLib
Microchip CryptoAuthentication Library
|
Input/output parameters for calculating the PubKey digest put into TempKey by the GenKey command with the atcah_gen_key_msg() function. More...
#include <atca_host.h>
Data Fields | |
uint8_t | mode |
[in] GenKey Mode More... | |
uint16_t | key_id |
[in] GenKey KeyID 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 * | other_data |
[in] 3 bytes required when bit 4 of the mode is set. Can be NULL otherwise. 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... | |
Input/output parameters for calculating the PubKey digest put into TempKey by the GenKey command with the atcah_gen_key_msg() function.
uint16_t key_id |
[in] GenKey KeyID
uint8_t mode |
[in] GenKey Mode
const uint8_t* other_data |
[in] 3 bytes required when bit 4 of the mode is set. Can be NULL otherwise.
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* 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.