aboutsummaryrefslogtreecommitdiffstats
path: root/tools/blktap2/drivers/md5.h
blob: 065bd93ba05d4c3f52d374accce1ab19160c52e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef MD5_H
#define MD5_H

#include <stdint.h>
#include <stddef.h>

/**
 * md5_sum - MD5 hash for a data block
 * @addr: Pointers to the data area
 * @len: Lengths of the data block
 * @mac: Buffer for the hash
 */
void md5_sum(const uint8_t *addr, const size_t len, uint8_t *mac);

#endif