Crypto++
5.6.4
Free C++ class library of cryptographic schemes
|
Go to the documentation of this file.
19 void RawSetKey(
CipherDir direction,
const byte *userKey);
20 void RawProcessBlock(word32 &l, word32 &r)
const;
23 static const word32 Spbox[8][64];
33 CRYPTOPP_CONSTEXPR
static const char *StaticAlgorithmName() {
return "DES";}
49 void UncheckedSetKey(
const byte *userKey,
unsigned int length,
const NameValuePairs ¶ms);
50 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock,
byte *outBlock)
const;
67 CRYPTOPP_DLL
static const char * CRYPTOPP_API StaticAlgorithmName() {
return "DES-EDE2";}
77 class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE Base :
public BlockCipherImpl<DES_EDE2_Info>
80 void UncheckedSetKey(
const byte *userKey,
unsigned int length,
const NameValuePairs ¶ms);
81 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock,
byte *outBlock)
const;
96 CRYPTOPP_DLL
static const char * CRYPTOPP_API StaticAlgorithmName() {
return "DES-EDE3";}
106 class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE Base :
public BlockCipherImpl<DES_EDE3_Info>
109 void UncheckedSetKey(
const byte *userKey,
unsigned int length,
const NameValuePairs ¶ms);
110 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock,
byte *outBlock)
const;
113 RawDES m_des1, m_des2, m_des3;
125 CRYPTOPP_CONSTEXPR
static const char *StaticAlgorithmName() {
return "DES-XEX3";}
138 void UncheckedSetKey(
const byte *userKey,
unsigned int length,
const NameValuePairs ¶ms);
139 void ProcessAndXorBlock(
const byte *inBlock,
const byte *xorBlock,
byte *outBlock)
const;
DESX block cipher information.
static void CorrectKeyParityBits(byte *key)
correct DES key parity bits
DES block cipher information.
static bool CheckKeyParityBits(const byte *key)
check DES key parity bits
Classes and functions for secure memory allocations.
Inherited by algorithms with fixed block size.
CipherDir
Specifies a direction for a cipher to operate.
Provides a base implementation of Algorithm and SimpleKeyingInterface for block ciphers.
Inherited by keyed algorithms with fixed key length.
3-key TripleDES block cipher
2-key TripleDES block cipher
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.
DES block cipher base class.
Crypto++ library namespace.
2-key TripleDES block cipher information
3-key TripleDES block cipher information
Interface for retrieving values given their names.