X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=crc%2Fmd5.h;h=54e350c411f4802ca646ef637dc65571fc36e5ce;hb=6a2c93631bf45ab2e189a36d06e5cf402d6a4517;hp=6747d3067222a9b65afd56eec07cfd4de3cfc92c;hpb=eef6eea1b935a67f1ae26b38e06a69d4410a12aa;p=fio.git diff --git a/crc/md5.h b/crc/md5.h index 6747d306..54e350c4 100644 --- a/crc/md5.h +++ b/crc/md5.h @@ -16,13 +16,14 @@ #define MD5STEP(f, w, x, y, z, in, s) \ (w += f(x, y, z) + in, w = (w<>(32-s)) + x) -struct md5_ctx { +struct fio_md5_ctx { uint32_t *hash; uint32_t block[MD5_BLOCK_WORDS]; uint64_t byte_count; }; -extern void md5_update(struct md5_ctx *, const uint8_t *, unsigned int); -extern void md5_init(struct md5_ctx *); +extern void fio_md5_update(struct fio_md5_ctx *, const uint8_t *, unsigned int); +extern void fio_md5_final(struct fio_md5_ctx *); +extern void fio_md5_init(struct fio_md5_ctx *); #endif