MCPcopy Create free account
hub / github.com/ElementsProject/elements / TestSHA1

Function TestSHA1

src/test/crypto_tests.cpp:58–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58static void TestSHA1(const std::string &in, const std::string &hexout) { TestVector(CSHA1(), in, ParseHex(hexout));}
59static void TestSHA256(const std::string &in, const std::string &hexout) { TestVector(CSHA256(), in, ParseHex(hexout));}
60static void TestSHA512(const std::string &in, const std::string &hexout) { TestVector(CSHA512(), in, ParseHex(hexout));}
61static void TestRIPEMD160(const std::string &in, const std::string &hexout) { TestVector(CRIPEMD160(), in, ParseHex(hexout));}

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 3

CSHA1Class · 0.85
ParseHexFunction · 0.85
TestVectorFunction · 0.70

Tested by

no test coverage detected