Move AES to common lib

move pch includes to vcproj file for discio

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6643 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
LPFaint99
2010-12-22 06:00:36 +00:00
parent 9bbe7a9e1a
commit 6c556786fb
29 changed files with 141 additions and 699 deletions
+2
View File
@@ -30,6 +30,8 @@ set(SRCS Src/ABI.cpp
Src/Version.cpp
Src/x64Analyzer.cpp
Src/x64Emitter.cpp
Src/Crypto/aes_cbc.cpp
Src/Crypto/aes_core.cpp
Src/Crypto/bn.cpp
Src/Crypto/ec.cpp
Src/Crypto/md5.cpp
+124
View File
@@ -532,6 +532,130 @@
<Filter
Name="Crypto"
>
<File
RelativePath=".\Src\Crypto\aes.h"
>
</File>
<File
RelativePath=".\Src\Crypto\aes_cbc.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
CompileAs="2"
ForcedIncludeFiles=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|x64"
>
<Tool
Name="VCCLCompilerTool"
CompileAs="2"
ForcedIncludeFiles=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
CompileAs="2"
ForcedIncludeFiles=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|x64"
>
<Tool
Name="VCCLCompilerTool"
CompileAs="2"
ForcedIncludeFiles=""
/>
</FileConfiguration>
<FileConfiguration
Name="DebugFast|Win32"
>
<Tool
Name="VCCLCompilerTool"
CompileAs="2"
ForcedIncludeFiles=""
/>
</FileConfiguration>
<FileConfiguration
Name="DebugFast|x64"
>
<Tool
Name="VCCLCompilerTool"
CompileAs="2"
ForcedIncludeFiles=""
/>
</FileConfiguration>
</File>
<File
RelativePath=".\Src\Crypto\aes_core.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
CompileAs="2"
ForcedIncludeFiles=""
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|x64"
>
<Tool
Name="VCCLCompilerTool"
CompileAs="2"
ForcedIncludeFiles=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
CompileAs="2"
ForcedIncludeFiles=""
/>
</FileConfiguration>
<FileConfiguration
Name="Release|x64"
>
<Tool
Name="VCCLCompilerTool"
CompileAs="2"
ForcedIncludeFiles=""
/>
</FileConfiguration>
<FileConfiguration
Name="DebugFast|Win32"
>
<Tool
Name="VCCLCompilerTool"
CompileAs="2"
ForcedIncludeFiles=""
/>
</FileConfiguration>
<FileConfiguration
Name="DebugFast|x64"
>
<Tool
Name="VCCLCompilerTool"
CompileAs="2"
ForcedIncludeFiles=""
/>
</FileConfiguration>
</File>
<File
RelativePath=".\Src\Crypto\aes_locl.h"
>
</File>
<File
RelativePath=".\Src\Crypto\bn.cpp"
>
+2
View File
@@ -42,6 +42,8 @@ files = [
"Version.cpp",
"x64Emitter.cpp",
"x64Analyzer.cpp",
"Crypto/aes_cbc.cpp",
"Crypto/aes_core.cpp",
"Crypto/bn.cpp",
"Crypto/ec.cpp",
"Crypto/md5.cpp",
+1 -3
View File
@@ -17,9 +17,7 @@ set(SRCS Src/BannerLoader.cpp
Src/VolumeGC.cpp
Src/VolumeWad.cpp
Src/VolumeWiiCrypted.cpp
Src/WiiWad.cpp
Src/AES/aes_cbc.c
Src/AES/aes_core.c)
Src/WiiWad.cpp)
add_library(discio STATIC ${SRCS})
target_link_libraries(discio common)
File diff suppressed because it is too large Load Diff
-1
View File
@@ -14,7 +14,6 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#include "stdafx.h"
#include "BannerLoader.h"
#include "BannerLoaderWii.h"
@@ -15,8 +15,6 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#include "stdafx.h"
// HyperIris: need clean code
#include "../../Core/Src/ConfigManager.h"
+1 -3
View File
@@ -15,8 +15,6 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#include "stdafx.h"
#include <stdio.h>
#include "Common.h"
@@ -211,4 +209,4 @@ void CBannerLoaderWii::decode5A3image(u32* dst, u16* src, int width, int height)
}
}
} // namespace
} // namespace
@@ -15,8 +15,6 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#include "stdafx.h"
#ifdef _WIN32
#include <io.h>
#include <windows.h>
-2
View File
@@ -15,8 +15,6 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#include "stdafx.h"
#include "Filesystem.h"
#include "VolumeCreator.h"
#include "FileUtil.h"
-1
View File
@@ -15,7 +15,6 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#include "stdafx.h"
#include "DriveBlob.h"
namespace DiscIO
-2
View File
@@ -15,8 +15,6 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#include "stdafx.h"
#include "Blob.h"
#include "FileBlob.h"
#include "FileUtil.h"
@@ -15,7 +15,6 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#include "stdafx.h"
#include "Common.h"
#include "FileHandlerARC.h"
+1 -6
View File
@@ -15,18 +15,13 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
// -----------
// Include
#include "stdafx.h"
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include "Common.h" // Common
#include "Common.h"
#include "IniFile.h"
#include "LogManager.h"
@@ -15,7 +15,6 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#include "stdafx.h"
#include "Common.h"
#include "FileUtil.h"
-1
View File
@@ -15,7 +15,6 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#include "stdafx.h"
#include "Filesystem.h"
#include "VolumeCreator.h"

Some files were not shown because too many files have changed in this diff Show More