summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Crypto/AES.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-06-17 16:36:48 -0400
committerLioncash <mathew1800@gmail.com>2019-06-17 16:36:48 -0400
commit8e030a4a456cc74289cbed89ee8bbca60c9acc34 (patch)
treece78adb4e64aa6ddd3fee1edd048594cd9c1f96e /Source/Core/Common/Crypto/AES.cpp
parent32bacfa4bd32a3935ade9ba6dc7a49b9a5975585 (diff)
Common: Use nested namespace specifiers where applicable
Diffstat (limited to 'Source/Core/Common/Crypto/AES.cpp')
-rw-r--r--Source/Core/Common/Crypto/AES.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/Core/Common/Crypto/AES.cpp b/Source/Core/Common/Crypto/AES.cpp
index 00685beba4..d9dc03f6a1 100644
--- a/Source/Core/Common/Crypto/AES.cpp
+++ b/Source/Core/Common/Crypto/AES.cpp
@@ -6,9 +6,7 @@
#include "Common/Crypto/AES.h"
-namespace Common
-{
-namespace AES
+namespace Common::AES
{
std::vector<u8> DecryptEncrypt(const u8* key, u8* iv, const u8* src, size_t size, Mode mode)
{
@@ -35,5 +33,4 @@ std::vector<u8> Encrypt(const u8* key, u8* iv, const u8* src, size_t size)
{
return DecryptEncrypt(key, iv, src, size, Mode::Encrypt);
}
-} // namespace AES
-} // namespace Common
+} // namespace Common::AES