Commit Graph

72 Commits

Author SHA1 Message Date
shchmue
d84ab5796a Validate mariko keyslot contents; dump class keys 2021-08-21 16:02:19 -06:00
shchmue
e9568a8625 keys: Add keyslot access check 2021-07-11 15:23:43 -06:00
shchmue
d8ba2c8c94 keys: Use skb_set value 2021-07-11 15:00:34 -06:00
shchmue
db453b961b Always derive latest master key on mariko hw 2021-07-11 12:58:43 -06:00
shchmue
918b00ce07 Implement payload compression 2021-05-12 16:47:06 -06:00
shchmue
a7712b173c Update to hekate bdk 5.5.6 2021-05-12 15:38:34 -06:00
shchmue
b3f6e055b2 Reconfigure messages to conserve payload size 2021-01-05 15:38:53 -07:00
shchmue
b77d42e8e3 keys: Dump partial AES keys even if 0 titlekeys 2021-01-05 15:24:54 -07:00
shchmue
89ef341621 keys: Dump partials for Mariko keyslot bruteforce 2020-12-10 18:05:36 -07:00
shchmue
b7495bd575 keys: Finish refactor 2020-12-10 12:39:09 -07:00
shchmue
b074d14107 keys: Finalize Mariko compatibility with save mac 2020-12-09 19:08:24 -07:00
shchmue
a0eaa5e4ed Support Mariko, patched Erista 2020-12-07 19:11:33 -07:00
shchmue
1f77c50975 keys: More refactoring 2020-12-04 18:28:05 -07:00
shchmue
423a5640be keys: Break up dump_keys, begin Mariko support 2020-12-04 13:07:46 -07:00
shchmue
bd134cf670 Support firmware 11.0.0, continue refactor 2020-12-03 18:16:55 -07:00
shchmue
c4172d77e1 keys: Improve readability, read keyblobs at once 2020-07-13 16:22:36 -06:00
shchmue
49dfca45a5 keys: Remove key source search, begin rewrite 2020-07-13 11:31:51 -06:00
shchmue
5ed601dd4b Improve emummc semantics and error checking 2020-07-02 09:42:49 -06:00
shchmue
bd09f5418d Use cal0 struct, improve style consistency 2020-06-26 14:49:42 -06:00
shchmue
4ffd4ce7f0 Transition to hekate bdk layout 2020-06-26 14:17:06 -06:00
shchmue
4425e81085 Sector -> cluster cache, optimize _gf256_mul_x_le 2020-06-25 15:11:40 -06:00
shchmue
47f749c6fe Support sept from Atmosphere 0.13.0 2020-06-17 10:37:48 -06:00
shchmue
7649eb1362 Improve code readability 2020-06-17 10:31:29 -06:00
shchmue
afd17a13ba Add memcmp result checks to avoid gcc optimization 2020-05-18 16:51:37 -06:00
shchmue
4a69ea1922 Add FSS0 support 2020-05-18 15:52:19 -06:00
shchmue
64d7e5cebd Apply hekate 5.2.1 and gcc 10 changes, -fno-inline 2020-05-18 14:11:27 -06:00
shchmue
0427c99176 keys: Improve messaging for long run times 2020-05-10 21:09:11 -06:00
shchmue
c63532bfdc keys: Fastfs wasn't appropriate for this after all 2020-05-10 19:11:07 -06:00
shchmue
3705b5f228 Hardcode buffers, lock sector cache, use fastfs 2020-05-10 13:28:54 -06:00
shchmue
b536a98b8d keys: Fix freeze when es saves not present 2020-04-15 17:05:20 -06:00
shchmue
8a742a45d4 save: Fix remap init, add graceful fail paths 2020-04-15 16:22:23 -06:00
shchmue
25ff127404 Merge hekate 5.1.4 changes 2020-04-15 16:18:58 -06:00
shchmue
e72e486283 v1.8.1: Fixes for new console key derivation 2019-12-30 09:18:02 -07:00
shchmue
fa41ad507f keys: Fix incorrect new console bis key derivation 2019-12-16 13:37:44 -07:00
shchmue
f2e5413ef3 keys: Check emummc SD seed vector when appropriate 2019-12-09 12:50:08 -07:00
shchmue
b3a739592e Merge hekate 5.1.0 changes 2019-12-08 19:17:46 -07:00
shchmue
cdb29719e4 keys: Improve unrecognized pkg1 messaging 2019-12-08 12:28:52 -07:00
shchmue
0459e813cf keys: Protect against free-before-use of kip 2019-12-07 17:01:16 -07:00
shchmue
6ad7192199 Move key offsets to struct for cleaner code 2019-10-28 09:54:01 -06:00
shchmue
1c82665901 Parse ES saves right, vastly improve titlekey time 2019-10-26 20:29:36 -06:00
shchmue
a5bb071927 keys: Fix potential memory leak in _nca_process 2019-10-25 11:59:34 -06:00
shchmue
dbc86a6699 keys: Ensure SD mount before writing key buffer 2019-10-25 11:57:59 -06:00
shchmue
86f2a63fb7 keys: Fix failure to free decompressed kip1 2019-10-25 11:56:06 -06:00
shchmue
535a2d97f2 keys: Validate storage init 2019-10-25 11:54:57 -06:00
shchmue
8c2aa76fd0 v1.6.4: Skip f_mkdir validation altogether 2019-10-21 11:06:39 -06:00
shchmue
340a256518 Fix the f_mkdir fix 2019-10-15 11:14:14 -06:00
shchmue
ee1a3e08ae Fix bad f_mkdir check skipping file save 2019-10-15 11:11:47 -06:00
shchmue
d890616c33 Fix function name typo 2019-10-15 10:25:20 -06:00
shchmue
5d1386cc10 Validate more file I/O calls 2019-10-07 13:18:14 -06:00
shchmue
0024f049b6 Add new FS keys for LibHac, ff.c -> thumb 2019-10-06 18:41:20 -06:00