| 39 | namespace { |
| 40 | |
| 41 | void PrintBytes(const std::string &label, const std::vector<uint8_t> &buf) { |
| 42 | std::cout << label << ": "; |
| 43 | for (uint8_t b : buf) { |
| 44 | std::cout << std::hex << std::setw(2) << std::setfill('0') << int(b) << " "; |
| 45 | } |
| 46 | std::cout << std::endl; |
| 47 | } |
| 48 | |
| 49 | void SetupBuffers(std::vector<uint8_t> *a, std::vector<uint8_t> *b, |
| 50 | size_t len) { |