aboutsummaryrefslogtreecommitdiffstats
path: root/libar2_hash.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-13 23:22:53 +0100
committerMattias Andrée <maandree@kth.se>2022-02-13 23:22:53 +0100
commit238d8b72069b80522066ac5edc3a4d2155e3382c (patch)
tree3ba436e8c5cc967d4e26f5a1bd454d92697b5eb2 /libar2_hash.3
parentBug fix (diff)
downloadlibar2-238d8b72069b80522066ac5edc3a4d2155e3382c.tar.gz
libar2-238d8b72069b80522066ac5edc3a4d2155e3382c.tar.bz2
libar2-238d8b72069b80522066ac5edc3a4d2155e3382c.tar.xz
Add libar2_hash_buf_size and fix related documentation for libar2_hash
Diffstat (limited to 'libar2_hash.3')
-rw-r--r--libar2_hash.35
1 files changed, 3 insertions, 2 deletions
diff --git a/libar2_hash.3 b/libar2_hash.3
index 3240508..1dcabb6 100644
--- a/libar2_hash.3
+++ b/libar2_hash.3
@@ -70,8 +70,8 @@ parameter. The resulting hash is stored,
in raw, binary format, in
.IR hash ,
which must have an allocation size of at least
-the number of bytes specified by
-.IR params->hashlen .
+the number of bytes returned by
+.IR "libar2_hash_buf_size(params)" .
The
.I ctx
parameter is used to provide memory and thread
@@ -477,6 +477,7 @@ fails, and will, in that case, not modify
.SH SEE ALSO
.BR libar2 (7),
+.BR libar2_hash_buf_size (3),
.BR libar2_encode_base64 (3),
.BR libar2_encode_params (3),
.BR libar2_decode_params (3),