César Belley 4ee40a6b98 hw/usb: Add U2F device check to passthru mode
This patchs adds a check to verify that the device passed through the
hidraw property is a U2F device.

The check is done by ensuring that the first values of the report
descriptor (USAGE PAGE and USAGE) correspond to those of a U2F device.

Signed-off-by: César Belley <cesar.belley@lse.epita.fr>
Message-id: 20200826114209.28821-12-cesar.belley@lse.epita.fr
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2020-08-31 08:23:39 +02:00
..
2020-05-15 07:08:14 +02:00
2018-06-01 19:20:38 +03:00
2020-05-15 07:08:14 +02:00
2020-05-15 07:08:14 +02:00
2020-05-15 07:08:14 +02:00
2020-06-15 22:05:28 +02:00
2020-07-16 10:20:27 +02:00
2020-05-15 07:08:14 +02:00
2020-05-15 07:08:14 +02:00
2020-05-15 07:08:14 +02:00
2020-08-31 08:23:10 +02:00
2019-08-16 13:31:52 +02:00
2020-08-31 08:23:10 +02:00
2020-05-15 07:08:14 +02:00
2020-08-31 08:10:47 +02:00