Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
fido2.h File Reference

FIDO2 authenticator public API. More...

Go to the source code of this file.

Typedefs

typedef void(* fido2_state_callback_t) (enum fido2_runtime_state state, void *user_data)
 FIDO2 runtime state callback.

Enumerations

enum  fido2_runtime_state { FIDO2_RUNTIME_STATE_STOPPED = 0 , FIDO2_RUNTIME_STATE_IDLE , FIDO2_RUNTIME_STATE_WAITING_USER_PRESENCE , FIDO2_RUNTIME_STATE_PROCESSING }
 Runtime states exposed by the FIDO2 subsystem. More...

Functions

int fido2_init (void)
 Initialize the FIDO2 subsystem.
int fido2_start (void)
 Start the FIDO2 authenticator.
int fido2_stop (void)
 Stop the FIDO2 authenticator.
int fido2_set_state_callback (fido2_state_callback_t cb, void *user_data)
 Set or clear a single FIDO2 runtime state callback.
enum fido2_runtime_state fido2_get_state (void)
 Get the current FIDO2 runtime state.
int fido2_reset (void)
 Perform a factory reset.

Detailed Description

FIDO2 authenticator public API.