99 Commits

Author SHA1 Message Date
Conor Patrick
9041e5903c return SW_WRONG_LENGTH for incorrect lc 2019-08-30 16:37:17 +08:00
merlokk
5d3914bc5e remove delays 2019-08-23 22:25:22 +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
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
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
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
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
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
merlokk
9105b988e2 fix some warnings 2019-08-14 14:32:03 +08:00
merlokk
a1eedc0048 small fix 2019-07-06 13:09:19 +03:00
merlokk
89e00482e4 some improvements 2019-07-06 12:52:23 +03:00
merlokk
533ce39237 fix nfc_cc length 2019-07-06 00:15:21 +03:00
merlokk
ed9689435d APDU_FIDO_U2F_VERSION 2019-07-05 12:33:23 +03:00
merlokk
315b6564ab u2f works with extended apdu and now user presence not needs if request come from nfc and power from usb 2019-07-04 23:12:31 +03:00
merlokk
d1df8b8b77 u2f authenticate fix 2019-07-04 19:54:00 +03:00
merlokk
cb76c34ed2 fix addressing 2019-07-04 19:45:09 +03:00
merlokk
f2ebaf6abe invalid cla and r-block works 2019-07-04 19:14:26 +03:00
merlokk
4845d2c172 fix 14443 apdu decode and select 2019-07-04 17:52:00 +03:00
merlokk
75b1d9cd01 offset calc refactoring 2019-07-04 17:38:34 +03:00
merlokk
26bc8a2889 apdu decoding works 2019-07-04 17:27:03 +03:00
merlokk
d2c85881e6 applet selection and apdu check 2019-07-04 16:29:30 +03:00
merlokk
4dc6bcf771 apdu decode sketch 2019-07-03 23:01:37 +03:00
merlokk
8c2e2386a9 fix NFC applet selection does not work correctly #213 2019-07-03 20:35:50 +03:00
Conor Patrick
54792b345c status fix 2019-05-09 16:07:05 -04:00
Conor Patrick
84740f3d6a changes to make firmware interop on all hw models 2019-05-09 16:01:07 -04:00
Conor Patrick
325396d518 dont change clock freq if powered 2019-04-23 13:54:23 -04:00
Conor Patrick
a40dcf3f17 reduce nfc detect period to 10ms 2019-03-02 20:08:28 -05:00
Conor Patrick
e8d0ad5e7c autodetect passive nfc operation or usb operation 2019-02-26 15:04:23 -05:00
Conor Patrick
ecf994b647 fix warnings and compile errors 2019-02-26 14:13:29 -05:00
Conor Patrick
347d0942b1 refactor fromNFC 2019-02-26 14:07:27 -05:00
Conor Patrick
ff0d42c8d5 refactor clock rates, fix warnings 2019-02-26 13:56:06 -05:00
Conor Patrick
a195408a11 scale up to 24 MHz only for register 2019-02-26 01:51:07 -05:00
Conor Patrick
54b7f42056 passive operation works as is (refactor needed) 2019-02-26 01:19:35 -05:00
Conor Patrick
0f6be6740b
Merge pull request #101 from merlokk/nfc2
Nfc2
2019-02-07 19:14:12 -05:00
Conor Patrick
9054736e0e delete debugging code 2019-02-07 19:03:45 -05:00