71    return (_k1->
id - _k2->
id) * -1;
 
 
Internal FIDO2 CTAP defines, structures and function declarations.
 
Low-level GPIO peripheral driver interface definitions.
 
gpio_mode_t
Available pin modes.
 
struct ctap_resident_key ctap_resident_key_t
CTAP resident key credential forward declaration.
 
ctap_status_code_t fido2_ctap_utils_init_gpio_pin(gpio_t pin, gpio_mode_t mode, gpio_flank_t flank)
Initialize button to be used for user presence test.
 
static int fido2_ctap_utils_cred_cmp(const void *k1, const void *k2)
Compare fido2 credentials based on id to find more recent one.
 
ctap_status_code_t fido2_ctap_utils_user_presence_test(void)
Test user presence.
 
static bool fido2_ctap_utils_ks_equal(const ctap_resident_key_t *k1, const ctap_resident_key_t *k2)
Check equality of resident keys based on rp_id_hash and user_id.
 
void fido2_ctap_utils_wait_for_user_presence(void)
LED animation to indicate that user action is required.
 
ctap_status_code_t
CTAP status codes.
 
uint8_t user_id[CTAP_USER_ID_MAX_SIZE]
id of user
 
uint16_t id
internal id of key
 
uint8_t rp_id_hash[SHA256_DIGEST_LENGTH]
hash of rp domain string