Commit graph

7 commits

Author SHA1 Message Date
Alex Barney
a68426751f Introduce multi-instance, thread-safe streams
Previously multiple streams could share the same base stream. This meant that you couldn't alternate between streams. If you read from one stream, the state of other streams sharing the same base stream would be messed up and would silently return bad data.

This commit introduces a SharedStream class that allows multiple SharedStreams to share the same base class and not interfere with each other.
2018-08-22 15:54:34 -05:00
Alex Barney
c44659ca17 Get title keys from a nand dump 2018-07-13 10:25:39 -05:00
Alex Barney
18bb3d8531 First attempt at implementing BKTR 2018-07-07 15:45:06 -05:00
Alex Barney
d24028f34d Improve AES-CTR performance 2018-06-29 18:49:53 -05:00
Alex Barney
b6cac8b5f2 Add romfs class 2018-06-29 14:53:51 -05:00
Alex Barney
95ee755774 Apply section CTR and do a pfs0 superblock validity check 2018-06-28 15:03:04 -05:00
Alex Barney
b632a7df0c Decrypt AES-CTR sections 2018-06-22 14:05:29 -05:00