summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorCésar Belley2020-08-26 13:42:08 +0200
committerGerd Hoffmann2020-08-31 08:23:39 +0200
commit4ee40a6b98c02b72fc5dd262df9d3ac8680d767b (patch)
treec1d100db86b90999dcb09734b220e227bde7060c /scripts
parentscripts: Add u2f-setup-gen script (diff)
downloadqemu-4ee40a6b98c02b72fc5dd262df9d3ac8680d767b.tar.gz
qemu-4ee40a6b98c02b72fc5dd262df9d3ac8680d767b.tar.xz
qemu-4ee40a6b98c02b72fc5dd262df9d3ac8680d767b.zip
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 'scripts')
0 files changed, 0 insertions, 0 deletions