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

Functions | |
| struct packet_init * | packet_init_new (uint32_t cid, uint8_t cmd, uint16_t bcnt) |
| Allocate and initialize a initialisation packet. More... | |
| struct packet_cont * | packet_cont_new (uint32_t cid, uint8_t seq) |
| Allocate and initialize a initialisation packet. More... | |
| void * | packet_copy (const void *packet) |
| Copy a packet. More... | |
| struct packet_cont* packet_cont_new | ( | uint32_t | cid, |
| uint8_t | seq | ||
| ) |
Allocate and initialize a initialisation packet.
| cid | The channel id |
| seq | The packet sequence |
| void* packet_copy | ( | const void * | packet | ) |
Copy a packet.
| packet | The packet to copy |
| struct packet_init* packet_init_new | ( | uint32_t | cid, |
| uint8_t | cmd, | ||
| uint16_t | bcnt | ||
| ) |
Allocate and initialize a initialisation packet.
| cid | The channel id |
| cmd | The commannd |
| bcnt | The payload length |
1.8.10