6 #ifndef CRYPTOPP_BLOWFISH_H 7 #define CRYPTOPP_BLOWFISH_H 18 static const char *StaticAlgorithmName() {
return "Blowfish";}
33 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
34 void UncheckedSetKey(
const byte *key_string,
unsigned int keylength,
const NameValuePairs ¶ms);
37 void crypt_block(
const word32 in[2], word32 out[2])
const;
39 static const word32 p_init[
ROUNDS+2];
40 static const word32 s_init[4*256];
Provides Encryption and Decryption typedefs used by derived classes to implement a block cipher...
Provides Blowfish encryption and decryption.
Classes and functions for secure memory allocations.
Inherited by block ciphers with fixed block size.
Classes and functions for implementing secret key algorithms.
Provides class member functions to key a block cipher.
The cipher's key, iv, block size and name information.
Inherited by ciphers with fixed number of rounds.
Inherited by keyed algorithms with variable key length.
static const int ROUNDS
The number of rounds for the cipher provided as a constant.
Provides class member functions to access BlockCipher constants.
Crypto++ library namespace.
Interface for retrieving values given their names.