"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "zuluCrypt-cli/lib/includes.h" between
zuluCrypt-5.7.0.tar.xz and zuluCrypt-5.7.1.tar.xz

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.

includes.h  (zuluCrypt-5.7.0.tar.xz):includes.h  (zuluCrypt-5.7.1.tar.xz)
skipping to change at line 77 skipping to change at line 77
typedef struct{ typedef struct{
const char * device ; const char * device ;
const char * plain_dm_properties ; const char * plain_dm_properties ;
const char * mapper_name ; const char * mapper_name ;
const char * mapper_path ; const char * mapper_path ;
const char * key ; const char * key ;
const char * m_point ; const char * m_point ;
const char * fs_opts ; const char * fs_opts ;
const char * m_opts ; const char * m_opts ;
const char * luks_detached_header ;
size_t key_len ; size_t key_len ;
uid_t uid ; uid_t uid ;
int volume_type ; int volume_type ;
int key_source ; int key_source ;
int iteration_count ; int iteration_count ;
int luks_detached_header ;
int general_detached_header ;
int tcrypt_keyfiles_count ; int tcrypt_keyfiles_count ;
int veraCrypt_volume ; int veraCrypt_volume ;
int trueCrypt_volume ; int trueCrypt_volume ;
int bitlocker_volume ; int bitlocker_volume ;
int system_volume ; int system_volume ;
int use_cryptsetup_for_bitlocker ;
const char * const * tcrypt_keyfiles ; const char * const * tcrypt_keyfiles ;
unsigned long m_flags ; unsigned long m_flags ;
int use_backup_header ; int use_backup_header ;
int use_hidden_header ;
void * variables ; void * variables ;
}open_struct_t ; }open_struct_t ;
typedef struct{ typedef struct{
const char * device ; const char * device ;
const char * passphrase ; const char * passphrase ;
size_t passphrase_size ; size_t passphrase_size ;
const char * const * keyfiles ; const char * const * keyfiles ;
size_t keyfiles_number ; size_t keyfiles_number ;
const char * passphrase_h ; const char * passphrase_h ;
skipping to change at line 126 skipping to change at line 128
int open_mode ; int open_mode ;
const void * args ; const void * args ;
}resolve_path_t ; }resolve_path_t ;
/* /*
* we only support whirlpool with cryptsetup >= 1.6.4 and libgcrypt >= 1.6.1 * we only support whirlpool with cryptsetup >= 1.6.4 and libgcrypt >= 1.6.1
* *
* read section 8.3 of cryptsetup FAQ for more info. * read section 8.3 of cryptsetup FAQ for more info.
*/ */
static inline int zuluCryptWhirlpoolIsSupported() static inline int zuluCryptWhirlpoolIsSupported( void )
{ {
#ifdef GCRYPT_VERSION_NUMBER #ifdef GCRYPT_VERSION_NUMBER
return GCRYPT_VERSION_NUMBER >= 0x010601 && SUPPORT_WHIRLPOOL ; return GCRYPT_VERSION_NUMBER >= 0x010601 && SUPPORT_WHIRLPOOL ;
#else #else
return SUPPORT_WHIRLPOOL ; return SUPPORT_WHIRLPOOL ;
#endif #endif
} }
/* /*
* zuluCryptVeraCryptPIM() is defined in volume_type.c * zuluCryptVeraCryptPIM() is defined in volume_type.c
skipping to change at line 220 skipping to change at line 222
int zuluCryptOpenVolume_0( int( *function )( const open_struct_t * ),const open_ struct_t * ) ; int zuluCryptOpenVolume_0( int( *function )( const open_struct_t * ),const open_ struct_t * ) ;
/* /*
* this function is defined in create_loop_device.c * this function is defined in create_loop_device.c
*/ */
int zuluCryptAttachLoopDeviceToFileUsingFileDescriptor( int fd_path,int * fd_loo p,int mode,string_t * loop_device ) ; int zuluCryptAttachLoopDeviceToFileUsingFileDescriptor( int fd_path,int * fd_loo p,int mode,string_t * loop_device ) ;
/* /*
* this function is defined in status.c * this function is defined in status.c
*/ */
int zuluCryptTrueCryptOrVeraCryptVolume( const char * mapper ) ; int zuluCryptVolumeManagedByTcplay( const char * mapper ) ;
/* /*
* this function is defined in status.c * this function is defined in status.c
*/ */
void zuluCryptFileSystemProperties( string_t p,const char * mapper,const char * m_point ) ; void zuluCryptFileSystemProperties( string_t p,const char * mapper,const char * m_point ) ;
/* /*
* this function is defined in create_mapper_name.c * this function is defined in create_mapper_name.c
*/ */
const char * zuluCryptMapperPrefix( void ) ; const char * zuluCryptMapperPrefix( void ) ;
skipping to change at line 676 skipping to change at line 678
/* /*
* zuluCryptModifyTcryptHeader() is defined in create_tcplay.c * zuluCryptModifyTcryptHeader() is defined in create_tcplay.c
*/ */
int zuluCryptModifyTcryptHeader( const info_t * info ) ; int zuluCryptModifyTcryptHeader( const info_t * info ) ;
/* /*
* this function is defined in mount_fs_options.c * this function is defined in mount_fs_options.c
*/ */
int zuluCryptUserIsAMemberOfAGroup( uid_t uid,const char * groupname ) ; int zuluCryptUserIsAMemberOfAGroup( uid_t uid,const char * groupname ) ;
/*
* this function is defined in open_tcrypt.c
*/
int zuluCryptUseZuluPlayVCRYPT( void ) ;
/*
* this function is defined in open_tcrypt.c
*/
int zuluCryptUseZuluPlayTCRYPT( void ) ;
/*
* this function is defined in bitlocker.c
*/
int zuluCryptUseCryptsetupBitLocker( int ) ;
/*
* this function is defined in bitlocker.c
*/
int zuluCryptUseDislockerBitLocker( int ) ;
/*
* this function is defined in open_tcrypt.c
*/
void * zuluCryptCryptsetupTCryptVCrypt( const open_struct_t * opt ) ;
/*
* this function is defined in bitlocker.c
*/
const char * zuluCryptCryptsetupBitLockerType( void ) ;
/*
* this function is defined in open_tcrypt.c
*/
const char * zuluCryptCryptsetupTCRYPTType( void ) ;
/*
* this function is defined in bitlocker.c
*/
int zuluCryptIsDislockerMapperPath( const char * ) ;
/*
* this function is defined in bitlocker.c
*/
int zuluCryptDeviceManagedByDislocker( const char * device,uid_t ) ;
#endif #endif
 End of changes. 7 change blocks. 
4 lines changed or deleted 51 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)