~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
base/dispatch.c, etc.: Check that `rdrand' works.
[catacomb]
/
symm
/
rmd160.c
diff --git
a/symm/rmd160.c
b/symm/rmd160.c
index
bc7e867
..
3dbb521
100644
(file)
--- a/
symm/rmd160.c
+++ b/
symm/rmd160.c
@@
-325,7
+325,7
@@
void rmd160_set(rmd160_ctx *ctx, const void *buf, unsigned long count)
ctx->e = LOAD32_L(p + 16);
ctx->off = 0;
ctx->nl = U32(count);
- ctx->nh = U32(((count & ~MASK32) >> 16) >> 16);
+ ctx->nh = U32(((count & ~
(unsigned long)
MASK32) >> 16) >> 16);
}
/* --- @rmd160_hash@ --- *