From 8ea4c3659a63fa4c5a1b85e2e6650ea2c3a4b91b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 16 May 2026 12:11:02 +0200 Subject: Add "reserved" parameter to a few more functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- librecrypt_make_settings.3 | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'librecrypt_make_settings.3') diff --git a/librecrypt_make_settings.3 b/librecrypt_make_settings.3 index f742df6..ca31417 100644 --- a/librecrypt_make_settings.3 +++ b/librecrypt_make_settings.3 @@ -8,7 +8,8 @@ librecrypt_make_settings - Generate a password hash settings string ssize_t \fBlibrecrypt_make_settings\fP(char *\fIout_buffer\fP, size_t \fIsize\fP, const char *\fIalgorithm\fP, size_t \fImemcost\fP, uintmax_t \fItimecost\fP, int \fIgensalt\fP, - ssize_t (*\fIrng\fP)(void *\fIout\fP, size_t \fIn\fP, void *\fIuser\fP), void *\fIuser\fP); + ssize_t (*\fIrng\fP)(void *\fIout\fP, size_t \fIn\fP, void *\fIuser\fP), + void *\fIuser\fP, void *\fIreserved\fP); .fi .PP Link with @@ -76,6 +77,11 @@ with the same name, as is and may be used by .IR *rng for user-defined purposes. .PP +The +.I reserved +parameter is reserved for future use and should be +.IR NULL . +.PP On successful completion, if .I size is positive, the output is null byte terminated @@ -114,6 +120,11 @@ The function will fail if: .TP .B EINVAL +.I reserved +is not +.IR NULL . +.TP +.B EINVAL .I algorithm represents a chain of algorithms. .TP -- cgit v1.2.3-70-g09d2