aboutsummaryrefslogtreecommitdiffstats
path: root/libsha2_update.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-02-09 21:07:38 +0100
committerMattias Andrée <maandree@kth.se>2019-02-09 21:08:16 +0100
commita265d4c4c790c442af8760345bcade8181f5d1a4 (patch)
tree591fbb1134a690d8b9f17b3ae939d9da18f2c776 /libsha2_update.3
parentAdd marshal and unmarshal functions (diff)
downloadlibsha2-a265d4c4c790c442af8760345bcade8181f5d1a4.tar.gz
libsha2-a265d4c4c790c442af8760345bcade8181f5d1a4.tar.bz2
libsha2-a265d4c4c790c442af8760345bcade8181f5d1a4.tar.xz
Fix documentation about lengths (in bits, not bytes) and fix libsha2_sum_fd (lengths are in bits)
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libsha2_update.3')
-rw-r--r--libsha2_update.33
1 files changed, 2 insertions, 1 deletions
diff --git a/libsha2_update.3 b/libsha2_update.3
index c504b76..fe82384 100644
--- a/libsha2_update.3
+++ b/libsha2_update.3
@@ -15,7 +15,8 @@ The
.BR libsha2_update ()
function feeds the first
.I msglen
-bytes of
+.B bits
+(must equivalent to 0 modulus 8) of
.I message
into the hashing state of the
.I state