aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/hcd-dwc2.c
diff options
context:
space:
mode:
authorCésar Belley <cesar.belley@lse.epita.fr>2020-08-26 13:42:08 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-08-31 08:23:39 +0200
commit4ee40a6b98c02b72fc5dd262df9d3ac8680d767b (patch)
treec1d100db86b90999dcb09734b220e227bde7060c /hw/usb/hcd-dwc2.c
parentdea01f66811b6963f306a7dcffe001fb4637662f (diff)
downloadqemu-4ee40a6b98c02b72fc5dd262df9d3ac8680d767b.zip
qemu-4ee40a6b98c02b72fc5dd262df9d3ac8680d767b.tar.gz
qemu-4ee40a6b98c02b72fc5dd262df9d3ac8680d767b.tar.bz2
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>
Diffstat (limited to 'hw/usb/hcd-dwc2.c')
0 files changed, 0 insertions, 0 deletions