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

Function main

tests/test_crypto.cpp:846–864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

844}
845
846int main()
847{
848 if (!chdir_to_bindir())
849 printf("WARNING: Could not change working directory, AES-GCM test vectors will probably break.\n");
850
851 CCrypto::Init();
852
853 TestCryptoEncoding();
854 TestSHA256();
855 TestMD5();
856 TestHMAC();
857 TestSymmetricAuthCryptoVectors();
858 TestEllipticCrypto();
859 TestOpenSSHEd25519();
860 TestEllipticPerf();
861 TestSymmetricAuthCryptoPerf();
862
863 return g_failed ? 1 : 0;
864}

Callers

nothing calls this directly

Calls 10

chdir_to_bindirFunction · 0.85
TestCryptoEncodingFunction · 0.85
TestSHA256Function · 0.85
TestMD5Function · 0.85
TestHMACFunction · 0.85
TestEllipticCryptoFunction · 0.85
TestOpenSSHEd25519Function · 0.85
TestEllipticPerfFunction · 0.85

Tested by

no test coverage detected