Skip to content

Commit cb4b496

Browse files
alexgdinitrocaster
authored andcommitted
additional crypto files added to xrCore/crypto
1 parent 94002ef commit cb4b496

25 files changed

+30
-237
lines changed

src/utils/mp_configs_verifyer/configs_dump_verifyer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define CONFIGS_DUMP_VERIFYER
33

44
#include "mp_config_sections.h"
5-
#include "xr_dsa_verifyer.h"
5+
#include "xrCore/crypto/xr_dsa_verifyer.h"
66

77
namespace mp_anticheat
88
{

src/utils/mp_configs_verifyer/mp_configs_verifyer.vcxproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,12 @@
100100
<ClCompile Include="pch.cpp">
101101
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
102102
</ClCompile>
103-
<ClCompile Include="xr_dsa_verifyer.cpp" />
104103
</ItemGroup>
105104
<ItemGroup>
106105
<ClInclude Include="configs_common.h" />
107106
<ClInclude Include="configs_dump_verifyer.h" />
108107
<ClInclude Include="mp_config_sections.h" />
109108
<ClInclude Include="pch.h" />
110-
<ClInclude Include="xr_dsa_verifyer.h" />
111109
</ItemGroup>
112110
<ItemGroup>
113111
<ProjectReference Include="$(SolutionDir)xrCore\xrCore.vcxproj">

src/utils/mp_configs_verifyer/mp_configs_verifyer.vcxproj.filters

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
<ClCompile Include="configs_dump_verifyer.cpp" />
1414
<ClCompile Include="entry_point.cpp" />
1515
<ClCompile Include="mp_config_sections.cpp" />
16-
<ClCompile Include="xr_dsa_verifyer.cpp" />
1716
</ItemGroup>
1817
<ItemGroup>
1918
<ClInclude Include="pch.h">
@@ -22,6 +21,5 @@
2221
<ClInclude Include="configs_common.h" />
2322
<ClInclude Include="configs_dump_verifyer.h" />
2423
<ClInclude Include="mp_config_sections.h" />
25-
<ClInclude Include="xr_dsa_verifyer.h" />
2624
</ItemGroup>
2725
</Project>

src/utils/mp_configs_verifyer/xr_dsa_verifyer.cpp

Lines changed: 0 additions & 36 deletions
This file was deleted.

src/utils/mp_configs_verifyer/xr_dsa_verifyer.h

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/utils/mp_screenshots_info/mp_screenshots_info.vcxproj

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,6 @@
109109
<ClCompile Include="screenshots_writer.cpp">
110110
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
111111
</ClCompile>
112-
<ClCompile Include="xr_dsa_signer.cpp">
113-
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
114-
</ClCompile>
115-
<ClCompile Include="xr_dsa_verifyer.cpp" />
116112
</ItemGroup>
117113
<ItemGroup>
118114
<ClInclude Include="pch.h" />
@@ -121,10 +117,6 @@
121117
<CustomBuild Include="screenshots_writer.h">
122118
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
123119
</CustomBuild>
124-
<CustomBuild Include="xr_dsa_signer.h">
125-
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
126-
</CustomBuild>
127-
<ClInclude Include="xr_dsa_verifyer.h" />
128120
</ItemGroup>
129121
<ItemGroup>
130122
<ProjectReference Include="$(SolutionDir)xrCore\xrCore.vcxproj">

src/utils/mp_screenshots_info/mp_screenshots_info.vcxproj.filters

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,15 @@
1313
<ClCompile Include="screenshots_common.cpp" />
1414
<ClCompile Include="screenshots_reader.cpp" />
1515
<ClCompile Include="screenshots_writer.cpp" />
16-
<ClCompile Include="xr_dsa_signer.cpp" />
17-
<ClCompile Include="xr_dsa_verifyer.cpp" />
1816
</ItemGroup>
1917
<ItemGroup>
2018
<ClInclude Include="pch.h">
2119
<Filter>core</Filter>
2220
</ClInclude>
2321
<ClInclude Include="screenshots_common.h" />
2422
<ClInclude Include="screenshots_reader.h" />
25-
<ClInclude Include="xr_dsa_verifyer.h" />
2623
</ItemGroup>
2724
<ItemGroup>
2825
<CustomBuild Include="screenshots_writer.h" />
29-
<CustomBuild Include="xr_dsa_signer.h" />
3026
</ItemGroup>
3127
</Project>

src/utils/mp_screenshots_info/screenshots_reader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef SCREENSHOT_READER_INCLUDED
22
#define SCREENSHOT_READER_INCLUDED
33

4-
#include "xr_dsa_verifyer.h"
4+
#include "xrCore/crypto/xr_dsa_verifyer.h"
55

66
namespace screenshots
77
{

src/utils/mp_screenshots_info/screenshots_writer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef SCREENSHOT_WRITER_INCLUDED
22
#define SCREENSHOT_WRITER_INCLUDED
33

4-
#include "xr_dsa_signer.h"
4+
#include "xrCore/crypto/xr_dsa_signer.h"
55

66
namespace screenshots
77
{

src/utils/mp_screenshots_info/xr_dsa_signer.cpp

Lines changed: 0 additions & 40 deletions
This file was deleted.

src/utils/mp_screenshots_info/xr_dsa_signer.h

Lines changed: 0 additions & 31 deletions
This file was deleted.

src/utils/mp_screenshots_info/xr_dsa_verifyer.cpp

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/utils/mp_screenshots_info/xr_dsa_verifyer.h

Lines changed: 0 additions & 25 deletions
This file was deleted.
File renamed without changes.

src/xrGame/xr_dsa_signer.h renamed to src/xrCore/crypto/xr_dsa_signer.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#ifndef XR_DSA_SIGNER_INCLUDED
22
#define XR_DSA_SIGNER_INCLUDED
33

4-
#include "xrCore/Crypto/crypto.h"
4+
#include "crypto.h"
55

66
typedef fastdelegate::FastDelegate1< long > sha_process_yielder;
77

8-
class xr_dsa_signer
8+
class CRYPTO_API xr_dsa_signer
99
{
1010
public:
1111
xr_dsa_signer (u8 const p_number[crypto::xr_dsa::public_key_length],
@@ -28,6 +28,6 @@ class xr_dsa_signer
2828

2929
}; //xr_dsa_signer
3030

31-
char const * current_time(string64 & dest_time);
31+
CRYPTO_API char const * current_time(string64 & dest_time);
3232

3333
#endif //#ifndef XR_DSA_SIGNER_INCLUDED

src/xrGame/xr_dsa_verifyer.h renamed to src/xrCore/crypto/xr_dsa_verifyer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#ifndef XR_DSA_VERIFYER_INCLUDED
22
#define XR_DSA_VERIFYER_INCLUDED
33

4-
#include "xrCore/Crypto/crypto.h"
4+
#include "crypto.h"
55

6-
class xr_dsa_verifyer
6+
class CRYPTO_API xr_dsa_verifyer
77
{
88
public:
99
xr_dsa_verifyer (u8 const p_number[crypto::xr_dsa::public_key_length],

src/xrCore/xrCore.vcxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,8 @@
294294
<ClCompile Include="crc32.cpp" />
295295
<ClCompile Include="crypto\crypto.cpp" />
296296
<ClCompile Include="crypto\xr_dsa.cpp" />
297+
<ClCompile Include="crypto\xr_dsa_signer.cpp" />
298+
<ClCompile Include="crypto\xr_dsa_verifyer.cpp" />
297299
<ClCompile Include="crypto\xr_sha.cpp" />
298300
<ClCompile Include="Debug\dxerr.cpp" />
299301
<ClCompile Include="doug_lea_allocator.cpp" />
@@ -442,6 +444,8 @@
442444
<ClInclude Include="Crypto\crypto.h" />
443445
<ClInclude Include="Crypto\crypto_api_def.h" />
444446
<ClInclude Include="Crypto\xr_dsa.h" />
447+
<ClInclude Include="crypto\xr_dsa_signer.h" />
448+
<ClInclude Include="crypto\xr_dsa_verifyer.h" />
445449
<ClInclude Include="Crypto\xr_sha.h" />
446450
<ClInclude Include="Debug\dxerr.h" />
447451
<ClInclude Include="Debug\DXGetErrorDescription.inl">

src/xrCore/xrCore.vcxproj.filters

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,12 @@
381381
<ClCompile Include="Crypto\xr_sha.cpp">
382382
<Filter>Crypto</Filter>
383383
</ClCompile>
384+
<ClCompile Include="crypto\xr_dsa_signer.cpp">
385+
<Filter>Crypto</Filter>
386+
</ClCompile>
387+
<ClCompile Include="crypto\xr_dsa_verifyer.cpp">
388+
<Filter>Crypto</Filter>
389+
</ClCompile>
384390
</ItemGroup>
385391
<ItemGroup>
386392
<ClInclude Include="FTimer.h">
@@ -803,6 +809,12 @@
803809
<ClInclude Include="crypto\xr_sha.h">
804810
<Filter>crypto</Filter>
805811
</ClInclude>
812+
<ClInclude Include="crypto\xr_dsa_signer.h">
813+
<Filter>Crypto</Filter>
814+
</ClInclude>
815+
<ClInclude Include="crypto\xr_dsa_verifyer.h">
816+
<Filter>Crypto</Filter>
817+
</ClInclude>
806818
</ItemGroup>
807819
<ItemGroup>
808820
<ResourceCompile Include="xrCore.rc">

src/xrGame/configs_dump_verifyer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define CONFIGS_DUMP_VERIFYER
33

44
#include "mp_config_sections.h"
5-
#include "xr_dsa_verifyer.h"
5+
#include "xrCore/crypto/xr_dsa_verifyer.h"
66

77
namespace mp_anticheat
88
{

src/xrGame/configs_dumper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef CONFIGS_DUMPER_INCLUDED
22
#define CONFIGS_DUMPER_INCLUDED
33

4-
#include "xr_dsa_signer.h"
4+
#include "xrCore/crypto/xr_dsa_signer.h"
55
#include "mp_config_sections.h"
66

77
namespace mp_anticheat

0 commit comments

Comments
 (0)