6 #ifndef CRYPTOPP_THREEWAY_H
7 #define CRYPTOPP_THREEWAY_H
13 NAMESPACE_BEGIN(CryptoPP)
19 CRYPTOPP_CONSTEXPR
static const char *StaticAlgorithmName() {
return "3-Way";}
33 void UncheckedSetKey(
const byte *key,
unsigned int length,
const NameValuePairs ¶ms);
36 unsigned int m_rounds;
43 class CRYPTOPP_NO_VTABLE Enc :
public Base
46 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
52 class CRYPTOPP_NO_VTABLE Dec :
public Base
55 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
Inherited by keyed algorithms with fixed key length.
Provides Encryption and Decryption typedefs used by derived classes to implement a block cipher...
Library configuration file.
Classes and functions for secure memory allocations.
Inherited by algorithms with fixed block size.
Inherited by algorithms with variable number of rounds.
Classes and functions for implementing secret key algorithms.
ThreeWay block cipher information.
Provides a base implementation of Algorithm and SimpleKeyingInterface for block ciphers.
Interface for retrieving values given their names.