projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ioengines: remove pointless list initializations
[fio.git]
/
crc
/
md5.h
diff --git
a/crc/md5.h
b/crc/md5.h
index 6747d3067222a9b65afd56eec07cfd4de3cfc92c..54e350c411f4802ca646ef637dc65571fc36e5ce 100644
(file)
--- 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<<s | w>>(32-s)) + x)
#define MD5STEP(f, w, x, y, z, in, s) \
(w += f(x, y, z) + in, w = (w<<s | w>>(32-s)) + x)
-struct md5_ctx {
+struct
fio_
md5_ctx {
uint32_t *hash;
uint32_t block[MD5_BLOCK_WORDS];
uint64_t byte_count;
};
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
#endif