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