Pablo Curiel
b71f0d7b87
Some more changes.
...
* Codestyle fixes.
* NCA contexts for NCAs with titlekey crypto will now be generated even if the ticket can't be retrieved, in order to be able to use ncaReadContentFile() with them.
* Moved aes128XtsNintendoCrypt() out of nca.c.
2020-07-05 20:10:07 -04:00
Pablo Curiel
99429fd7b4
Bunch of changes.
...
* Updated disclaimer in all source files.
* Improved signed payload (certificate, ticket) handling.
* Prefer strlen + strcmp over strncmp whenever possible.
* Simplify header file inclusions in source files.
* Simplify background gamecard thread logic.
* Properly close keys file handle if there's a key parse error.
* Update NcaKeyGeneration enum.
* Small changes to save.c/h.
Will probably have to revert some USB changes...
2020-07-03 05:31:22 -04:00
Pablo Curiel
2e48a22f8c
Improve thread-safety.
2020-05-02 19:40:50 -04:00
Pablo Curiel
91fdff7816
Codestyle fixes.
2020-05-01 11:06:24 -04:00
Pablo Curiel
4774aeae9c
BKTR done, needs testing.
2020-04-30 04:25:03 -04:00
Pablo Curiel
b64bcf5451
Fix mem leaks in PFS/RomFS initializers.
...
Also renamed Ecsda240 -> Ecc480 and added a new Hmac160 signature type.
2020-04-29 17:11:27 -04:00
Pablo Curiel
7e8fa96829
Remove NcaEncryptionType_Nca0 + BKTR start.
2020-04-29 08:59:28 -04:00
Pablo Curiel
7aa72dc618
Remove unnecessary RomFS context members.
2020-04-29 07:55:23 -04:00
Pablo Curiel
18531961ca
RomFS file entry patching working.
2020-04-29 05:54:40 -04:00
Pablo Curiel
e1b1dfc648
Reworked FS section patching.
2020-04-28 04:58:17 -04:00
Pablo Curiel
2c252c03b2
Control.nacp reading.
...
First step towards RomFS modification.
2020-04-27 22:33:38 -04:00
Pablo Curiel
278142fd22
RomFS done.
...
Modifications method still missing though.
2020-04-27 19:30:35 -04:00
Pablo Curiel
efe76093e4
RomFS (almost) done.
...
Need to test read functions.
2020-04-27 18:37:15 -04:00
Pablo Curiel
bc93001525
RomFS ctx working.
...
Need to create filepath methods.
2020-04-26 06:04:31 -04:00
Pablo Curiel
c6eaf3c8b6
PFS0 mod data + RomFS start.
2020-04-26 04:35:01 -04:00
Pablo Curiel
7c8bf5c831
PFS0 context.
2020-04-24 05:38:13 -04:00
Pablo Curiel
76550adab8
NCA read finished.
2020-04-22 16:53:20 -04:00
Pablo Curiel
0e5683b880
NCA read (almost) done.
...
Missing BKTR stuff.
2020-04-21 06:23:33 -04:00
Pablo Curiel
ccf36f4963
NCA process done.
2020-04-20 06:39:41 -04:00
Pablo Curiel
cf8ab4d4ac
More improvements.
2020-04-19 18:44:22 -04:00
Pablo Curiel
9679eb72bb
Hash FS start.
2020-04-16 06:13:11 -04:00
Pablo Curiel
c83858311b
More baby steps.
2020-04-15 20:06:41 -04:00
Pablo Curiel
eccd3f0c1c
Baby steps.
2020-04-15 16:50:07 -04:00
Pablo Curiel
e5a4532a63
First commit.
2020-04-11 01:28:26 -04:00