diff options
author | Mattias Andrée <maandree@kth.se> | 2019-02-09 21:07:38 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-02-09 21:08:16 +0100 |
commit | a265d4c4c790c442af8760345bcade8181f5d1a4 (patch) | |
tree | 591fbb1134a690d8b9f17b3ae939d9da18f2c776 /libsha2_digest.3 | |
parent | Add marshal and unmarshal functions (diff) | |
download | libsha2-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_digest.3')
-rw-r--r-- | libsha2_digest.3 | 5 |
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 |