projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Speed up md5 hash filling/verifying by 20%
[fio.git]
/
md5.h
diff --git
a/md5.h
b/md5.h
index 9d1cf4cfb5021524aae63e8c50cbaffe3f4245ef..80fbcec8ad3a5ef9f06ff8f7a7a33c2ad14d400d 100644
(file)
--- a/
md5.h
+++ b/
md5.h
@@
-17,7
+17,7
@@
(w += f(x, y, z) + in, w = (w<<s | w>>(32-s)) + x)
struct md5_ctx {
- uint32_t
hash[MD5_HASH_WORDS]
;
+ uint32_t
*hash
;
uint32_t block[MD5_BLOCK_WORDS];
uint64_t byte_count;
};