Searched refs:io_handle (Results 1 – 4 of 4) sorted by relevance
/openbsd/lib/libfido2/src/ |
H A D | dev.c | 95 if (dev->io_handle != NULL) { in fido_dev_open_tx() 155 dev->io.close(dev->io_handle); in fido_dev_open_tx() 156 dev->io_handle = NULL; in fido_dev_open_tx() 219 dev->io.close(dev->io_handle); in fido_dev_open_rx() 220 dev->io_handle = NULL; in fido_dev_open_rx() 321 dev->io.close(dev->io_handle); in fido_dev_close() 322 dev->io_handle = NULL; in fido_dev_close() 331 if (dev->io_handle == NULL || sigmask == NULL) in fido_dev_set_sigmask() 364 if (dev->io_handle != NULL) { in fido_dev_set_io_functions() 384 if (dev->io_handle != NULL) { in fido_dev_set_transport_functions() [all …]
|
H A D | nfc.c | 38 if (d->io.write(d->io_handle, apdu, apdu_len) < 0) { in tx_short_apdu() 44 if (d->io.read(d->io_handle, sw, sizeof(sw), -1) != 2) { in tx_short_apdu() 159 if ((n = d->io.read(d->io_handle, f, sizeof(f), ms)) < 2 || in rx_init() 194 if (d->io.write(d->io_handle, apdu, sizeof(apdu)) < 0) { in tx_get_response() 212 if ((n = d->io.read(d->io_handle, f, sizeof(f), *ms)) < 2) { in rx_apdu() 302 if (d->io_handle != NULL) { in fido_dev_set_nfc()
|
H A D | io.c | 41 n = d->io.write(d->io_handle, pkt, len); 171 if (d->io_handle == NULL || d->io.write == NULL || count > UINT16_MAX) { in fido_tx() 190 if (d->rx_len > sizeof(*fp) || (n = d->io.read(d->io_handle, in rx_frame() 321 if (d->io_handle == NULL || d->io.read == NULL || count > UINT16_MAX) { in fido_rx()
|
/openbsd/lib/libfido2/src/fido/ |
H A D | types.h | 265 void *io_handle; /* abstract i/o handle */ member
|