6#ifndef CRYPTOPP_THREEWAY_H
7#define CRYPTOPP_THREEWAY_H
18 CRYPTOPP_STATIC_CONSTEXPR
const char* StaticAlgorithmName() {
return "3-Way";}
30 void UncheckedSetKey(
const byte *key,
unsigned int length,
const NameValuePairs ¶ms);
33 unsigned int m_rounds;
39 class CRYPTOPP_NO_VTABLE Enc :
public Base
42 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock,
byte *outBlock)
const;
47 class CRYPTOPP_NO_VTABLE Dec :
public Base
50 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock,
byte *outBlock)
const;
Provides class member functions to key a block cipher.
Provides a base implementation of Algorithm and SimpleKeyingInterface for block ciphers.
Inherited by algorithms with fixed block size.
Inherited by keyed algorithms with fixed key length.
Fixed size stack-based SecBlock.
Interface for retrieving values given their names.
Inherited by algorithms with variable number of rounds.
Library configuration file.
Crypto++ library namespace.
Classes and functions for secure memory allocations.
Classes and functions for implementing secret key algorithms.
Provides Encryption and Decryption typedefs used by derived classes to implement a block cipher.
ThreeWay block cipher information.