Example #1
0
void hexmap_init(void)
{
	do_hexmap_init(hexmap1, 4);
	do_hexmap_init(hexmap2, 0);
	md5str_to_bytes("D41D8CD98F00B204E9800998ECF8427E",
		md5sum_of_empty_string);
}
Example #2
0
static void get_fingerprint_and_md5sum(struct iobuf *iobuf, struct blk *blk)
{
	get_fingerprint_from_str(iobuf->buf, blk);
	md5str_to_bytes(iobuf->buf+16, blk->md5sum);
}