Commit graph

17 commits

Author SHA1 Message Date
Alex Barney
3d50085e22
Use Storage throughout the library instead of Stream (#18)
*Create an IStorage interface and Storage abstract class to use instead of Stream

* Improve AES-XTS performance by ~16x

* Double AES-CTR performance: 800 MB/s -> 1600 MB/s on a 6700K

* Add AES-XTS tests

* Add AES benchmark and AES-CTR writing

* Add support for a hashed FAT in save files

* Add option to export decrypted NCA

* Allow opening decrypted package1 and package2

* Make sure romfs disposal can cascade all the way down

* Validate NCA, NPDM and package2 signatures
2018-11-18 23:20:34 -05:00
Alex Barney
ae649182ce Rename "Savefile" namespace to "Save" 2018-10-13 15:12:10 -05:00
Alex Barney
24e6434765 Use an enum instead of a bool for integrity checking levels 2018-10-09 15:33:56 -05:00
Alex Barney
e740d13bbe Enforce "var" style 2018-10-02 17:25:58 -05:00
Alex Barney
e92c686d77 Add save file integrity verification 2018-09-20 20:34:40 -05:00
Alex Barney
e651eb731c Validate save signature 2018-09-15 22:10:42 -05:00
Alex Barney
7cef145513 Make key names match naming convention 2018-09-12 20:27:46 -05:00
Alex Barney
f1ac965df8 Properly set the first map entry when creating a JournalStream 2018-08-31 17:54:45 -05:00
Alex Barney
4101c48cf4 Small cleanup 2018-08-31 11:19:14 -05:00
Alex Barney
5a793d61d6 Rename SdFs to SwitchFs 2018-08-31 11:07:46 -05:00
Alex Barney
93afb840ca Rename libhac to LibHac 2018-08-31 10:50:28 -05:00
Alex Barney
d7929fc458 Use .NET 4.6+ built-in RSA-OAEP decryption 2018-08-25 11:42:33 -05:00
Alex Barney
1dc232e704 Use savefile reader to get tickets from NAND 2018-08-24 18:27:04 -05:00
Alex Barney
c44659ca17 Get title keys from a nand dump 2018-07-13 10:25:39 -05:00
Alex Barney
f1b660b95f Add IFileSystem interface
I don't know about this. It seems really easy to screw something up.

Allows using the same code for reading the raw nand and reading a normal file system
2018-07-11 20:03:09 -05:00
Alex Barney
5e678ddb06 Extract tickets from nand 2018-07-09 18:34:46 -05:00
Alex Barney
f3c7d04bb0 Add Nand project 2018-07-09 11:49:59 -05:00