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 <lib/host/atca_host.h>
Data Fields | |
| uint8_t | mode |
| [in] Sign Mode | |
| uint16_t | key_id |
| [in] Sign KeyID | |
| uint16_t | slot_config |
| [in] SlotConfig[TempKeyFlags.keyId] | |
| uint16_t | key_config |
| [in] KeyConfig[TempKeyFlags.keyId] | |
| uint8_t | use_flag |
| [in] UseFlag[TempKeyFlags.keyId], 0x00 for slots 8 and above and for ATECC508A | |
| uint8_t | update_count |
| [in] UpdateCount[TempKeyFlags.keyId], 0x00 for slots 8 and above and for ATECC508A | |
| bool | is_slot_locked |
| [in] Is TempKeyFlags.keyId slot locked. | |
| bool | for_invalidate |
| [in] Set to true if this will be used for the Verify(Invalidate) command. | |
| 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 * | message |
| [out] Full 55 byte message the Sign(internal) command will build. Can be NULL if not required. | |
| 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. | |
| uint8_t * | digest |
| [out] SHA256 digest of the full 55 byte message. Can be NULL if not required. | |
Input/output parameters for calculating the message and digest used by the Sign(internal) command. Used with the atcah_sign_internal_msg() function.