aboutsummaryrefslogtreecommitdiff
path: root/src/core/crypto
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-11-04 13:56:10 -0700
committerGitHub <noreply@github.com>2021-11-04 13:56:10 -0700
commit0a2f5932e2ef1ec2844cff9bd97e1f04fd4548cc (patch)
treee40d64467cd06038d765a0e066a65ff5c2ba8121 /src/core/crypto
parent82df808d9c1ce6602de353e67b2664d15fd37e59 (diff)
parenta3d1429aa5267e7646e31a1d2523be8078ccb062 (diff)
Merge pull request #7282 from ameerj/core-includes
core: Reduce unused header includes
Diffstat (limited to 'src/core/crypto')
-rw-r--r--src/core/crypto/ctr_encryption_layer.cpp1
-rw-r--r--src/core/crypto/key_manager.cpp3
-rw-r--r--src/core/crypto/key_manager.h1
-rw-r--r--src/core/crypto/partition_data_manager.cpp1
-rw-r--r--src/core/crypto/xts_encryption_layer.cpp1
5 files changed, 0 insertions, 7 deletions
diff --git a/src/core/crypto/ctr_encryption_layer.cpp b/src/core/crypto/ctr_encryption_layer.cpp
index 1231da8e3f..3a2af4f50c 100644
--- a/src/core/crypto/ctr_encryption_layer.cpp
+++ b/src/core/crypto/ctr_encryption_layer.cpp
@@ -4,7 +4,6 @@
#include <algorithm>
#include <cstring>
-#include "common/assert.h"
#include "core/crypto/ctr_encryption_layer.h"
namespace Core::Crypto {
diff --git a/src/core/crypto/key_manager.cpp b/src/core/crypto/key_manager.cpp
index a98daed898..9244907b5b 100644
--- a/src/core/crypto/key_manager.cpp
+++ b/src/core/crypto/key_manager.cpp
@@ -10,14 +10,12 @@
#include <locale>
#include <map>
#include <sstream>
-#include <string_view>
#include <tuple>
#include <vector>
#include <mbedtls/bignum.h>
#include <mbedtls/cipher.h>
#include <mbedtls/cmac.h>
#include <mbedtls/sha256.h>
-#include "common/common_funcs.h"
#include "common/fs/file.h"
#include "common/fs/fs.h"
#include "common/fs/path_util.h"
@@ -30,7 +28,6 @@
#include "core/crypto/partition_data_manager.h"
#include "core/file_sys/content_archive.h"
#include "core/file_sys/nca_metadata.h"
-#include "core/file_sys/partition_filesystem.h"
#include "core/file_sys/registered_cache.h"
#include "core/hle/service/filesystem/filesystem.h"
#include "core/loader/loader.h"
diff --git a/src/core/crypto/key_manager.h b/src/core/crypto/key_manager.h
index e771625e1f..ac1eb89627 100644
--- a/src/core/crypto/key_manager.h
+++ b/src/core/crypto/key_manager.h
@@ -15,7 +15,6 @@
#include "common/common_funcs.h"
#include "common/common_types.h"
#include "core/crypto/partition_data_manager.h"
-#include "core/file_sys/vfs_types.h"
namespace Common::FS {
class IOFile;
diff --git a/src/core/crypto/partition_data_manager.cpp b/src/core/crypto/partition_data_manager.cpp
index 5f1c86a099..d18252a545 100644
--- a/src/core/crypto/partition_data_manager.cpp
+++ b/src/core/crypto/partition_data_manager.cpp
@@ -12,7 +12,6 @@
#include <cctype>
#include <cstring>
#include <mbedtls/sha256.h>
-#include "common/assert.h"
#include "common/common_funcs.h"
#include "common/common_types.h"
#include "common/hex_util.h"
diff --git a/src/core/crypto/xts_encryption_layer.cpp b/src/core/crypto/xts_encryption_layer.cpp
index 8f0ba4ee76..c2b7ea3091 100644
--- a/src/core/crypto/xts_encryption_layer.cpp
+++ b/src/core/crypto/xts_encryption_layer.cpp
@@ -4,7 +4,6 @@
#include <algorithm>
#include <cstring>
-#include "common/assert.h"
#include "core/crypto/xts_encryption_layer.h"
namespace Core::Crypto {