aboutsummaryrefslogtreecommitdiffstats
path: root/algorithms.h
blob: c768a4a4c8fe6de0dabe32f71e0a688ab0eb28af (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
/* See LICENSE file for copyright and license details. */
/* included from "common.h" */


#include "argon2/argon2.h"


/* ordered by preference */
#define LIST_ALGORITHMS(X)\
	X(argon2id)\
	X(argon2d)\
	X(argon2i)\
	X(argon2ds)




#ifdef REQUIRES_COMMON_RFC4848S4

/**
 * RFC 4648 §4 implementation of `struct algorithm.encoding_lut_`
 */
NONSTRING extern const char librecrypt_common_rfc4848s4_encoding_lut_[256u];

/**
 * RFC 4648 §4 implementation of `struct algorithm.decoding_lut_`
 */
extern const unsigned char librecrypt_common_rfc4848s4_decoding_lut_[256u];

#endif