aboutsummaryrefslogtreecommitdiffstats
path: root/libsha2_digest.3
diff options
context:
space:
mode:
Diffstat (limited to 'libsha2_digest.3')
-rw-r--r--libsha2_digest.35
1 files changed, 3 insertions, 2 deletions
diff --git a/libsha2_digest.3 b/libsha2_digest.3
index 2e7d31e..fd4e0ad 100644
--- a/libsha2_digest.3
+++ b/libsha2_digest.3
@@ -15,14 +15,15 @@ The
.BR libsha2_digest ()
function feeds the first
.I msglen
-bytes of
+.B bits
+of
.I message
into the hashing state of the
.I state
parameter, and finalises the hashing.
The resulting hash is stored in binary
format in
-.I output .
+.IR output .
The user must make sure that
.I output
is sufficiently large, which means at