summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/fssystem/fssystem_aes_ctr_storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/file_sys/fssystem/fssystem_aes_ctr_storage.h')
-rw-r--r--src/core/file_sys/fssystem/fssystem_aes_ctr_storage.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/file_sys/fssystem/fssystem_aes_ctr_storage.h b/src/core/file_sys/fssystem/fssystem_aes_ctr_storage.h
index bceb1f9ad..339e49697 100644
--- a/src/core/file_sys/fssystem/fssystem_aes_ctr_storage.h
+++ b/src/core/file_sys/fssystem/fssystem_aes_ctr_storage.h
@@ -22,12 +22,6 @@ public:
static constexpr size_t KeySize = 0x10;
static constexpr size_t IvSize = 0x10;
-private:
- VirtualFile m_base_storage;
- std::array<u8, KeySize> m_key;
- std::array<u8, IvSize> m_iv;
- mutable std::optional<Core::Crypto::AESCipher<Core::Crypto::Key128>> m_cipher;
-
public:
static void MakeIv(void* dst, size_t dst_size, u64 upper, s64 offset);
@@ -38,6 +32,12 @@ public:
virtual size_t Read(u8* buffer, size_t size, size_t offset) const override;
virtual size_t Write(const u8* buffer, size_t size, size_t offset) override;
virtual size_t GetSize() const override;
+
+private:
+ VirtualFile m_base_storage;
+ std::array<u8, KeySize> m_key;
+ std::array<u8, IvSize> m_iv;
+ mutable std::optional<Core::Crypto::AESCipher<Core::Crypto::Key128>> m_cipher;
};
} // namespace FileSys