summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2018-08-04 16:41:17 -0400
committerGravatar Lioncash2018-08-04 16:44:07 -0400
commit8da651ac4d25fbb48f77b8331b61f3cfa26e8f2c (patch)
tree684235ba6a8883bad70e2a249c03c04130361816 /src
parentkey_manager: Use regular std::string instead of std::string_view (diff)
downloadyuzu-8da651ac4d25fbb48f77b8331b61f3cfa26e8f2c.tar.gz
yuzu-8da651ac4d25fbb48f77b8331b61f3cfa26e8f2c.tar.xz
yuzu-8da651ac4d25fbb48f77b8331b61f3cfa26e8f2c.zip
core/crypto: Remove unnecessary includes
Diffstat (limited to 'src')
-rw-r--r--src/core/crypto/aes_util.cpp2
-rw-r--r--src/core/crypto/aes_util.h2
-rw-r--r--src/core/crypto/encryption_layer.h1
-rw-r--r--src/core/crypto/key_manager.cpp5
4 files changed, 5 insertions, 5 deletions
diff --git a/src/core/crypto/aes_util.cpp b/src/core/crypto/aes_util.cpp
index 4690af5f8..3d939da15 100644
--- a/src/core/crypto/aes_util.cpp
+++ b/src/core/crypto/aes_util.cpp
@@ -3,6 +3,8 @@
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include <mbedtls/cipher.h> 5#include <mbedtls/cipher.h>
6#include "common/assert.h"
7#include "common/logging/log.h"
6#include "core/crypto/aes_util.h" 8#include "core/crypto/aes_util.h"
7#include "core/crypto/key_manager.h" 9#include "core/crypto/key_manager.h"
8 10
diff --git a/src/core/crypto/aes_util.h b/src/core/crypto/aes_util.h
index 5b0b02738..81fa0d73f 100644
--- a/src/core/crypto/aes_util.h
+++ b/src/core/crypto/aes_util.h
@@ -7,7 +7,7 @@
7#include <memory> 7#include <memory>
8#include <type_traits> 8#include <type_traits>
9#include <vector> 9#include <vector>
10#include "common/assert.h" 10#include "common/common_types.h"
11#include "core/file_sys/vfs.h" 11#include "core/file_sys/vfs.h"
12 12
13namespace Core::Crypto { 13namespace Core::Crypto {
diff --git a/src/core/crypto/encryption_layer.h b/src/core/crypto/encryption_layer.h
index 71bca1f23..7f05af9b4 100644
--- a/src/core/crypto/encryption_layer.h
+++ b/src/core/crypto/encryption_layer.h
@@ -4,6 +4,7 @@
4 4
5#pragma once 5#pragma once
6 6
7#include "common/common_types.h"
7#include "core/file_sys/vfs.h" 8#include "core/file_sys/vfs.h"
8 9
9namespace Core::Crypto { 10namespace Core::Crypto {
diff --git a/src/core/crypto/key_manager.cpp b/src/core/crypto/key_manager.cpp
index 45e7e8545..fc45e7ab5 100644
--- a/src/core/crypto/key_manager.cpp
+++ b/src/core/crypto/key_manager.cpp
@@ -2,19 +2,16 @@
2// Licensed under GPLv2 or any later version 2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include <algorithm>
5#include <array> 6#include <array>
6#include <fstream> 7#include <fstream>
7#include <locale> 8#include <locale>
8#include <sstream> 9#include <sstream>
9#include <string_view> 10#include <string_view>
10#include <mbedtls/sha256.h>
11#include "common/assert.h"
12#include "common/common_paths.h" 11#include "common/common_paths.h"
13#include "common/file_util.h" 12#include "common/file_util.h"
14#include "common/logging/log.h"
15#include "core/crypto/key_manager.h" 13#include "core/crypto/key_manager.h"
16#include "core/settings.h" 14#include "core/settings.h"
17#include "key_manager.h"
18 15
19namespace Core::Crypto { 16namespace Core::Crypto {
20 17