summaryrefslogtreecommitdiff
path: root/src/core/crypto
diff options
context:
space:
mode:
authorGravatar bunnei2021-11-04 13:56:10 -0700
committerGravatar GitHub2021-11-04 13:56:10 -0700
commitf178a8ef0ce1ba602b0c857ed5993880a74d6a69 (patch)
treee40d64467cd06038d765a0e066a65ff5c2ba8121 /src/core/crypto
parentMerge pull request #7285 from german77/acc (diff)
parentcore: Fix transitive include build errors (diff)
downloadyuzu-f178a8ef0ce1ba602b0c857ed5993880a74d6a69.tar.gz
yuzu-f178a8ef0ce1ba602b0c857ed5993880a74d6a69.tar.xz
yuzu-f178a8ef0ce1ba602b0c857ed5993880a74d6a69.zip
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 @@
4 4
5#include <algorithm> 5#include <algorithm>
6#include <cstring> 6#include <cstring>
7#include "common/assert.h"
8#include "core/crypto/ctr_encryption_layer.h" 7#include "core/crypto/ctr_encryption_layer.h"
9 8
10namespace Core::Crypto { 9namespace 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 @@
10#include <locale> 10#include <locale>
11#include <map> 11#include <map>
12#include <sstream> 12#include <sstream>
13#include <string_view>
14#include <tuple> 13#include <tuple>
15#include <vector> 14#include <vector>
16#include <mbedtls/bignum.h> 15#include <mbedtls/bignum.h>
17#include <mbedtls/cipher.h> 16#include <mbedtls/cipher.h>
18#include <mbedtls/cmac.h> 17#include <mbedtls/cmac.h>
19#include <mbedtls/sha256.h> 18#include <mbedtls/sha256.h>
20#include "common/common_funcs.h"
21#include "common/fs/file.h" 19#include "common/fs/file.h"
22#include "common/fs/fs.h" 20#include "common/fs/fs.h"
23#include "common/fs/path_util.h" 21#include "common/fs/path_util.h"
@@ -30,7 +28,6 @@
30#include "core/crypto/partition_data_manager.h" 28#include "core/crypto/partition_data_manager.h"
31#include "core/file_sys/content_archive.h" 29#include "core/file_sys/content_archive.h"
32#include "core/file_sys/nca_metadata.h" 30#include "core/file_sys/nca_metadata.h"
33#include "core/file_sys/partition_filesystem.h"
34#include "core/file_sys/registered_cache.h" 31#include "core/file_sys/registered_cache.h"
35#include "core/hle/service/filesystem/filesystem.h" 32#include "core/hle/service/filesystem/filesystem.h"
36#include "core/loader/loader.h" 33#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 @@
15#include "common/common_funcs.h" 15#include "common/common_funcs.h"
16#include "common/common_types.h" 16#include "common/common_types.h"
17#include "core/crypto/partition_data_manager.h" 17#include "core/crypto/partition_data_manager.h"
18#include "core/file_sys/vfs_types.h"
19 18
20namespace Common::FS { 19namespace Common::FS {
21class IOFile; 20class 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 @@
12#include <cctype> 12#include <cctype>
13#include <cstring> 13#include <cstring>
14#include <mbedtls/sha256.h> 14#include <mbedtls/sha256.h>
15#include "common/assert.h"
16#include "common/common_funcs.h" 15#include "common/common_funcs.h"
17#include "common/common_types.h" 16#include "common/common_types.h"
18#include "common/hex_util.h" 17#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 @@
4 4
5#include <algorithm> 5#include <algorithm>
6#include <cstring> 6#include <cstring>
7#include "common/assert.h"
8#include "core/crypto/xts_encryption_layer.h" 7#include "core/crypto/xts_encryption_layer.h"
9 8
10namespace Core::Crypto { 9namespace Core::Crypto {