Libu2f-emu
0.0.0
Universal 2nd Factor (U2F) Emulation C Library
|
Functions | |
const transport_info_t * | transport_info_get (u2f_emu_transport type) |
Get the transport info for a specific transport type. More... | |
const struct transport * | transport_get (const struct transport_core *core, u2f_emu_transport type) |
Get a transport from a transport core. More... | |
void | transport_core_free (struct transport_core *core) |
Free all ressource allocated by a transport core. More... | |
bool | transport_core_new (u2f_emu_vdev *vdev, struct transport_core **core_ref) |
Create a new transport_core that manage all transports. More... | |
Variables | |
static const transport_info_t * | transports_info [] |
Transports availables for U2F. More... | |
static const size_t | transports_info_nb |
Number of transports availables for U2F. More... | |
struct transport_core | __attribute__ |
void transport_core_free | ( | struct transport_core * | core | ) |
Free all ressource allocated by a transport core.
core | The transport core to free. |
bool transport_core_new | ( | u2f_emu_vdev * | vdev, |
struct transport_core ** | core_ref | ||
) |
Create a new transport_core that manage all transports.
vdev | The virtual device. |
core_ref | The reference to the transport core to create. |
const struct transport* transport_get | ( | const struct transport_core * | core, |
u2f_emu_transport | type | ||
) |
Get a transport from a transport core.
core | The transport core. |
type | The transport type. |
const transport_info_t* transport_info_get | ( | u2f_emu_transport | type | ) |
Get the transport info for a specific transport type.
type | The transport type. |
struct packet_cont __attribute__ |
|
static |
Transports availables for U2F.
|
static |
Number of transports availables for U2F.