Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/libfido2/dist/src/
H A Dhid_netbsd.c44 struct usb_ctl_report_desc ucrd; in is_fido() local
48 memset(&ucrd, 0, sizeof(ucrd)); in is_fido()
50 if (ioctl(fd, IOCTL_REQ(USB_GET_REPORT_DESC), &ucrd) == -1) { in is_fido()
55 if (ucrd.ucrd_size < 0 || in is_fido()
56 (size_t)ucrd.ucrd_size > sizeof(ucrd.ucrd_data) || in is_fido()
57 fido_hid_get_usage(ucrd.ucrd_data, (size_t)ucrd.ucrd_size, in is_fido()
214 struct usb_ctl_report_desc ucrd; in fido_hid_open() local
217 memset(&ucrd, 0, sizeof(ucrd)); in fido_hid_open()
225 if ((r = ioctl(ctx->fd, IOCTL_REQ(USB_GET_REPORT_DESC), &ucrd)) == -1 || in fido_hid_open()
226 ucrd.ucrd_size < 0 || in fido_hid_open()
[all …]