1 #ifndef INCLUDED_CRYPTSETUP_LUKS_AF_H
2 #define INCLUDED_CRYPTSETUP_LUKS_AF_H
5 * AFsplitter - Anti forensic information splitter
6 * Copyright 2004, Clemens Fruhwirth <clemens@endorphin.org>
10 * AF_split operates on src and produces information split data in
11 * dst. src is assumed to be of the length blocksize. The data stripe
12 * dst points to must be capable of storing blocksize*blocknumbers.
13 * blocknumbers is the data multiplication factor.
15 * AF_merge does just the opposite: reproduces the information stored in
16 * src of the length blocksize*blocknumbers into dst of the length
19 * On error, both functions return -1, 0 otherwise.
22 int AF_split(char *src, char *dst, size_t blocksize, unsigned int blocknumbers, const char *hash);
23 int AF_merge(char *src, char *dst, size_t blocksize, unsigned int blocknumbers, const char *hash);