aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_hash_algorithm_end.3
blob: 1c332ed97abca77fa8a645ff1ea1bf18cfb049f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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)