36 #include "../my_config.h"
79 bool no_initial_shift,
88 const char *clear_buf,
const U_32 clear_size,
const U_32 clear_allocated,
89 char *crypt_buf, U_32 crypt_size);
91 const char *crypt_buf,
const U_32 crypt_size,
92 char *clear_buf, U_32 clear_size);
96 gcry_cipher_hd_t clef;
97 gcry_cipher_hd_t essiv_clef;
99 size_t algo_block_size;
105 const std::string & salt,
109 void make_ivec(
const infinint & ref,
unsigned char *ivec, U_I size);
110 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...