CryptoAuthLib
Microchip CryptoAuthentication Library
|
Input/output parameters for calculating the message and digest used by the Sign(internal) command. Used with the atcah_sign_internal_msg() function. More...
#include <atca_host.h>
Data Fields | |
uint8_t | mode |
[in] Sign Mode More... | |
uint16_t | key_id |
[in] Sign KeyID More... | |
uint16_t | slot_config |
[in] SlotConfig[TempKeyFlags.keyId] More... | |
uint16_t | key_config |
[in] KeyConfig[TempKeyFlags.keyId] More... | |
uint8_t | use_flag |
[in] UseFlag[TempKeyFlags.keyId], 0x00 for slots 8 and above and for ATECC508A More... | |
uint8_t | update_count |
[in] UpdateCount[TempKeyFlags.keyId], 0x00 for slots 8 and above and for ATECC508A More... | |
bool | is_slot_locked |
[in] Is TempKeyFlags.keyId slot locked. More... | |
bool | for_invalidate |
[in] Set to true if this will be used for the Verify(Invalidate) command. More... | |
const uint8_t * | sn |
[in] Device serial number SN[0:8] (9 bytes) More... | |
const struct atca_temp_key * | temp_key |
[in] The current state of TempKey. More... | |
uint8_t * | message |
[out] Full 55 byte message the Sign(internal) command will build. Can be NULL if not required. More... | |
uint8_t * | verify_other_data |
[out] The 19 byte OtherData bytes to be used with the Verify(In/Validate) command. Can be NULL if not required. More... | |
uint8_t * | digest |
[out] SHA256 digest of the full 55 byte message. Can be NULL if not required. More... | |
Input/output parameters for calculating the message and digest used by the Sign(internal) command. Used with the atcah_sign_internal_msg() function.
uint8_t* digest |
[out] SHA256 digest of the full 55 byte message. Can be NULL if not required.
bool for_invalidate |
[in] Set to true if this will be used for the Verify(Invalidate) command.
bool is_slot_locked |
[in] Is TempKeyFlags.keyId slot locked.
uint16_t key_config |
[in] KeyConfig[TempKeyFlags.keyId]
uint16_t key_id |
[in] Sign KeyID
uint8_t* message |
[out] Full 55 byte message the Sign(internal) command will build. Can be NULL if not required.
uint8_t mode |
[in] Sign Mode
uint16_t slot_config |
[in] SlotConfig[TempKeyFlags.keyId]
const uint8_t* sn |
[in] Device serial number SN[0:8] (9 bytes)
const struct atca_temp_key* temp_key |
[in] The current state of TempKey.
uint8_t update_count |
[in] UpdateCount[TempKeyFlags.keyId], 0x00 for slots 8 and above and for ATECC508A
uint8_t use_flag |
[in] UseFlag[TempKeyFlags.keyId], 0x00 for slots 8 and above and for ATECC508A
uint8_t* verify_other_data |
[out] The 19 byte OtherData bytes to be used with the Verify(In/Validate) command. Can be NULL if not required.