projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests for module 'unicase/u16-is-uppercase'.
[gnulib.git]
/
lib
/
sha512.h
diff --git
a/lib/sha512.h
b/lib/sha512.h
index
84fe559
..
ed12d54
100644
(file)
--- a/
lib/sha512.h
+++ b/
lib/sha512.h
@@
-32,8
+32,8
@@
struct sha512_ctx
u64 buffer[32];
};
u64 buffer[32];
};
-enum { SHA384_DIGEST_SIZE =
4
8 };
-enum { SHA512_DIGEST_SIZE =
64
};
+enum { SHA384_DIGEST_SIZE =
384 /
8 };
+enum { SHA512_DIGEST_SIZE =
512 / 8
};
/* Initialize structure containing state of computation. */
extern void sha512_init_ctx (struct sha512_ctx *ctx);
/* Initialize structure containing state of computation. */
extern void sha512_init_ctx (struct sha512_ctx *ctx);