CryptoAuthLib
Microchip CryptoAuthentication Library
|
Structure to hold TempKey fields. More...
#include <atca_host.h>
Data Fields | |
uint8_t | value [ATCA_KEY_SIZE *2] |
Value of TempKey (64 bytes for ATECC608A only) More... | |
unsigned | key_id: 4 |
If TempKey was derived from a slot or transport key (GenDig or GenKey), that key ID is saved here. More... | |
unsigned | source_flag: 1 |
Indicates id TempKey started from a random nonce (0) or not (1). More... | |
unsigned | gen_dig_data: 1 |
TempKey was derived from the GenDig command. More... | |
unsigned | gen_key_data: 1 |
TempKey was derived from the GenKey command (ATECC devices only). More... | |
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). More... | |
unsigned | valid: 1 |
TempKey is valid. More... | |
uint8_t | is_64 |
TempKey has 64 bytes of valid data. More... | |
Structure to hold TempKey fields.
unsigned gen_dig_data |
TempKey was derived from the GenDig command.
unsigned gen_key_data |
TempKey was derived from the GenKey command (ATECC devices only).
uint8_t is_64 |
TempKey has 64 bytes of valid data.
unsigned key_id |
If TempKey was derived from a slot or transport key (GenDig or GenKey), that key ID is saved here.
unsigned no_mac_flag |
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 source_flag |
Indicates id TempKey started from a random nonce (0) or not (1).
unsigned valid |
TempKey is valid.
uint8_t value[ATCA_KEY_SIZE *2] |
Value of TempKey (64 bytes for ATECC608A only)