Searched refs:report_in_len (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/libfido2/src/ |
H A D | hid_openbsd.c | 25 size_t report_in_len; member 172 ret->report_in_len = ret->report_out_len = CTAP_MAX_REPORT_LEN; in fido_hid_open() 174 ret->report_in_len, ret->report_out_len); in fido_hid_open() 217 if (len != ctx->report_in_len) { in fido_hid_read() 219 len, ctx->report_in_len); in fido_hid_read() 271 return (ctx->report_in_len); in fido_hid_report_in_len()
|
H A D | hid_osx.c | 33 size_t report_in_len; member 321 id != 0 || len < 0 || (size_t)len != ctx->report_in_len) { in report_callback() 439 if (get_report_len(ctx->ref, 0, &ctx->report_in_len) < 0 || in fido_hid_open() 445 if (ctx->report_in_len > sizeof(ctx->report)) { in fido_hid_open() 447 ctx->report_in_len); in fido_hid_open() 470 (long)ctx->report_in_len, &report_callback, ctx); in fido_hid_open() 500 (long)ctx->report_in_len, NULL, ctx); in fido_hid_close() 535 if (len != ctx->report_in_len || len > sizeof(ctx->report)) { in fido_hid_read() 588 return (ctx->report_in_len); in fido_hid_report_in_len()
|
H A D | hid_linux.c | 24 size_t report_in_len; member 289 fido_hid_get_report_len(hrd->value, hrd->size, &ctx->report_in_len, in fido_hid_open() 290 &ctx->report_out_len) < 0 || ctx->report_in_len == 0 || in fido_hid_open() 293 ctx->report_in_len = CTAP_MAX_REPORT_LEN; in fido_hid_open() 330 if (len != ctx->report_in_len) { in fido_hid_read() 382 return (ctx->report_in_len); in fido_hid_report_in_len()
|
H A D | hid_netbsd.c | 29 size_t report_in_len; member 229 &ctx->report_in_len, &ctx->report_out_len) < 0) { in fido_hid_open() 233 ctx->report_in_len = CTAP_MAX_REPORT_LEN; in fido_hid_open() 278 if (len != ctx->report_in_len) { in fido_hid_read() 330 return (ctx->report_in_len); in fido_hid_report_in_len()
|
H A D | hid_hidapi.c | 23 size_t report_in_len; member 178 ctx->report_in_len = ctx->report_out_len = CTAP_MAX_REPORT_LEN; in fido_hid_open() 206 if (len != ctx->report_in_len) { in fido_hid_read() 260 return (ctx->report_in_len); in fido_hid_report_in_len()
|
H A D | hid_freebsd.c | 32 size_t report_in_len; member 237 &ctx->report_in_len, &ctx->report_out_len) < 0) { in fido_hid_open() 241 ctx->report_in_len = CTAP_MAX_REPORT_LEN; in fido_hid_open() 276 if (len != ctx->report_in_len) { in fido_hid_read() 328 return (ctx->report_in_len); in fido_hid_report_in_len()
|
H A D | hid_win.c | 40 size_t report_in_len; member 438 if (get_report_len(ctx->dev, 0, &ctx->report_in_len) < 0 || in fido_hid_open() 483 if (len != ctx->report_in_len - 1 || len > sizeof(ctx->report) - 1) { in fido_hid_read() 562 return (ctx->report_in_len - 1); in fido_hid_report_in_len()
|
H A D | hid.c | 84 size_t *report_in_len, size_t *report_out_len) in fido_hid_get_report_len() argument 107 *report_in_len = (size_t)report_size; in fido_hid_get_report_len()
|
/freebsd/contrib/libfido2/fuzz/ |
H A D | fuzz_hid.c | 166 size_t report_in_len = 0; in get_report_len() local 170 p->report_descriptor.len, &report_in_len, &report_out_len); in get_report_len() 171 consume(&report_in_len, sizeof(report_in_len)); in get_report_len()
|