Crypto++
8.6
Free C++ class library of cryptographic schemes
|
Go to the documentation of this file.
6 #ifndef CRYPTOPP_BLOWFISH_H
7 #define CRYPTOPP_BLOWFISH_H
17 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return "Blowfish";}
31 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock,
byte *outBlock)
const;
32 void UncheckedSetKey(
const byte *key_string,
unsigned int keylength,
const NameValuePairs ¶ms);
35 void crypt_block(
const word32 in[2],
word32 out[2])
const;
38 static const word32 s_init[4*256];
Blowfish block cipher information.
Classes and functions for secure memory allocations.
unsigned int word32
32-bit unsigned datatype
Inherited by algorithms with fixed block size.
static const int ROUNDS
The number of rounds for the algorithm provided as a constant.
Provides a base implementation of Algorithm and SimpleKeyingInterface for block ciphers.
Provides Encryption and Decryption typedefs used by derived classes to implement a block cipher.
Classes and functions for implementing secret key algorithms.
Provides class member functions to key a block cipher.
Crypto++ library namespace.
Interface for retrieving values given their names.
Inherited by algorithms with fixed number of rounds.
Inherited by keyed algorithms with variable key length.