|
Libu2f-emu
0.0.0
Universal 2nd Factor (U2F) Emulation C Library
|

Functions | |
| void | u2f_emu_vdev_apdu_set_apdu (void *state, u2f_emu_apdu apdu) |
| Set the APDU formatof the APDU transport. More... | |
| bool | u2f_emu_vdev_apdu_has_response (void *state) |
| Check the precense of a response from the APDU transport. More... | |
| size_t | u2f_emu_vdev_apdu_get_response (void *state, uint8_t **data) |
| Get the response frim the APDU transport. More... | |
| void | u2f_emu_vdev_apdu_process (void *state, const void *packet, size_t size) |
| Process incoming data from an APDU. More... | |
| void | u2f_emu_vdev_apdu_state_free (void *state) |
| Free the APDU state. More... | |
| int | u2f_emu_vdev_apdu_state_init (u2f_emu_vdev *vdev, void **state_ref) |
| Init the APDU state. More... | |
Variables | |
| transport_info_t | apdu_transport |
| The APDU transport. More... | |
| size_t u2f_emu_vdev_apdu_get_response | ( | void * | state, |
| uint8_t ** | data | ||
| ) |
Get the response frim the APDU transport.
| state | The APDU transport state. |
| data | The data ref buffer to put rhe resonse |
| bool u2f_emu_vdev_apdu_has_response | ( | void * | state | ) |
Check the precense of a response from the APDU transport.
| state | The APDU transport state. |
| void u2f_emu_vdev_apdu_process | ( | void * | state, |
| const void * | apdu, | ||
| size_t | size | ||
| ) |
Process incoming data from an APDU.
| state | The APDU transport state. |
| apdu | The APDU. |
| size | The size of the APDU packet. |
| void u2f_emu_vdev_apdu_set_apdu | ( | void * | state, |
| u2f_emu_apdu | apdu | ||
| ) |
Set the APDU formatof the APDU transport.
| state | The APDU transport state. |
| apdu | The APDU format to set. |
| void u2f_emu_vdev_apdu_state_free | ( | void * | state | ) |
Free the APDU state.
| state | The APDU transport state. |
| int u2f_emu_vdev_apdu_state_init | ( | u2f_emu_vdev * | vdev, |
| void ** | state_ref | ||
| ) |
Init the APDU state.
| vdev | The virtual device. |
| state_ref | The APDU transport state ref. |
| transport_info_t apdu_transport |
The APDU transport.
1.8.10