mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-17 00:57:56 +00:00
content_archive: Add support for titlekey cryptography
This commit is contained in:
parent
4c42134b09
commit
3150538b3f
2 changed files with 39 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue