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