Move AES code to Common/Crypto

This commit is contained in:
Léo Lam
2017-02-12 11:50:35 +01:00
parent c1a139e8ac
commit 5104caf6a6
8 changed files with 56 additions and 17 deletions

View File

@ -0,0 +1,18 @@
// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <cstddef>
#include <vector>
#include "Common/CommonTypes.h"
namespace Common
{
namespace AES
{
std::vector<u8> Decrypt(const u8* key, u8* iv, const u8* src, size_t size);
} // namespace AES
} // namespace Common