mirror of
https://github.com/ValveSoftware/GameNetworkingSockets.git
synced 2026-05-29 16:20:34 +00:00
- Added support for using libsodium for encryption rather than OpenSSL - Removed AES-GCM tests with keys shorter than 256; libsodium only supports 256 - Added a build with libsodium to the CI matrix Signed-off-by: Andrew Simpson <andy@aiusepsi.co.uk> steven@ edited and rebased: - integrated with new USE_CRYPTO/USE_CRYPTO25519 options in CMake/meson - separated using libsodium for ed25519/curve25519 and AES/SHA256. - ensured libsodium simple crypto tests run on all builders instead of a single isolated builder. - prevented building with -DUSE_CRYPTO=libsodium for non-x86 hardware, as libsodium's AES implementation depends on AES-NI. it is still possible to configure with -DUSE_CRYPTO25519=libsodium on arbitrary hardware targets. Fixes #88. Signed-off-by: Steven Noonan <steven@valvesoftware.com>