Loading...
Searching...
No Matches
ctap_utils.h File Reference

Definition for CTAP utility functions. More...

Detailed Description

Definition for CTAP utility functions.

Author
Nils Ollrogge nils..nosp@m.ollr.nosp@m.ogge@.nosp@m.fu-b.nosp@m.erlin.nosp@m..de

Definition in file ctap_utils.h.

#include <stdint.h>
#include "fido2/ctap/ctap.h"
#include "periph/gpio.h"
+ Include dependency graph for ctap_utils.h:

Go to the source code of this file.

Functions

void fido2_ctap_utils_led_animation (void)
 LED animation to indicate that user action is required.
 
int 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.
 
int fido2_ctap_utils_user_presence_test (void)
 Test user presence.
 
static int fido2_ctap_utils_cred_cmp (const void *k1, const void *k2)
 Compare fido2 credentials based on id to find more recent one.
 
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.