SecureHandshake.cpp 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. * LICENSE file in the root directory of this source tree. An additional grant
  7. * of patent rights can be found in the PATENTS file in the same directory.
  8. *
  9. */
  10. /// \file
  11. ///
  12. #include "NativeFeatureIncludes.h"
  13. #if LIBCAT_SECURITY==1
  14. // If building a RakNet DLL, be sure to tweak the CAT_EXPORT macro meaning
  15. #if !defined(_RAKNET_LIB) && defined(_RAKNET_DLL)
  16. # define CAT_BUILD_DLL
  17. #else
  18. # define CAT_NEUTER_EXPORT
  19. #endif
  20. #include "cat/src/port/EndianNeutral.cpp"
  21. #include "cat/src/port/AlignedAlloc.cpp"
  22. #include "cat/src/time/Clock.cpp"
  23. #include "cat/src/threads/Mutex.cpp"
  24. #include "cat/src/threads/Thread.cpp"
  25. #include "cat/src/threads/WaitableFlag.cpp"
  26. #include "cat/src/hash/MurmurHash2.cpp"
  27. #include "cat/src/lang/Strings.cpp"
  28. #include "cat/src/math/BigRTL.cpp"
  29. #include "cat/src/math/BigPseudoMersenne.cpp"
  30. #include "cat/src/math/BigTwistedEdwards.cpp"
  31. #include "cat/src/crypt/SecureCompare.cpp"
  32. #include "cat/src/crypt/cookie/CookieJar.cpp"
  33. #include "cat/src/crypt/hash/HMAC_MD5.cpp"
  34. #include "cat/src/crypt/privatekey/ChaCha.cpp"
  35. #include "cat/src/crypt/hash/Skein.cpp"
  36. #include "cat/src/crypt/hash/Skein256.cpp"
  37. #include "cat/src/crypt/hash/Skein512.cpp"
  38. #include "cat/src/crypt/pass/Passwords.cpp"
  39. #include "cat/src/crypt/rand/EntropyWindows.cpp"
  40. #include "cat/src/crypt/rand/EntropyLinux.cpp"
  41. #include "cat/src/crypt/rand/EntropyWindowsCE.cpp"
  42. #include "cat/src/crypt/rand/EntropyGeneric.cpp"
  43. #include "cat/src/crypt/rand/Fortuna.cpp"
  44. #include "cat/src/crypt/tunnel/KeyAgreement.cpp"
  45. #include "cat/src/crypt/tunnel/AuthenticatedEncryption.cpp"
  46. #include "cat/src/crypt/tunnel/KeyAgreementInitiator.cpp"
  47. #include "cat/src/crypt/tunnel/KeyAgreementResponder.cpp"
  48. #include "cat/src/crypt/tunnel/KeyMaker.cpp"
  49. #include "cat/src/crypt/tunnel/EasyHandshake.cpp"
  50. #endif // LIBCAT_SECURITY
粤ICP备19079148号