MCPcopy Create free account
hub / github.com/ValveSoftware/GameNetworkingSockets / TestSymmetricAuthCryptoVectors

Function TestSymmetricAuthCryptoVectors

tests/test_crypto.cpp:305–313  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Test AES-GCM crypto against known vectors -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

303// Purpose: Test AES-GCM crypto against known vectors
304//-----------------------------------------------------------------------------
305void TestSymmetricAuthCryptoVectors()
306{
307 #ifndef TEST_VECTOR_DIR
308 #define TEST_VECTOR_DIR "aesgcmtestvectors/"
309 #endif
310
311 // Check against known test vectors
312 TestSymmetricAuthCrypto_EncryptTestVectorFile( TEST_VECTOR_DIR "gcmEncryptExtIV256.rsp" );
313}
314
315//-----------------------------------------------------------------------------
316// Purpose: Test elliptic-curve primitives (ed25519 signing, curve25519 key exchange)

Callers 1

mainFunction · 0.85

Tested by

no test coverage detected