diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-07 23:01:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-07 23:01:25 +0200 |
commit | b9829a05bec6118b3ba96b3fc1de06a7215b3f3d (patch) | |
tree | 86da7287b1a17d9ebf3c92946247128639c7df59 /src/core/file_sys/content_archive.h | |
parent | Merge pull request #957 from lioncash/event (diff) | |
parent | content_archive: Add support for titlekey cryptography (diff) | |
download | yuzu-b9829a05bec6118b3ba96b3fc1de06a7215b3f3d.tar yuzu-b9829a05bec6118b3ba96b3fc1de06a7215b3f3d.tar.gz yuzu-b9829a05bec6118b3ba96b3fc1de06a7215b3f3d.tar.bz2 yuzu-b9829a05bec6118b3ba96b3fc1de06a7215b3f3d.tar.lz yuzu-b9829a05bec6118b3ba96b3fc1de06a7215b3f3d.tar.xz yuzu-b9829a05bec6118b3ba96b3fc1de06a7215b3f3d.tar.zst yuzu-b9829a05bec6118b3ba96b3fc1de06a7215b3f3d.zip |
Diffstat (limited to 'src/core/file_sys/content_archive.h')
-rw-r--r-- | src/core/file_sys/content_archive.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/file_sys/content_archive.h b/src/core/file_sys/content_archive.h index 6492163b5..a8879d9a8 100644 --- a/src/core/file_sys/content_archive.h +++ b/src/core/file_sys/content_archive.h @@ -95,7 +95,9 @@ protected: bool ReplaceFileWithSubdirectory(VirtualFile file, VirtualDir dir) override; private: + u8 GetCryptoRevision() const; boost::optional<Core::Crypto::Key128> GetKeyAreaKey(NCASectionCryptoType type) const; + boost::optional<Core::Crypto::Key128> GetTitlekey() const; VirtualFile Decrypt(NCASectionHeader header, VirtualFile in, u64 starting_offset) const; std::vector<VirtualDir> dirs; |