Commit Graph

  • 578261c6d5 Stats cleanup/refactor. Fletcher Dunn 2019-03-11 14:14:24 -07:00
  • b3182a5708 Header/documentation cleanup. Fletcher Dunn 2019-03-11 14:12:38 -07:00
  • 8f53646472 Improve comments. Fletcher Dunn 2019-03-11 13:54:44 -07:00
  • 53db7d349c cmake: silence some more MSVC warnings Steven Noonan 2019-03-01 13:00:27 -08:00
  • b392e95610 cmake: strip default /EHsc and /GR flags which we explicitly disable after Steven Noonan 2019-03-01 12:56:38 -08:00
  • b5db1d1a0a cmake: set RelWithDebInfo as default build type Steven Noonan 2019-03-01 12:56:21 -08:00
  • 91d86eceb5 cmake: disable stricmp deprecation warnings on msvc Steven Noonan 2019-03-01 12:53:00 -08:00
  • 8b0c4dc8d9 Track reason for sending stats. Fletcher Dunn 2019-02-27 17:54:07 -08:00
  • 6c8f74e483 Simplify descriptions for unauth UDP connections. Fletcher Dunn 2019-02-26 16:00:46 -08:00
  • 2e047a3ed5 Add SteamNetworkingIPAddr::operator== Fletcher Dunn 2019-02-26 16:00:24 -08:00
  • d7ac6281ea Refactor how we populate the inline "stats". Fletcher Dunn 2019-02-26 15:55:30 -08:00
  • e6fbe46881 Added more info to debug spew. Fletcher Dunn 2019-02-26 15:48:50 -08:00
  • a52b0ad356 Fix bugs with ISteamMessages interface. Fletcher Dunn 2019-02-26 15:46:52 -08:00
  • 77682221a0 Bump STEAMNETWORKINGSOCKETS_INTERFACE_VERSION. Fletcher Dunn 2019-02-26 15:39:16 -08:00
  • 6697637067 Fix VS2015 compile Fletcher Dunn 2019-02-26 15:38:49 -08:00
  • 727b894673 Plumbing changes to be compatible with Steamworks SDK. Fletcher Dunn 2019-02-26 15:27:59 -08:00
  • 59868d382c Fix typo in unit test. Fletcher Dunn 2019-02-26 15:14:56 -08:00
  • 1df31431e1 Improve SteamNetworkingIdentity text format. Fletcher Dunn 2019-02-26 15:05:38 -08:00
  • 60af1aac8f Pad SteamNetworkingIdentity. Fletcher Dunn 2019-02-26 15:03:35 -08:00
  • 49b46b85dc Fix bug not initializing data structures early enough. Fletcher Dunn 2019-02-13 10:16:14 -08:00
  • 2d1597a21c Tweak thresholds used to trigger an assert. Fletcher Dunn 2019-02-13 10:09:10 -08:00
  • 84b173eb04 Delete more old unused code. Fletcher Dunn 2019-02-13 10:05:46 -08:00
  • fc059d55ab Fix bug in SNP_WantsToSendPacket. Fletcher Dunn 2019-02-09 19:37:39 -08:00
  • 60fbb17401 Be much smarter about when to send acks and nacks. Fletcher Dunn 2019-02-09 18:53:50 -08:00
  • 1d8ce57f92 Run 4 different network conditions in "light mode". Fletcher Dunn 2019-02-09 18:42:34 -08:00
  • 269f24c254 Delete old commented out TFRC code. Fletcher Dunn 2019-02-09 16:55:16 -08:00
  • ccb7973cdc Tweak output of connection test. Fletcher Dunn 2019-02-09 16:54:51 -08:00
  • bc2e6b133e Fix bug double-counting stats on receved data packets. Fletcher Dunn 2019-02-09 15:39:30 -08:00
  • cb911a0277 Adjusted hacks for running without Steam. Fletcher Dunn 2019-02-09 12:19:16 -08:00
  • d8609d8f00 Tweak initial timestamp value for easier debugging. Fletcher Dunn 2019-02-09 12:18:27 -08:00
  • 45cd3aa3c1 Fix bug calculating max plaintext size. Fletcher Dunn 2019-02-06 15:15:57 -08:00
  • ddf4cc35f5 crypto_25519_openssl: fix copy-pasteo'd error message Steven Noonan 2019-02-06 14:44:23 -08:00
  • 8a916a1051 add basic configuration header Steven Noonan 2019-02-06 13:56:22 -08:00
  • 707a451fcb test_crypto: add comment about tag/iv length check Steven Noonan 2019-02-06 13:47:40 -08:00
  • d5946854b9 Fix packet number accounting bug in pipe connection. Fletcher Dunn 2019-02-05 13:22:53 -08:00
  • fbf3d55f00 Add CSteamNetworkingSockets::GetTimeSecure() Fletcher Dunn 2019-02-05 13:20:43 -08:00
  • 05f98ddf36 Reorder SteamNetworkingMessage_t. Fletcher Dunn 2019-02-05 13:14:47 -08:00
  • cf12240f9a Tweak init of test/example when linking with Steam. Fletcher Dunn 2019-02-05 13:13:45 -08:00
  • 48359cd2aa Correct name of global accessor in Steamworks version. Fletcher Dunn 2019-02-05 13:11:29 -08:00
  • ca042ff93b meson: add use_bcrypt build option Steven Noonan 2019-02-01 16:35:22 -08:00
  • 9d13513a74 Update crypto requirements. Fletcher Dunn 2019-02-01 16:29:42 -08:00
  • 323094a80a steamnetworkingsockets_internal: silence UBSan warning about "member access within null pointer" Steven Noonan 2019-02-01 14:50:37 -08:00
  • 1f90ef7548 netadr.h: silence some -Wclass-memaccess warnings on GCC 9 Steven Noonan 2019-01-30 21:25:04 -08:00
  • 40263e3f83 travis/script: enable -Werror for builds Steven Noonan 2019-01-30 21:05:38 -08:00
  • 3fad384dd6 CMake: add WERROR option Steven Noonan 2019-01-30 21:05:24 -08:00
  • 9d025f7e08 meson: add Werror option Steven Noonan 2019-01-30 21:05:11 -08:00
  • 04831cf688 silence some -Wswitch warnings Steven Noonan 2019-01-30 20:59:12 -08:00
  • fb22b17f7f travis/script: make idempotent Steven Noonan 2019-01-30 20:55:19 -08:00
  • 9d96c61821 meson/cmake: drop -pedantic Steven Noonan 2019-01-30 20:53:43 -08:00
  • 4cd958f42a test_crypto: check return values in chdir_to_bindir Steven Noonan 2019-01-30 20:53:02 -08:00
  • f746995cbb test_crypto: cosmetic readability improvements, NFC Steven Noonan 2019-01-30 20:52:38 -08:00
  • fd1b7e2732 steamnetworkingsockets_internal: update comment about AES-GCM tag size Steven Noonan 2019-01-30 17:38:28 -08:00
  • 55a3c7b999 travis/script: don't build sanitizers on MinGW Steven Noonan 2019-01-30 16:48:51 -08:00
  • f008d05bff implement BCrypt support Steven Noonan 2019-01-30 16:17:11 -08:00
  • 377702781d rename evp_cipher_ctx to m_ctx so it can be used for arbitrary context Steven Noonan 2019-01-30 16:13:44 -08:00
  • 5ccdf28519 ed25519-donna: eliminate use of bogus HAVE_OPENSSL macro Steven Noonan 2019-01-28 16:08:26 -08:00
  • 36bd9afbbf CMake: fix some whitespace problems, NFC Steven Noonan 2019-01-28 16:05:23 -08:00
  • ed6912f189 ed25519-donna: implement SHA-512 using BCrypt for Windows Steven Noonan 2019-01-28 15:40:13 -08:00
  • 6a54904dd9 ed25519-donna: break out SHA-512 hashing into implementation headers Steven Noonan 2019-01-28 15:11:14 -08:00
  • 6efcad7a49 re-stub BCrypt functionality Steven Noonan 2019-01-28 14:49:47 -08:00
  • 0f0e5bc11d Merge branch 'master' of github.com:ValveSoftware/GameNetworkingSockets Fletcher Dunn 2019-01-30 13:53:38 -08:00
  • 2ce3d95f72 Fix deadlock if init fails. Fletcher Dunn 2019-01-30 13:52:19 -08:00
  • 879ea1b70a steamnetworkingtypes.h: fix static library extern "C" linkage Steven Noonan 2019-01-30 13:32:38 -08:00
  • 3991f4f5f9 Ignore more build directories. Fletcher Dunn 2019-01-30 13:20:32 -08:00
  • 651e4af311 Fix bug in CSteamNetworkConnectionPipe::FakeSendStats. Fletcher Dunn 2019-01-30 12:59:12 -08:00
  • aa1fb5ee41 Make sure send rate gets clamped. Fletcher Dunn 2019-01-30 12:07:05 -08:00
  • ca91bb89f4 Fix printf Fletcher Dunn 2019-01-30 12:06:31 -08:00
  • d7557e558b Improve comments Fletcher Dunn 2019-01-30 12:06:05 -08:00
  • de16a25b17 Fix bug initializing config value table. Fletcher Dunn 2019-01-30 11:43:27 -08:00
  • 8ac50042a6 Update README Fletcher Dunn 2019-01-30 11:07:05 -08:00
  • 5d20204781 Overhaul how configurtion options are set. Fletcher Dunn 2019-01-30 10:58:38 -08:00
  • 9ed6311bdb CMake: drop _ITERATOR_DEBUG_LEVEL=0 to unbreak MSVC builds Steven Noonan 2019-01-28 13:04:33 -08:00
  • 7ddd28844e Memory accounting/hygiene. Fletcher Dunn 2019-01-26 08:35:54 -08:00
  • 3733928149 Small Steam compile compatibility fix. Fletcher Dunn 2019-01-25 18:28:16 -08:00
  • be9abcde34 Fix SteamNetworkingIPAddr IPv6 bugs. Fletcher Dunn 2019-01-25 18:27:40 -08:00
  • c7826f5c8d Delete GetConnectionDebugText Fletcher Dunn 2019-01-25 13:32:45 -08:00
  • 4fd3918295 Some refactoring to make way for the "Messages" API. Fletcher Dunn 2019-01-25 12:46:45 -08:00
  • 4df58b339e Fix typo using same state name twice. Fletcher Dunn 2019-01-25 12:43:55 -08:00
  • e2194a23c7 SetDebugOutputFunction cleanup. Fletcher Dunn 2019-01-23 21:08:10 -08:00
  • 723c9c4c42 Use 96-bit AES-GCM IV's. Secure the protocol number. Fletcher Dunn 2019-01-23 09:08:05 -08:00
  • d0505d1d47 CEC25519KeyBase derived from CCryptoKeyBase_RawBuffer again. Fletcher Dunn 2019-01-22 10:15:40 -08:00
  • 403e9c4562 Delete unused code and tests for AES-CBC encryption. Fletcher Dunn 2019-01-22 09:57:27 -08:00
  • 9bfa9b9bee Check the return value of CCrypto::PerformKeyExchange Fletcher Dunn 2019-01-22 09:56:54 -08:00
  • 63aec987cd avoid memory leak caused by vtable mismatch Steven Noonan 2019-01-21 23:57:09 -08:00
  • 5213491150 crypto_25519_openssl: rearrange for readability, NFC Steven Noonan 2019-01-21 22:38:38 -08:00
  • 0492f808bf keypair: remove another unnecessary null check before free Steven Noonan 2019-01-21 21:54:29 -08:00
  • e09f4517e5 crypto_25519_openssl: no need to check for m_evp_pkey != nullptr before free Steven Noonan 2019-01-21 21:49:45 -08:00
  • 978a0bc6f1 test_crypto: ensure EC data buffer is random-filled Steven Noonan 2019-01-21 21:49:02 -08:00
  • e2e043493f CMake: add support for new ed25519/curve25519 stuff in OpenSSL 1.1.1+ Steven Noonan 2019-01-21 21:10:02 -08:00
  • 5cc39e4798 crypto_25519_openssl: add SHA256 digest to key exchange Steven Noonan 2019-01-21 20:59:35 -08:00
  • 42c015dc04 test_crypto: ensure aliceSharedSecret/bobSharedSecret are initialized, and to different values Steven Noonan 2019-01-21 20:59:13 -08:00
  • e95340ed8c test_crypto: ensure aliceSharedSecret and bobSharedSecret are identical Steven Noonan 2019-01-21 20:48:09 -08:00
  • 5ba804cee8 keypair: ensure m_evp_pkey initialized to null pointer Steven Noonan 2019-01-21 20:47:52 -08:00
  • 1a4dbb21f2 crypto_25519_openssl: unbreak GenerateSignature/VerifySignature Steven Noonan 2019-01-21 20:42:01 -08:00
  • 16d28062a8 meson: dynamically use newer libcrypto 25519 features when available Steven Noonan 2019-01-21 20:12:49 -08:00
  • 3f043fc714 keypair.h: remove FIXME Steven Noonan 2019-01-21 20:01:31 -08:00
  • 89546efe1c crypto_25519_openssl: initialize len variables with valid key length Steven Noonan 2019-01-21 20:00:25 -08:00
  • 84aafe5af5 meson.build: fix copy/paste-o when setting up the new OpenSSL code Steven Noonan 2019-01-21 19:46:18 -08:00
  • c190111b00 Make CCrypto::PerformKeyExchange return bool instead of void. Fletcher Dunn 2019-01-22 03:34:22 +00:00
  • 97f52ed9e8 implement OpenSSL EVP ed25519/curve25519 Fletcher Dunn 2019-01-21 19:37:56 -08:00