diff options
| author | David <25727384+ogniK5377@users.noreply.github.com> | 2019-09-22 11:42:34 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-22 11:42:34 +1000 |
| commit | c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd (patch) | |
| tree | e260125fd1ef6e8a29b255b967a447eeb1aeb204 /src/core/crypto/partition_data_manager.cpp | |
| parent | 7979ccd9569865952b552635f918c98899c91ce9 (diff) | |
| parent | 038bcec11153cefd713ddb06eddcc42b0a936df2 (diff) | |
Merge pull request #2430 from DarkLordZach/fs-controller
core: Implement FileSystemController to deglobalize FS services
Diffstat (limited to 'src/core/crypto/partition_data_manager.cpp')
| -rw-r--r-- | src/core/crypto/partition_data_manager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/crypto/partition_data_manager.cpp b/src/core/crypto/partition_data_manager.cpp index 01a969be9..594cd82c5 100644 --- a/src/core/crypto/partition_data_manager.cpp +++ b/src/core/crypto/partition_data_manager.cpp @@ -480,6 +480,10 @@ void PartitionDataManager::DecryptProdInfo(std::array<u8, 0x20> bis_key) { prodinfo_decrypted = std::make_shared<XTSEncryptionLayer>(prodinfo, bis_key); } +FileSys::VirtualFile PartitionDataManager::GetDecryptedProdInfo() const { + return prodinfo_decrypted; +} + std::array<u8, 576> PartitionDataManager::GetETicketExtendedKek() const { std::array<u8, 0x240> out{}; if (prodinfo_decrypted != nullptr) |
