add rng command

This commit is contained in:
Conor Patrick
2018-12-05 19:35:22 -05:00
parent beedc24839
commit 1a07b4a73a
3 changed files with 30 additions and 2 deletions

View File

@@ -42,6 +42,7 @@
#define CTAPHID_BOOT (TYPE_INIT | 0x50)
#define CTAPHID_ENTERBOOT (TYPE_INIT | 0x51)
#define CTAPHID_ENTERSTBOOT (TYPE_INIT | 0x52)
#define CTAPHID_GETRNG (TYPE_INIT | 0x60)
#define ERR_INVALID_CMD 0x01
#define ERR_INVALID_PAR 0x02