32 #ifndef GCRYPT_NO_DEPRECATED
33 #define GCRYPT_NO_DEPRECATED
39 #include "../my_config.h"
68 inline bool crypto_min_ver_libgcrypt_no_bug()
71 return gcry_check_version(MIN_VERSION_GCRYPT_HASH_BUG);
89 bool no_initial_shift,
98 const char *clear_buf,
const U_32 clear_size,
const U_32 clear_allocated,
99 char *crypt_buf, U_32 crypt_size);
101 const char *crypt_buf,
const U_32 crypt_size,
102 char *clear_buf, U_32 clear_size);
106 gcry_cipher_hd_t clef;
107 gcry_cipher_hd_t essiv_clef;
109 size_t algo_block_size;
115 const std::string & salt,
119 void make_ivec(
const infinint & ref,
unsigned char *ivec, U_I size);
120 void self_test(
void);
this is a partial implementation of the generic_file interface to cypher/decypher data block by block...
twofish 256 strong encryption
void crypto_split_algo_pass(const secu_string &all, crypto_algo &algo, secu_string &pass)
camellia 256 strong encryption
crypto_algo
the different cypher available for encryption (strong or weak)
serpent 256 strong encryption
implementation of encryption using symetrical cryptography used in libgcrypt (among which is blowfish...
U_32 encrypted_block_size_for(U_32 clear_block_size)
defines the size necessary to encrypt a given amount of clear data
this is the interface class from which all other data transfer classes inherit
U_32 decrypt_data(const infinint &block_num, const char *crypt_buf, const U_32 crypt_size, char *clear_buf, U_32 clear_size)
this method decyphers data
blowfish strong encryption
U_32 clear_block_allocated_size_for(U_32 clear_block_size)
it may be necessary by the inherited class have few more bytes allocated after the clear data given f...
defines a block structured file.Mainly used for strong encryption.
the arbitrary large positive integer class
class archive_version manages the version of the archive format
scrambling weak encryption
U_32 encrypt_data(const infinint &block_num, const char *clear_buf, const U_32 clear_size, const U_32 clear_allocated, char *crypt_buf, U_32 crypt_size)
this method encrypts the clear data given
AES 256 strong encryption.
this file contains the definition of secu_string class, a std::string like class but allocated in sec...
libdar namespace encapsulate all libdar symbols