CryptoAuthLib
Atmel CryptoAuthentication Library
atca_temp_key Struct Reference

Structure to hold TempKey fields. More...

#include <atca_host.h>

Data Fields

uint8_t value [ATAC_STANDARD_KEY_SIZE]
 The value of TempKey. Nonce (from nonce command) or Digest (from GenDig command) More...
 
unsigned int key_id: 4
 If TempKey was generated by GenDig (see the GenData and CheckFlag bits), these bits indicate which key was used in its computation. More...
 
unsigned int source_flag: 1
 The source of the randomness in TempKey: 0=Rand, 1=Input. More...
 
unsigned int gen_data: 1
 Indicates if TempKey has been generated by GenDig using Data zone. More...
 
unsigned int check_flag: 1
 Not used in the library. More...
 
unsigned int valid: 1
 Indicates if the information in TempKey is valid. More...
 

Detailed Description

Structure to hold TempKey fields.