report_corrupt
report_corrupt(check_buf, buf);
static void report_corrupt(unsigned char *read, unsigned char *written);