X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=crc%2Fmd5.h;h=668f0e933735ccffba14b2ea2206256ac73bc0c8;hp=6747d3067222a9b65afd56eec07cfd4de3cfc92c;hb=25dfa848abbb6c35b4d45fabd5a8e82cb77fb285;hpb=02efadeb8b05144bcf2fc7796e1da2e7db211d00;ds=sidebyside diff --git a/crc/md5.h b/crc/md5.h index 6747d306..668f0e93 100644 --- a/crc/md5.h +++ b/crc/md5.h @@ -16,13 +16,13 @@ #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_init(struct fio_md5_ctx *); #endif