diff options
| author | 2018-08-16 17:01:32 -0400 | |
|---|---|---|
| committer | 2018-08-23 11:52:44 -0400 | |
| commit | c4845df3d4b9fc3fc19dd936af87090ffb3fbdf2 (patch) | |
| tree | 7bca82326831ee20fc73a4fb2d609825cce8fad3 /src/core/file_sys | |
| parent | aes_util: Make XTSTranscode stricter about sizes (diff) | |
| download | yuzu-c4845df3d4b9fc3fc19dd936af87090ffb3fbdf2.tar.gz yuzu-c4845df3d4b9fc3fc19dd936af87090ffb3fbdf2.tar.xz yuzu-c4845df3d4b9fc3fc19dd936af87090ffb3fbdf2.zip | |
xts_encryption_layer: Implement XTSEncryptionLayer
Diffstat (limited to 'src/core/file_sys')
| -rw-r--r-- | src/core/file_sys/content_archive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/content_archive.cpp b/src/core/file_sys/content_archive.cpp index 47afcad9b..008e11d8c 100644 --- a/src/core/file_sys/content_archive.cpp +++ b/src/core/file_sys/content_archive.cpp | |||
| @@ -178,7 +178,7 @@ VirtualFile NCA::Decrypt(NCASectionHeader s_header, VirtualFile in, u64 starting | |||
| 178 | return std::static_pointer_cast<VfsFile>(out); | 178 | return std::static_pointer_cast<VfsFile>(out); |
| 179 | } | 179 | } |
| 180 | case NCASectionCryptoType::XTS: | 180 | case NCASectionCryptoType::XTS: |
| 181 | // TODO(DarkLordZach): Implement XTSEncryptionLayer. | 181 | // TODO(DarkLordZach): Find a test case for XTS-encrypted NCAs |
| 182 | default: | 182 | default: |
| 183 | LOG_ERROR(Crypto, "called with unhandled crypto type={:02X}", | 183 | LOG_ERROR(Crypto, "called with unhandled crypto type={:02X}", |
| 184 | static_cast<u8>(s_header.raw.header.crypto_type)); | 184 | static_cast<u8>(s_header.raw.header.crypto_type)); |