10 #if defined(CRYPTOPP_DEBUG) && !defined(CRYPTOPP_DOXYGEN_PROCESSING) 11 void WAKE_TestInstantiations()
21 return (w>>8) ^
t[w & 0xff];
30 static unsigned int tt[10]= {
43 for (p=4 ; p<256 ; p++)
46 t[p]= (x>>3) ^ tt[x&7] ;
49 for (p=0 ; p<23 ; p++)
51 x=
t[33] ; z=
t[59] | 0x01000001 ;
53 for (p=0 ; p<256 ; p++) {
55 t[p]=(
t[p] & 0x00ffffff) ^ x ; }
59 for (p=0 ; p<256 ; p++) {
77 #define WAKE_OUTPUT(x)\ 78 while (iterationCount--)\ 80 CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 0, r6);\ 86 if (!(x & INPUT_NULL))\
#define NAMESPACE_BEGIN(x)
static GetBlock< T, B, GA > Get(const void *block)
Classes for automatic resource management.
#define CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(x, y)
Helper macro to implement OperateKeystream.
void CipherSetKey(const NameValuePairs ¶ms, const byte *key, size_t length)
Key the cipher.
#define CRYPTOPP_COMPILE_ASSERT(assertion)
word32 M(word32 x, word32 y)
void OperateKeystream(KeystreamOperation operation, byte *output, const byte *input, size_t iterationCount)
Operates the keystream.
Interface for one direction (encryption or decryption) of a stream cipher or cipher mode...
WAKE stream cipher operation.
Classes for WAKE stream cipher.
#define CRYPTOPP_UNUSED(x)
void GenKey(word32 k0, word32 k1, word32 k2, word32 k3)
KeystreamOperation
Keystream operation flags.
SymmetricCipher implementation.
Interface for retrieving values given their names.