Commit graph

27 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
f83a284b96 Add verification option to save files 2018-10-18 17:54:24 -05:00
Alex Barney
75dafd9cbe Remove old classes 2018-10-12 21:08:16 -05:00
Alex Barney
e798a8dd45 Add key file exporting to hactoolnet 2018-10-02 22:00:57 -05:00
Alex Barney
e740d13bbe Enforce "var" style 2018-10-02 17:25:58 -05:00
Alex Barney
ed6c3c2bed Add the option to enable IVFC integrity checks 2018-09-20 16:16:40 -05:00
Alex Barney
f04fc33b07 Read INI1 2018-09-17 19:52:22 -05:00
Alex Barney
4bfaafc301 Add package2 support 2018-09-16 20:26:16 -05:00
Alex Barney
087008f7f4 Add save file signing capability 2018-09-15 22:31:06 -05:00
Alex Barney
8022d193df Add package1 support. Update usage 2018-09-12 19:51:21 -05:00
Alex Barney
49a1f0b5a4 Read save files from SD card 2018-09-10 22:09:35 -05:00
Alex Barney
01f5ed7ccf Update usage text 2018-09-09 20:48:17 -05:00
Alex Barney
1a7e452a89 Add Duplex FS handler for save files 2018-09-01 14:23:45 -05:00
Alex Barney
e7f5702477 Generate keys from master key + source 2018-08-27 17:40:06 -05:00
Alex Barney
8433b2c91a Extract ExeFS and RomFS for more input types 2018-08-22 15:36:06 -05:00
Alex Barney
7b0ae0c954 Option to export raw RomFS from XCI 2018-08-22 09:58:36 -05:00
Alex Barney
86741d3c92 Extract main RomFS from XCIs 2018-08-14 17:38:32 -06:00
Alex Barney
1e813818c0 Add support for extracting XCI partitions 2018-08-14 17:21:07 -06:00
Alex Barney
55031755a8 Add ability to create NSP files from SD card contents 2018-08-02 22:14:58 -05:00
Alex Barney
f074d89d46 Read and extract core save file system 2018-07-24 14:51:52 -05:00
Alex Barney
9bd55e19a6 Update usage 2018-07-19 18:34:16 -05:00
Alex Barney
ace593a19d Read console-unique keys 2018-07-09 11:47:44 -05:00
Alex Barney
7ed92fedcb Add basic readme 2018-07-08 11:40:55 -05:00
Alex Barney
18bb3d8531 First attempt at implementing BKTR 2018-07-07 15:45:06 -05:00
Alex Barney
c4efec762f Mimic hactool output. Verify hashes 2018-07-05 16:37:30 -05:00
Alex Barney
20be7206a0 Add basic CLI functionality 2018-07-02 21:23:07 -05:00
Alex Barney
79b09267e6 Begin command line tool 2018-07-02 15:12:41 -05:00