OSDN Git Service

hw/usb: Add U2F key base class
authorCésar Belley <cesar.belley@lse.epita.fr>
Wed, 26 Aug 2020 11:42:00 +0000 (13:42 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 31 Aug 2020 06:10:47 +0000 (08:10 +0200)
commit80e267f1d17c7fe0f08a0f666e9d7e68a3ccf4d8
tree05f32c4f643330eb65a496f47566c13e1a01695d
parent785f558b6a3e741ac484fc2c93b090c88f3ff44b
hw/usb: Add U2F key base class

This patch adds the specification for the U2F key base class.
Used to group the common characteristics, this device class will be
inherited by its two variants, corresponding to the two modes:
passthrough and emulated

This prepares the U2F devices hierarchy which is as follow:
USB device -> u2f-key -> {u2f-passthru, u2f-emulated}.

Signed-off-by: César Belley <cesar.belley@lse.epita.fr>
Message-id: 20200826114209.28821-4-cesar.belley@lse.epita.fr
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/u2f.h [new file with mode: 0644]