CTAP state struct. More...
CTAP state struct.
state of authenticator. Stored in flash memory
#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   | |
| ctap_crypto_key_agreement_key_t ctap_state_t::ag_key | 
| ctap_config_t ctap_state_t::config | 
| uint8_t ctap_state_t::cred_key[CTAP_CRED_KEY_LEN] | 
| bool ctap_state_t::cred_key_is_initialized | 
| uint8_t ctap_state_t::initialized_marker | 
| uint8_t ctap_state_t::pin_hash[SHA256_DIGEST_LENGTH/2] | 
| uint16_t ctap_state_t::rk_amount_stored |