Skip to content

Commit

Permalink
additional crypto files added to xrCore/crypto
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgdi authored and nitrocaster committed Nov 8, 2015
1 parent 94002ef commit cb4b496
Show file tree
Hide file tree
Showing 25 changed files with 30 additions and 237 deletions.
2 changes: 1 addition & 1 deletion src/utils/mp_configs_verifyer/configs_dump_verifyer.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define CONFIGS_DUMP_VERIFYER

#include "mp_config_sections.h"
#include "xr_dsa_verifyer.h"
#include "xrCore/crypto/xr_dsa_verifyer.h"

namespace mp_anticheat
{
Expand Down
2 changes: 0 additions & 2 deletions src/utils/mp_configs_verifyer/mp_configs_verifyer.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,12 @@
<ClCompile Include="pch.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="xr_dsa_verifyer.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="configs_common.h" />
<ClInclude Include="configs_dump_verifyer.h" />
<ClInclude Include="mp_config_sections.h" />
<ClInclude Include="pch.h" />
<ClInclude Include="xr_dsa_verifyer.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(SolutionDir)xrCore\xrCore.vcxproj">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<ClCompile Include="configs_dump_verifyer.cpp" />
<ClCompile Include="entry_point.cpp" />
<ClCompile Include="mp_config_sections.cpp" />
<ClCompile Include="xr_dsa_verifyer.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="pch.h">
Expand All @@ -22,6 +21,5 @@
<ClInclude Include="configs_common.h" />
<ClInclude Include="configs_dump_verifyer.h" />
<ClInclude Include="mp_config_sections.h" />
<ClInclude Include="xr_dsa_verifyer.h" />
</ItemGroup>
</Project>
36 changes: 0 additions & 36 deletions src/utils/mp_configs_verifyer/xr_dsa_verifyer.cpp

This file was deleted.

28 changes: 0 additions & 28 deletions src/utils/mp_configs_verifyer/xr_dsa_verifyer.h

This file was deleted.

8 changes: 0 additions & 8 deletions src/utils/mp_screenshots_info/mp_screenshots_info.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@
<ClCompile Include="screenshots_writer.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="xr_dsa_signer.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="xr_dsa_verifyer.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="pch.h" />
Expand All @@ -121,10 +117,6 @@
<CustomBuild Include="screenshots_writer.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</CustomBuild>
<CustomBuild Include="xr_dsa_signer.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</CustomBuild>
<ClInclude Include="xr_dsa_verifyer.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(SolutionDir)xrCore\xrCore.vcxproj">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,15 @@
<ClCompile Include="screenshots_common.cpp" />
<ClCompile Include="screenshots_reader.cpp" />
<ClCompile Include="screenshots_writer.cpp" />
<ClCompile Include="xr_dsa_signer.cpp" />
<ClCompile Include="xr_dsa_verifyer.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="pch.h">
<Filter>core</Filter>
</ClInclude>
<ClInclude Include="screenshots_common.h" />
<ClInclude Include="screenshots_reader.h" />
<ClInclude Include="xr_dsa_verifyer.h" />
</ItemGroup>
<ItemGroup>
<CustomBuild Include="screenshots_writer.h" />
<CustomBuild Include="xr_dsa_signer.h" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/utils/mp_screenshots_info/screenshots_reader.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef SCREENSHOT_READER_INCLUDED
#define SCREENSHOT_READER_INCLUDED

#include "xr_dsa_verifyer.h"
#include "xrCore/crypto/xr_dsa_verifyer.h"

namespace screenshots
{
Expand Down
2 changes: 1 addition & 1 deletion src/utils/mp_screenshots_info/screenshots_writer.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef SCREENSHOT_WRITER_INCLUDED
#define SCREENSHOT_WRITER_INCLUDED

#include "xr_dsa_signer.h"
#include "xrCore/crypto/xr_dsa_signer.h"

namespace screenshots
{
Expand Down
40 changes: 0 additions & 40 deletions src/utils/mp_screenshots_info/xr_dsa_signer.cpp

This file was deleted.

31 changes: 0 additions & 31 deletions src/utils/mp_screenshots_info/xr_dsa_signer.h

This file was deleted.

29 changes: 0 additions & 29 deletions src/utils/mp_screenshots_info/xr_dsa_verifyer.cpp

This file was deleted.

25 changes: 0 additions & 25 deletions src/utils/mp_screenshots_info/xr_dsa_verifyer.h

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#ifndef XR_DSA_SIGNER_INCLUDED
#define XR_DSA_SIGNER_INCLUDED

#include "xrCore/Crypto/crypto.h"
#include "crypto.h"

typedef fastdelegate::FastDelegate1< long > sha_process_yielder;

class xr_dsa_signer
class CRYPTO_API xr_dsa_signer
{
public:
xr_dsa_signer (u8 const p_number[crypto::xr_dsa::public_key_length],
Expand All @@ -28,6 +28,6 @@ class xr_dsa_signer

}; //xr_dsa_signer

char const * current_time(string64 & dest_time);
CRYPTO_API char const * current_time(string64 & dest_time);

#endif //#ifndef XR_DSA_SIGNER_INCLUDED
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#ifndef XR_DSA_VERIFYER_INCLUDED
#define XR_DSA_VERIFYER_INCLUDED

#include "xrCore/Crypto/crypto.h"
#include "crypto.h"

class xr_dsa_verifyer
class CRYPTO_API xr_dsa_verifyer
{
public:
xr_dsa_verifyer (u8 const p_number[crypto::xr_dsa::public_key_length],
Expand Down
4 changes: 4 additions & 0 deletions src/xrCore/xrCore.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@
<ClCompile Include="crc32.cpp" />
<ClCompile Include="crypto\crypto.cpp" />
<ClCompile Include="crypto\xr_dsa.cpp" />
<ClCompile Include="crypto\xr_dsa_signer.cpp" />
<ClCompile Include="crypto\xr_dsa_verifyer.cpp" />
<ClCompile Include="crypto\xr_sha.cpp" />
<ClCompile Include="Debug\dxerr.cpp" />
<ClCompile Include="doug_lea_allocator.cpp" />
Expand Down Expand Up @@ -442,6 +444,8 @@
<ClInclude Include="Crypto\crypto.h" />
<ClInclude Include="Crypto\crypto_api_def.h" />
<ClInclude Include="Crypto\xr_dsa.h" />
<ClInclude Include="crypto\xr_dsa_signer.h" />
<ClInclude Include="crypto\xr_dsa_verifyer.h" />
<ClInclude Include="Crypto\xr_sha.h" />
<ClInclude Include="Debug\dxerr.h" />
<ClInclude Include="Debug\DXGetErrorDescription.inl">
Expand Down
12 changes: 12 additions & 0 deletions src/xrCore/xrCore.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,12 @@
<ClCompile Include="Crypto\xr_sha.cpp">
<Filter>Crypto</Filter>
</ClCompile>
<ClCompile Include="crypto\xr_dsa_signer.cpp">
<Filter>Crypto</Filter>
</ClCompile>
<ClCompile Include="crypto\xr_dsa_verifyer.cpp">
<Filter>Crypto</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="FTimer.h">
Expand Down Expand Up @@ -803,6 +809,12 @@
<ClInclude Include="crypto\xr_sha.h">
<Filter>crypto</Filter>
</ClInclude>
<ClInclude Include="crypto\xr_dsa_signer.h">
<Filter>Crypto</Filter>
</ClInclude>
<ClInclude Include="crypto\xr_dsa_verifyer.h">
<Filter>Crypto</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="xrCore.rc">
Expand Down
2 changes: 1 addition & 1 deletion src/xrGame/configs_dump_verifyer.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define CONFIGS_DUMP_VERIFYER

#include "mp_config_sections.h"
#include "xr_dsa_verifyer.h"
#include "xrCore/crypto/xr_dsa_verifyer.h"

namespace mp_anticheat
{
Expand Down
2 changes: 1 addition & 1 deletion src/xrGame/configs_dumper.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef CONFIGS_DUMPER_INCLUDED
#define CONFIGS_DUMPER_INCLUDED

#include "xr_dsa_signer.h"
#include "xrCore/crypto/xr_dsa_signer.h"
#include "mp_config_sections.h"

namespace mp_anticheat
Expand Down
Loading

0 comments on commit cb4b496

Please sign in to comment.