aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_verify.3
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-05-20 23:04:11 +0200
committerMattias Andrée <m@maandree.se>2026-05-20 23:04:11 +0200
commitc35b47228f5494f4d806e9166628110af6dd2469 (patch)
tree3b5a123af999a5e047b8565efee293a5d95c3f6c /librecrypt_verify.3
parentPrepare for supporting custom algorithms (diff)
downloadlibrecrypt-master.tar.gz
librecrypt-master.tar.bz2
librecrypt-master.tar.xz
Add (so far untested and undocument) support for pepperHEADmaster
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--librecrypt_verify.317
1 files changed, 8 insertions, 9 deletions
diff --git a/librecrypt_verify.3 b/librecrypt_verify.3
index 1ee86d2..743ddd4 100644
--- a/librecrypt_verify.3
+++ b/librecrypt_verify.3
@@ -7,7 +7,7 @@ librecrypt_verify - Verify password against known password hash
#include <librecrypt.h>
int \fBlibrecrypt_verify\fP(const char *\fIphrase\fP, size_t \fIlen\fP,
- const char *\fIsettings\fP, void *\fIreserved\fP);
+ const char *\fIsettings\fP, LIBRECRYPT_CONTEXT *\fIctx\fP);
.fi
.PP
Link with
@@ -40,9 +40,13 @@ uses asterisk-encoding to specify random salts,
the function fails.
.PP
The
-.I reserved
-parameter is reserved for future use and should be
-.IR NULL .
+.I ctx
+parameter is used for providing library
+configurations, see
+.BR librecrypt_create_context (3)
+for more information; used
+.I NULL
+for default configurations.
.PP
Any encountered
.BR EINTR
@@ -67,11 +71,6 @@ The
function will fail if:
.TP
.B EINVAL
-.I reserved
-is not
-.IR NULL .
-.TP
-.B EINVAL
.I settings
is invalid.
.TP