Home
last modified time | relevance | path

Searched refs:apdu_len (Results 1 – 1 of 1) sorted by relevance

/freebsd-head/contrib/libfido2/src/
HDnfc.c27 size_t apdu_len; in tx_short_apdu() local
37 apdu_len = (size_t)(5 + payload_len + 1); in tx_short_apdu()
39 if (d->io.write(d->io_handle, apdu, apdu_len) < 0) { in tx_short_apdu()
63 nfc_do_tx(fido_dev_t *d, const uint8_t *apdu_ptr, size_t apdu_len) in nfc_do_tx() argument
67 if (fido_buf_read(&apdu_ptr, &apdu_len, &h, sizeof(h)) < 0) { in nfc_do_tx()
71 if (apdu_len < 2) { in nfc_do_tx()
72 fido_log_debug("%s: apdu_len %zu", __func__, apdu_len); in nfc_do_tx()
76 apdu_len -= 2; /* trim le1 le2 */ in nfc_do_tx()
78 while (apdu_len > TX_CHUNK_SIZE) { in nfc_do_tx()
84 apdu_len -= TX_CHUNK_SIZE; in nfc_do_tx()
[all …]