1 #ifndef CRYPTOPP_THREEWAY_H
2 #define CRYPTOPP_THREEWAY_H
10 NAMESPACE_BEGIN(CryptoPP)
15 static const char *StaticAlgorithmName() {
return "3-Way";}
24 void UncheckedSetKey(
const byte *key,
unsigned int length,
const NameValuePairs ¶ms);
27 unsigned int m_rounds;
31 class CRYPTOPP_NO_VTABLE Enc :
public Base
34 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
37 class CRYPTOPP_NO_VTABLE Dec :
public Base
40 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock, byte *outBlock)
const;
to be inherited by keyed algorithms with fixed key length
These objects usually should not be used directly. See CipherModeDocumentation instead.
to be inherited by block ciphers with fixed block size
to be inherited by ciphers with variable number of rounds
interface for retrieving values given their names