Home
last modified time | relevance | path

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

/freebsd/contrib/libfido2/fuzz/
H A Dfuzz_hid.c25 struct blob report_descriptor; member
70 unpack_blob(v[2], &p->report_descriptor) < 0 || in unpack()
99 (argv[2] = pack_blob(&p->report_descriptor)) == NULL || in pack()
136 dummy.report_descriptor.len = sizeof(dummy_report_descriptor); in pack_dummy()
138 memcpy(&dummy.report_descriptor.body, &dummy_report_descriptor, in pack_dummy()
139 dummy.report_descriptor.len); in pack_dummy()
158 fido_hid_get_usage(p->report_descriptor.body, p->report_descriptor.len, in get_usage()
169 fido_hid_get_report_len(p->report_descriptor.body, in get_report_len()
170 p->report_descriptor.len, &report_in_len, &report_out_len); in get_report_len()
188 set_udev_parameters(p->uevent, &p->report_descriptor); in manifest()
[all …]
H A Dudev.c50 static const struct blob *report_descriptor; variable
247 *va_arg(ap, int *) = (int)report_descriptor->len; in __wrap_ioctl()
251 assert(hrd->size == report_descriptor->len); in __wrap_ioctl()
252 memcpy(hrd->value, report_descriptor->body, hrd->size); in __wrap_ioctl()
269 report_descriptor = report_descriptor_ptr; in set_udev_parameters()