tcsh: Remove MINIX specific file from the build.
[dragonfly.git] / contrib / cryptsetup / luks / af.h
blob78f978c715b7921ee0a44ab9aaa0b41ba81e8779
1 #ifndef INCLUDED_CRYPTSETUP_LUKS_AF_H
2 #define INCLUDED_CRYPTSETUP_LUKS_AF_H
4 /*
5 * AFsplitter - Anti forensic information splitter
6 * Copyright 2004, Clemens Fruhwirth <clemens@endorphin.org>
7 */
9 /*
10 * AF_split operates on src and produces information splitted data in
11 * dst. src is assumed to be of the length blocksize. The data stripe
12 * dst points to must be captable 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
17 * blocksize.
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);
25 #endif