aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_hash_algorithm_end.3
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-05-21 17:12:20 +0200
committerMattias Andrée <m@maandree.se>2026-05-21 17:12:20 +0200
commitb29f4153e83623f24bebe99976e1368ef31bb008 (patch)
tree65473709df1194a2f9277dc5fb47add5e41430c0 /librecrypt_hash_algorithm_end.3
parentAdd (so far untested and undocument) support for pepper (diff)
downloadlibrecrypt-b29f4153e83623f24bebe99976e1368ef31bb008.tar.gz
librecrypt-b29f4153e83623f24bebe99976e1368ef31bb008.tar.bz2
librecrypt-b29f4153e83623f24bebe99976e1368ef31bb008.tar.xz
Add support for custom hash functions
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--librecrypt_hash_algorithm_end.344
1 files changed, 44 insertions, 0 deletions
diff --git a/librecrypt_hash_algorithm_end.3 b/librecrypt_hash_algorithm_end.3
new file mode 100644
index 0000000..1c332ed
--- /dev/null
+++ b/librecrypt_hash_algorithm_end.3
@@ -0,0 +1,44 @@
+.TH LIBRECRYPT_HASH_ALGORITHM_END 3 LIBRECRYPT
+.SH NAME
+librecrypt_hash_algorithm_end - Number of hash algorithms the linked library knows about
+
+.SH SYNOPSIS
+.nf
+#include <librecrypt.h>
+
+enum librecrypt_hash_algorithm {
+ LIBRECRYPT_ARGON2I_V1_0,
+ LIBRECRYPT_ARGON2I_V1_3,
+ LIBRECRYPT_ARGON2D_V1_0,
+ LIBRECRYPT_ARGON2D_V1_3,
+ LIBRECRYPT_ARGON2ID_V1_0,
+ LIBRECRYPT_ARGON2ID_V1_3,
+ LIBRECRYPT_ARGON2DS_V1_0,
+ LIBRECRYPT_ARGON2DS_V1_3,
+ LIBRECRYPT_HASH_ALGORITHM_END /* end of enum marker (always last) */
+};
+
+extern const enum librecrypt_hash_algorithm \fBlibrecrypt_hash_algorithm_end\fP;
+.fi
+.PP
+Link with
+.IR -lrecrypt .
+
+.SH DESCRIPTION
+The
+.BR librecrypt_hash_algorithm_end
+variable is set to the value
+.I LIBRECRYPT_HASH_ALGORITHM_END
+had when the library was compiled, meaning that
+it is the linked library's version of
+.I LIBRECRYPT_HASH_ALGORITHM_END
+rather than the application's version.
+
+.SH HISTORY
+The
+.BR librecrypt_hash_algorithm_end
+variable was introduced in version 1.1 of
+.BR librecrypt .
+
+.SH SEE ALSO
+.BR librecrypt (7)