ctap_state_t Struct Reference

CTAP state struct. More...

Detailed Description

CTAP state struct.

state of authenticator. Stored in flash memory

Definition at line 402 of file ctap.h.

#include <ctap.h>

Data Fields

ctap_config_t config
 configuration of authenticator
 
ctap_crypto_key_agreement_key_t ag_key
 Platform key agreement key.
 
int rem_pin_att
 remaining PIN tries
 
uint16_t rk_amount_stored
 total number of resident keys stored on device
 
uint8_t initialized_marker
 CTAP initialized marker.
 
uint8_t pin_hash [SHA256_DIGEST_LENGTH/2]
 LEFT(SHA-256(pin), 16)
 
uint8_t cred_key [CTAP_CRED_KEY_LEN]
 AES CCM encryption key for cred.
 
bool cred_key_is_initialized
 AES CCM key initialized flag.
 
bool pin_is_set
 PIN is set or not.
 
uint32_t id_cnt
 id counter for credential id
 

The documentation for this struct was generated from the following file: