diff options
| author | Mattias Andrée <m@maandree.se> | 2026-05-16 12:11:02 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-05-16 12:11:02 +0200 |
| commit | 8ea4c3659a63fa4c5a1b85e2e6650ea2c3a4b91b (patch) | |
| tree | 827cd837787ad59964e9233b73629bb6c7c717a2 /librecrypt_make_settings.3 | |
| parent | m (diff) | |
| download | librecrypt-8ea4c3659a63fa4c5a1b85e2e6650ea2c3a4b91b.tar.gz librecrypt-8ea4c3659a63fa4c5a1b85e2e6650ea2c3a4b91b.tar.bz2 librecrypt-8ea4c3659a63fa4c5a1b85e2e6650ea2c3a4b91b.tar.xz | |
Add "reserved" parameter to a few more functions
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'librecrypt_make_settings.3')
| -rw-r--r-- | librecrypt_make_settings.3 | 13 |
1 files changed, 12 insertions, 1 deletions
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 |
