SLikeNet 0.1.3

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SecureHandshake.cpp
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2014, Oculus VR, Inc.
3 * All rights reserved.
4 *
5 * This source code is licensed under the BSD-style license found in the
6 * RakNet License.txt file in the licenses directory of this source tree. An additional grant
7 * of patent rights can be found in the RakNet Patents.txt file in the same directory.
8 *
9 *
10 * Modified work: Copyright (c) 2017, SLikeSoft UG (haftungsbeschränkt)
11 *
12 * This source code was modified by SLikeSoft. Modifications are licensed under the MIT-style
13 * license found in the license.txt file in the root directory of this source tree.
14 */
15
18
19
20 #include "slikenet/NativeFeatureIncludes.h"
21
22 #if LIBCAT_SECURITY==1
23
24 // If building a RakNet DLL, be sure to tweak the CAT_EXPORT macro meaning
25 #if !defined(_RAKNET_LIB) && defined(_RAKNET_DLL)
26 # define CAT_BUILD_DLL
27 #else
28 # define CAT_NEUTER_EXPORT
29 #endif
30
31 #include "cat/src/port/EndianNeutral.cpp"
32 #include "cat/src/port/AlignedAlloc.cpp"
33 #include "cat/src/time/Clock.cpp"
34 #include "cat/src/threads/Mutex.cpp"
35 #include "cat/src/threads/Thread.cpp"
36 #include "cat/src/threads/WaitableFlag.cpp"
37 #include "cat/src/hash/MurmurHash2.cpp"
38 #include "cat/src/lang/Strings.cpp"
39
40 #include "cat/src/math/BigRTL.cpp"
41 #include "cat/src/math/BigPseudoMersenne.cpp"
42 #include "cat/src/math/BigTwistedEdwards.cpp"
43
44 #include "cat/src/crypt/SecureCompare.cpp"
45 #include "cat/src/crypt/cookie/CookieJar.cpp"
46 #include "cat/src/crypt/hash/HMAC_MD5.cpp"
47 #include "cat/src/crypt/privatekey/ChaCha.cpp"
48 #include "cat/src/crypt/hash/Skein.cpp"
49 #include "cat/src/crypt/hash/Skein256.cpp"
50 #include "cat/src/crypt/hash/Skein512.cpp"
51 #include "cat/src/crypt/pass/Passwords.cpp"
52
53 #include "cat/src/crypt/rand/EntropyWindows.cpp"
54 #include "cat/src/crypt/rand/EntropyLinux.cpp"
55 #include "cat/src/crypt/rand/EntropyWindowsCE.cpp"
56 #include "cat/src/crypt/rand/EntropyGeneric.cpp"
57 #ifdef _M_X64
58 #pragma warning(push)
59 #pragma warning(disable:4838)
60 #endif
61 #include "cat/src/crypt/rand/Fortuna.cpp"
62 #ifdef _M_X64
63 #pragma warning(pop)
64 #endif
65
66 #include "cat/src/crypt/tunnel/KeyAgreement.cpp"
67 #include "cat/src/crypt/tunnel/AuthenticatedEncryption.cpp"
68 #include "cat/src/crypt/tunnel/KeyAgreementInitiator.cpp"
69 #include "cat/src/crypt/tunnel/KeyAgreementResponder.cpp"
70 #include "cat/src/crypt/tunnel/KeyMaker.cpp"
71
72 #include "cat/src/crypt/tunnel/EasyHandshake.cpp"
73
74 #endif // LIBCAT_SECURITY