254 Commits

Author SHA1 Message Date
Conor Patrick
26adac1730 size optimize tinycbor 2019-04-23 19:17:18 -04:00
Conor Patrick
eab8b81c95 include nfc in user presence test 2019-04-23 14:05:18 -04:00
Conor Patrick
325396d518 dont change clock freq if powered 2019-04-23 13:54:23 -04:00
Conor Patrick
6d04c86018 update lowFreq flag correctly 2019-04-23 13:54:10 -04:00
Conor Patrick
74cbe00e3b Enable debug logs for >0 2019-04-14 15:13:39 -04:00
Nicolas Stalder
40b9dae38a Fix buffer overrun and use correct size for random u32 2019-03-26 01:55:42 +01:00
Nicolas Stalder
98a209e330 make target to flash firmware via bootloader 2019-03-23 13:54:04 +01:00
Conor Patrick
74a1f0e21b
Merge pull request #143 from solokeys/paranoid-modemmanager
Do not signal "AT modem" for ACM-CDC serial
2019-03-23 01:48:18 -04:00
Nicolas Stalder
e21172fff8
Merge pull request #149 from solokeys/hmac-secret
Hmac-secret
2019-03-22 22:05:41 +01:00
Nicolas Stalder
c851807376 Do not advertise AT modem capabilities 2019-03-22 20:00:02 +01:00
Conor Patrick
a0d27c2c56 add memory layout commment, undo -8 simplification 2019-03-22 19:55:25 +01:00
Conor Patrick
3a10427bd9 remove unused files 2019-03-22 19:55:25 +01:00
Nicolas Stalder
f3b591e570 Apply suggestions from code review
Co-Authored-By: conorpp <conorpp94@gmail.com>
2019-03-22 19:55:25 +01:00
Conor Patrick
175f59d206 paste into other linker scripts 2019-03-22 19:55:25 +01:00
Conor Patrick
f5ff6a11f0 rewrite base linker script 2019-03-22 19:55:25 +01:00
Conor Patrick
d68011ef04 remove warnings 2019-03-21 00:01:37 -04:00
Conor Patrick
946e932b1e refactor to use less ram 2019-03-20 23:28:45 -04:00
Nicolas Stalder
50bfbc1eff I think this does it 2019-03-10 15:26:45 +01:00
Conor Patrick
5cb81c753d Add version/extensions to PC build 2019-03-06 14:05:44 -05:00
Conor Patrick
a40dcf3f17 reduce nfc detect period to 10ms 2019-03-02 20:08:28 -05:00
Conor Patrick
4b82e80d7a init device with nfc detection 2019-03-02 20:08:15 -05:00
Conor Patrick
246dea8a44 fix clock init by setting flash latency last for low freqs 2019-03-02 20:05:27 -05:00
Conor Patrick
7a98764a5b organize ECC flags 2019-03-02 19:48:09 -05:00
Conor Patrick
0232893611 increase buffer size for USB strings, check string length 2019-03-02 19:38:03 -05:00
Conor Patrick
5995f84822 buffering logs sometimes freezes, stop for now 2019-03-02 15:43:12 -05:00
Conor Patrick
1ff00895b1 init nfc, fix freeze 2019-03-02 02:02:01 -05:00
Conor Patrick
83641b3789 disable clock settings for NFC passive for now 2019-03-02 01:30:09 -05:00
Conor Patrick
35707c3797 wrong size, causes RK's to be overwritten 2019-03-02 00:55:25 -05:00
Conor Patrick
32f2436380
Merge pull request #120 from nickray/sha512
SHA512 (via Cifra)
2019-03-01 21:44:13 -05:00
Conor Patrick
7255c4f8db
Merge pull request #121 from solokeys/nfc
Nfc
2019-03-01 21:43:12 -05:00
Nicolas Stalder
ff5207ba77 First attempt 2019-02-27 21:43:20 +01:00
Nicolas Stalder
5e70c11b54 Hide onboard crypto tests behind a reserved ctaphid command 2019-02-27 02:58:56 +01:00
Conor Patrick
0eac67259d remove stm32l442 target 2019-02-26 18:24:40 -05:00
Nicolas Stalder
47aa287480 Vanilla cifra needs more includes 2019-02-26 23:50:01 +01:00
Nicolas Stalder
865b698bed ...and bootloader 2019-02-26 23:33:57 +01:00
Conor Patrick
14974e0ebe fix compile issues 2019-02-26 15:30:57 -05:00
Conor Patrick
e8d0ad5e7c autodetect passive nfc operation or usb operation 2019-02-26 15:04:23 -05:00
Conor Patrick
e2ca7f52db optimize ecc for arm 2019-02-26 14:19:07 -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
Nicolas Stalder
0c296bba30 First go at using cifra for SHA512 2019-02-26 19:52:59 +01:00
Conor Patrick
57930aaa13 fix compilation errors 2019-02-26 13:27:25 -05:00
Conor Patrick
1a6895ca25 merge 2019-02-26 13:10:16 -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
merlokk
fed9f473aa added hardware part of UID 2019-02-19 18:12:01 +02:00
Conor Patrick
596c6c1077 manually specify order for reproducible builds 2019-02-16 22:30:49 -05:00
Conor Patrick
6c3014575f Update application.mk 2019-02-16 22:02:26 -05:00
Nicolas Stalder
0d2e03a5a9 Change firmware-hacker ROP level, add ST DFU udev
- later we can set ROP=1 for hacker firmware builds again,
  right now it causes issues in solo-python tool
2019-02-17 02:30:16 +01:00