diff options
| author | Mattias Andrée <m@maandree.se> | 2026-05-20 23:04:11 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-05-20 23:04:11 +0200 |
| commit | c35b47228f5494f4d806e9166628110af6dd2469 (patch) | |
| tree | 3b5a123af999a5e047b8565efee293a5d95c3f6c /librecrypt_settings_prefix.3 | |
| parent | Prepare for supporting custom algorithms (diff) | |
| download | librecrypt-c35b47228f5494f4d806e9166628110af6dd2469.tar.gz librecrypt-c35b47228f5494f4d806e9166628110af6dd2469.tar.bz2 librecrypt-c35b47228f5494f4d806e9166628110af6dd2469.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'librecrypt_settings_prefix.3')
| -rw-r--r-- | librecrypt_settings_prefix.3 | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/librecrypt_settings_prefix.3 b/librecrypt_settings_prefix.3 index 8981133..8e425a8 100644 --- a/librecrypt_settings_prefix.3 +++ b/librecrypt_settings_prefix.3 @@ -6,7 +6,8 @@ librecrypt_settings_prefix - Get length of settings prefix in a password hash st .nf #include <librecrypt.h> -size_t \fBlibrecrypt_settings_prefix\fP(const char *\fIhash\fP, size_t *\fIhashsize_out\fP, void *\fIreserved\fP); +size_t \fBlibrecrypt_settings_prefix\fP(const char *\fIhash\fP, size_t *\fIhashsize_out\fP, + LIBRECRYPT_CONTEXT *\fIctx\fP); .fi .PP Link with @@ -45,9 +46,13 @@ See the section for more information. .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 .I hash must not be @@ -110,6 +115,17 @@ The function was introduced in version 1.0 of .BR librecrypt . +Since version 1.1 of the +.BR librecrypt_settings_prefix () +function, the +.I ctx +parameter (previously called +.IR reserved ) +has the type +.B LIBRECRYPT_CONTEXT * +(previously +.BR "void *" ). + .SH SEE ALSO .BR librecrypt (7), .BR librecrypt_chain_length (3) |
