zuluCrypt  5.7.1
About: zuluCrypt is a simple but feature rich solution for hard drives encryption. It can manage PLAIN dm-crypt, LUKS, TrueCrypt and VeraCrypt encrypted volumes.
  Fossies Dox: zuluCrypt-5.7.1.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

constants.h
Go to the documentation of this file.
1  /*
2  *
3  * Copyright (c) 2011
4  * name : Francis Banyikwa
5  * email: mhogomchungu@gmail.com
6  * This program is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program. If not, see <http://www.gnu.org/licenses/>.
18  */
19 #ifndef EXECUTABLES_H
20 
21 #define EXECUTABLES_H
22 
23 #include "bin_path.h"
24 
25 #define ZULUCRYPTmkfs "/sbin/mkfs"
26 #define ZULUCRYPTmount "/bin/mount"
27 #define ZULUCRYPTumount "/bin/umount"
28 #define ZULUCRYPTmkfs_dir "/sbin"
29 #define ZULUCRYPTgroupadd "/usr/sbin/groupadd"
30 
31 #define ZULUCRYPTallPartitions 1
32 #define ZULUCRYPTsystemPartitions 2
33 #define ZULUCRYPTnonSystemPartitions 3
34 
35 #define ZULUCRYPTshortMapperPath 1
36 #define ZULUCRYPTlongMapperPath 0
37 
38 #define ZULUCRYPTread 1
39 #define ZULUCRYPTwrite 0
40 
41 #define ZULUCRYPTtempFolder "/run/zuluCrypt"
42 #define ZULUCRYPTmountPath "/run/media"
43 #define ZULUCRYPtmountMiniPath "/run"
44 
45 #define ZULUCRYPT_LUKS2_MAX_HEADER_SIZE 33554432
46 /*
47  * The below numbers are cryptsetup default numbers.
48  */
49 #define ZULUCRYPT_KEY_MAX_SIZE 512
50 #define ZULUCRYPT_KEYFILE_MAX_SIZE 8192000
51 #define ZULUCRYPT_INT_MAX_KEYSIZE 8192000
52 #define ZULUCRYPT_CHAR_MAX_KEYSIZE "8192000"
53 
54 #endif