Home
last modified time | relevance | path

Searched hist:"4 ee40a6b" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/usb/
H A Du2f-passthru.c4ee40a6b Wed Aug 26 06:42:08 CDT 2020 César Belley <cesar.belley@lse.epita.fr> 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>