Skip to content

Commit

Permalink
Merge pull request #283
Browse files Browse the repository at this point in the history
83ec9d3 update unit tests (douglasbakkum)
269b532 async command processing for hijack mode (douglasbakkum)
3c548fd refactor naming 'send' -> 'queue' where more accurate (douglasbakkum)
eefda0f u2f.c: adopt v2 `_` notation for static var/func (douglasbakkum)
2edc3ec u2f hijack bugfix: empty return frame when need more data (douglasbakkum)
  • Loading branch information
douglasbakkum committed Jun 28, 2019
2 parents e99b1e4 + 83ec9d3 commit f36bebc
Show file tree
Hide file tree
Showing 6 changed files with 262 additions and 180 deletions.
1 change: 1 addition & 0 deletions src/u2f/u2f.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#define U2F_MAX_ATT_CERT_SIZE 1024 // Max size of attestation certificate
#define U2F_MAX_EC_SIG_SIZE 72 // Max size of ANS.1 DER encoded EC signature
#define U2F_CTR_SIZE 4 // Size of counter field
#define U2F_FRAME_SIZE (3 + U2F_CTR_SIZE)// 1-byte flag | 4-byte counter | 2-byte status
#define U2F_APPID_SIZE 32 // Size of application id
#define U2F_NONCE_LENGTH 32 // Size of challenge nonce
#define U2F_UNCOMPRESSED_POINT 0x04 // Uncompressed point format
Expand Down
Loading

0 comments on commit f36bebc

Please sign in to comment.