Structure to hold TempKey fields. More...
#include <lib/host/atca_host.h>
Data Fields | |
| uint8_t | value [ATCA_KEY_SIZE *2u] |
| Value of TempKey (64 bytes for ATECC608 only) | |
| unsigned | key_id: 4 |
| If TempKey was derived from a slot or transport key (GenDig or GenKey), that key ID is saved here. | |
| unsigned | source_flag: 1 |
| Indicates id TempKey started from a random nonce (0) or not (1). | |
| unsigned | gen_dig_data: 1 |
| TempKey was derived from the GenDig command. | |
| unsigned | gen_key_data: 1 |
| TempKey was derived from the GenKey command (ATECC devices only). | |
| unsigned | no_mac_flag: 1 |
| TempKey was derived from a key that has the NoMac bit set preventing the use of the MAC command. Known as CheckFlag in ATSHA devices). | |
| unsigned | valid: 1 |
| TempKey is valid. | |
| uint8_t | is_64 |
| TempKey has 64 bytes of valid data. | |
Structure to hold TempKey fields.