summaryrefslogtreecommitdiff
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
commitf178a8ef0ce1ba602b0c857ed5993880a74d6a69 (patch)
treee40d64467cd06038d765a0e066a65ff5c2ba8121 /src/core/crypto
parentb92c4abc96008b5898f905856b3acbeba31c3d61 (diff)
parentb275f2e475e4e2eaa34225ed3c3cd247150e1ba0 (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 1231da8e3..3a2af4f50 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 a98daed89..9244907b5 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 e771625e1..ac1eb8962 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 5f1c86a09..d18252a54 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 8f0ba4ee7..c2b7ea309 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 {