8 #ifndef CRYPTOPP_SERPENT_H 9 #define CRYPTOPP_SERPENT_H 20 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return "Serpent";}
36 void UncheckedSetKey(
const byte *userKey,
unsigned int length,
const NameValuePairs ¶ms);
46 class CRYPTOPP_NO_VTABLE Enc :
public Base
49 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock,
byte *outBlock)
const;
56 class CRYPTOPP_NO_VTABLE Dec :
public Base
59 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock,
byte *outBlock)
const;
72 #endif // CRYPTOPP_SERPENT_H Provides Encryption and Decryption typedefs used by derived classes to implement a block cipher...
Interface for one direction (encryption or decryption) of a block cipher.
Classes and functions for secure memory allocations.
Inherited by algorithms with fixed block size.
Classes and functions for implementing secret key algorithms.
Inherited by algorithms with fixed number of rounds.
Inherited by keyed algorithms with variable key length.
Serpent block cipher information.
unsigned char byte
8-bit unsigned datatype
Provides a base implementation of Algorithm and SimpleKeyingInterface for block ciphers.
Crypto++ library namespace.
Interface for retrieving values given their names.