352 Commits

Author SHA1 Message Date
Jan A
5168afa16e Code cosmetics, added missing void statement to empty parameter of
functions
2019-10-08 12:31:08 -04:00
Conor Patrick
c61f15a090 allow get_assertion with disabled UP 2019-09-17 00:13:57 +08:00
merlokk
6652feb4a2 added CID transfer and NAK-ACK sequence 2019-09-05 23:26:15 +08:00
Conor Patrick
a9bbdee35b
Merge branch 'master' into remove-pin-storage 2019-09-02 21:45:21 +08:00
Conor Patrick
321bbe3691
Merge pull request #293 from solokeys/ccid
Ccid
2019-09-02 21:42:38 +08:00
merlokk
1ce191343f add checking some rare case in iso14443-4 chaining. add NAK checking and aborting the data sending. 2019-08-31 02:12:05 +08:00
Conor Patrick
9041e5903c return SW_WRONG_LENGTH for incorrect lc 2019-08-30 16:37:17 +08:00
Conor Patrick
8bf1921263 dont reference not-enabled ccid 2019-08-24 16:20:52 +08:00
Conor Patrick
3ba9b671fc dont use composit for bootloader 2019-08-24 16:01:44 +08:00
Conor Patrick
69c34f9ca9 Merge branch 'master' into ccid 2019-08-24 15:54:51 +08:00
Conor Patrick
3b4c154fd1 add enable macro for CCID interface 2019-08-24 15:49:02 +08:00
Conor Patrick
ccd9a04146 add ccid log tag 2019-08-24 15:08:14 +08:00
Conor Patrick
bde4c09c21 CCID basics working 2019-08-24 15:06:16 +08:00
merlokk
5d3914bc5e remove delays 2019-08-23 22:25:22 +08:00
Conor Patrick
8e192f2363 do not delay bootloader 2019-08-23 14:41:26 +08:00
Conor Patrick
affc256ca2 add delay to cap button improve reliability 2019-08-23 14:41:26 +08:00
Conor Patrick
b3ac739a35 make touch sensor edge based to avoid approving >1 transaction 2019-08-23 13:44:06 +08:00
merlokk
3fad9a7a7d add response to reset command and delete debug 2019-08-23 10:43:09 +08:00
merlokk
d39d7978fd small fix 2019-08-22 21:04:01 +08:00
merlokk
c972a13034 fix reboot 2019-08-22 20:55:25 +08:00
merlokk
a95e62e2ea reset 2019-08-22 20:55:25 +08:00
merlokk
c79b7abfb6 add reset placeholder 2019-08-22 20:55:25 +08:00
merlokk
dfb124dc8b refactoring 2019-08-22 20:55:12 +08:00
merlokk
972760eb78 added APDU input chaining 2019-08-22 20:55:12 +08:00
Conor Patrick
32f920e372 compile/crash fixes 2019-08-22 19:52:21 +08:00
Conor Patrick
a5aff478dd Merge branch 'master' into ccid 2019-08-22 17:13:55 +08:00
merlokk
728acc1671 chaining not needs to go to the start 2019-08-21 12:13:16 +08:00
merlokk
62b4418dac fix pck length math 2019-08-21 12:13:16 +08:00
merlokk
8059a9765f was wrong buffer 2019-08-21 12:13:16 +08:00
merlokk
b743d5fac5 sketch 2019-08-21 12:13:16 +08:00
Conor Patrick
a72f0ede05 take a lazy approach to key agreement generation to not hold up boot time for nfc 2019-08-21 12:06:06 +08:00
Conor Patrick
adcbd3aeb8 speed up public key derivation slightly for nfc 2019-08-21 12:06:06 +08:00
Conor Patrick
d931954a13 remove WTX, move debug log 2019-08-21 12:06:06 +08:00
Szczepan Zalega
7f82233d17
Add missing unit for firmware compilation 2019-08-20 11:38:29 +02:00
merlokk
095b08e3d9 add some stability in small responses 2019-08-19 22:33:32 +08:00
merlokk
89e021003a small fix for HID readers 2019-08-19 22:33:32 +08:00
Conor Patrick
3927aec06d dont remove solo.hex bootloader.hex 2019-08-16 14:04:43 +08:00
Conor Patrick
caac9d0cc1 add secure build that uses default attestation key 2019-08-16 14:04:43 +08:00
Conor Patrick
2423154fee fix warning 2019-08-15 18:07:40 +08:00
merlokk
cf79b7865d small fix 2019-08-15 17:50:16 +08:00
merlokk
6f0cf99c92 PPS implementation 2019-08-15 17:50:16 +08:00
Conor Patrick
3be8611fcf remove duplicate from merge 2019-08-15 17:44:09 +08:00
Conor Patrick
21489658a7
Merge branch 'master' into fix_cdc_interfaces 2019-08-15 17:38:57 +08:00
Conor Patrick
a07a3dee8d refactor user_presence handling 2019-08-15 17:36:35 +08:00
Conor Patrick
416da63a9a not for bootloader 2019-08-15 17:36:35 +08:00
Conor Patrick
027fa791a3 only 1 user presence auth per button press 2019-08-15 17:36:35 +08:00
Conor Patrick
3e52d7b42b cache button press for 2s 2019-08-15 17:36:35 +08:00
merlokk
301e18c6a2 add some int0 logic to main cycle 2019-08-14 14:32:03 +08:00
merlokk
44205141eb add one place for int0 2019-08-14 14:32:03 +08:00
merlokk
6e1110ca9b fix bug with ams_wait_for_tx 2019-08-14 14:32:03 +08:00