VERY experimental Nintendo Switch 2 emulator
C++
core/crypto: Remove unnecessary includes
Lioncash8b86a89dd5bd
diff --git a/src/core/crypto/aes_util.cpp b/src/core/crypto/aes_util.cppindex 4690af5f83..3d939da15d 100644--- a/src/core/crypto/aes_util.cpp+++ b/src/core/crypto/aes_util.cpp@@ -3,6 +3,8 @@// Refer to the license.txt file included.#include <mbedtls/cipher.h>+#include "common/assert.h"+#include "common/logging/log.h"#include "core/crypto/aes_util.h"#include "core/crypto/key_manager.h"diff --git a/src/core/crypto/aes_util.h b/src/core/crypto/aes_util.hindex 5b0b02738e..81fa0d73f8 100644--- a/src/core/crypto/aes_util.h+++ b/src/core/crypto/aes_util.h@@ -7,7 +7,7 @@#include <memory>#include <type_traits>#include <vector>-#include "common/assert.h"+#include "common/common_types.h"#include "core/file_sys/vfs.h"namespace Core::Crypto {diff --git a/src/core/crypto/encryption_layer.h b/src/core/crypto/encryption_layer.hindex 71bca1f23c..7f05af9b4f 100644--- a/src/core/crypto/encryption_layer.h+++ b/src/core/crypto/encryption_layer.h@@ -4,6 +4,7 @@#pragma once+#include "common/common_types.h"#include "core/file_sys/vfs.h"namespace Core::Crypto {diff --git a/src/core/crypto/key_manager.cpp b/src/core/crypto/key_manager.cppindex 45e7e85451..fc45e7ab57 100644--- a/src/core/crypto/key_manager.cpp+++ b/src/core/crypto/key_manager.cpp@@ -2,19 +2,16 @@// Licensed under GPLv2 or any later version// Refer to the license.txt file included.+#include <algorithm>#include <array>#include <fstream>#include <locale>#include <sstream>#include <string_view>-#include <mbedtls/sha256.h>-#include "common/assert.h"#include "common/common_paths.h"#include "common/file_util.h"-#include "common/logging/log.h"#include "core/crypto/key_manager.h"#include "core/settings.h"-#include "key_manager.h"namespace Core::Crypto {