Commit graph

17681 commits

Author SHA1 Message Date
unknown10777
ecce0e6502 some not match original code spacing 2023-12-25 01:31:18 +08:00
unknown10777
f13970ef74 typo 2023-12-24 22:24:18 +08:00
unknown10777
a2da1c4a9a fix usart btfactory not working for HC-04 2023-12-24 22:18:31 +08:00
iceman1001
1c8b2110bb reduce stack usage 2023-12-15 16:39:42 +01:00
iceman1001
20d95fa3ea remove some more parity arrays 2023-12-15 09:33:02 +01:00
iceman1001
30c7ce1335 wait until timeout 2023-12-15 09:22:35 +01:00
iceman1001
c210b370fe remove par 2023-12-15 09:13:20 +01:00
iceman1001
04769f3183 fudan command is never 512 bytes. Converted to use MIX instead 2023-12-14 23:44:07 +01:00
iceman1001
fe4c5792fc make sure its initialised 2023-12-14 23:43:30 +01:00
iceman1001
4a303afecc in hf 14a raw the check for the datalength to be less than 512 bytes wasnt enforced. I might have gotten this wrong. But now we can use MIX instead. Same for APDUs. So sending 488 bytes to device is possible. I can only think of one person ever doing such a thing and I am sure I will hear about this 2023-12-14 23:42:51 +01:00
iceman1001
2709882312 untested/unused code but in the process of removing all OLD, will need to verify its never larger than 488 bytes 2023-12-14 23:40:30 +01:00
iceman1001
7fe12d4d1b payload should not be larger than 488 bytes, so we can use MIX instead 2023-12-14 23:39:21 +01:00
iceman1001
70520af03b style 2023-12-14 23:38:04 +01:00
iceman1001
6b9963b12a forgot to free the allocated memory 2023-12-14 23:37:37 +01:00
iceman1001
e7e3e86ea4 text 2023-12-14 23:36:12 +01:00
iceman1001
ab0ee92f57 the par[] array allocation was the root cause for the stack smashing. Making one static array to be reused across 14a functions took care of the issue.\nalso made the command allocation for ISO14 APDU sending a bigbuf allocation instead. Since nothing in the APDU has to do with EMULATOR memory etc. The trace log grows from start of bigbuff, allocations grows from end of bigbuff 2023-12-14 23:35:30 +01:00
iceman1001
95d1d5646f an attempt to reduce some stack memory. No need for the debug printing to be 512 bytes. Now limited to 200 chars 2023-12-14 23:29:43 +01:00
Iceman
6c42b723a8
Merge pull request #2209 from nvx/bugfix/bootrom_clear_bss
Clear bss on bootloader start.
2023-12-14 12:04:35 +01:00
nvx
d3a90a5da3 Clear bss on bootloader start.
This fixes a bug with the USB device serial number sometimes not working in bootloader mode.
2023-12-14 20:33:00 +10:00
iceman1001
f47d05df8a the old isn't needed 2023-12-14 00:40:03 +01:00
iceman1001
c3bebd350d fix some helptext showing wrong dates compared to what the instructions said 2023-12-14 00:38:01 +01:00
iceman1001
79213b169a style 2023-12-14 00:37:06 +01:00
iceman1001
0c3d487c15 maur 2023-12-14 00:36:33 +01:00
iceman1001
e41019e584 the renumerations of USB seems to time critical. Prolonging the delay seems to improve it. Thanks to @NVX / @HenryGab for looking into it 2023-12-14 00:36:07 +01:00
iceman1001
f4f832e121 style 2023-12-14 00:33:02 +01:00
iceman1001
ee1534103b make sure to turn off the antenna if entering this state 2023-12-14 00:31:09 +01:00
iceman1001
17ab86c52c make sure limit match up with the multiple of 4 bytes alignment 2023-12-14 00:30:15 +01:00
iceman1001
a2327cfe20 typo 2023-12-13 22:33:09 +01:00
Iceman
599b4f6e73
Merge pull request #2208 from wh201906/bootloader
Add hw bootloader
2023-12-13 17:55:30 +01:00
Iceman
4e5b896c7b
Merge pull request #2207 from wh201906/doc
Fix docs
2023-12-13 17:54:57 +01:00
wh201906
81888e01a2
Add hw bootloader
Reboot to the bootloader mode in the client
2023-12-13 21:41:17 +08:00
wh201906
c82bc2aea5
Fix docs
Add new PLATFORM_EXTRAS options in 4_Advanced-compilation-parameters.md
Fix some help text
2023-12-13 21:00:17 +08:00
iceman1001
c14d675446 fix link 2023-12-12 21:06:53 +01:00
Iceman
b5e2605fd9
Merge pull request #2206 from kitsunehunter/master
Update omnikey documentation
2023-12-12 21:03:16 +01:00
kitsunehunter
fc1de1e1f1
spelling
Signed-off-by: kitsunehunter <90627943+kitsunehunter@users.noreply.github.com>
2023-12-12 13:56:25 -05:00
kitsunehunter
032ba98c49
Add info on MultiClass
Signed-off-by: kitsunehunter <90627943+kitsunehunter@users.noreply.github.com>
2023-12-12 13:17:01 -05:00
kitsunehunter
b1410264ca
Update omnikey usage and encoding
Signed-off-by: kitsunehunter <90627943+kitsunehunter@users.noreply.github.com>
2023-12-12 13:16:32 -05:00
kitsunehunter
ab9753629b
Add omnikey auto downgrade config file
Signed-off-by: kitsunehunter <90627943+kitsunehunter@users.noreply.github.com>
2023-12-12 12:14:09 -05:00
iceman1001
7aabd78707 text 2023-12-12 17:11:32 +01:00
iceman1001
20872b8707 text 2023-12-12 17:10:23 +01:00
iceman1001
adc289c510 fix path 2023-12-12 17:06:07 +01:00
iceman1001
da98ad8854 adapted the notes on downgrade attacks to follow the repo style 2023-12-12 17:05:10 +01:00
iceman1001
20ca44c8b2 fix partial found keys 2023-12-12 11:48:10 +01:00
Oleg Moiseenko
7f8291f7f4
Merge pull request #2203 from merlokk/mkstyle
make style
2023-12-12 01:12:38 +02:00
merlokk
2517e8b345 make style 2023-12-12 01:11:10 +02:00
iceman1001
1d3129972f typo 2023-12-11 23:56:50 +01:00
iceman1001
c533d3aba8 adapt text out for hf mf info 2023-12-11 23:37:05 +01:00
Oleg Moiseenko
d1a3e8bf56
Merge pull request #2202 from merlokk/mf_info
mf info command
2023-12-11 23:17:26 +02:00
Oleg Moiseenko
37d6430894
Merge branch 'master' into mf_info
Signed-off-by: Oleg Moiseenko <807634+merlokk@users.noreply.github.com>
2023-12-11 23:17:18 +02:00
merlokk
e77ed68775 changelog 2023-12-11 23:16:53 +02:00