| 61 | static void TestRIPEMD160(const std::string &in, const std::string &hexout) { TestVector(CRIPEMD160(), in, ParseHex(hexout));} |
| 62 | |
| 63 | static void TestHMACSHA256(const std::string &hexkey, const std::string &hexin, const std::string &hexout) { |
| 64 | std::vector<unsigned char> key = ParseHex(hexkey); |
| 65 | TestVector(CHMAC_SHA256(key.data(), key.size()), ParseHex(hexin), ParseHex(hexout)); |
| 66 | } |
| 67 | |
| 68 | static void TestHMACSHA512(const std::string &hexkey, const std::string &hexin, const std::string &hexout) { |
| 69 | std::vector<unsigned char> key = ParseHex(hexkey); |
no test coverage detected