| 53 | static const size_t OUTPUT_SIZE = CRIPEMD160::OUTPUT_SIZE; |
| 54 | |
| 55 | void Finalize(Span<unsigned char> output) { |
| 56 | assert(output.size() == OUTPUT_SIZE); |
| 57 | unsigned char buf[CSHA256::OUTPUT_SIZE]; |
| 58 | sha.Finalize(buf); |
| 59 | CRIPEMD160().Write(buf, CSHA256::OUTPUT_SIZE).Finalize(output.data()); |
| 60 | } |
| 61 | |
| 62 | CHash160& Write(Span<const unsigned char> input) { |
| 63 | sha.Write(input.data(), input.size()); |
nothing calls this directly
no test coverage detected