Crypto++
Public Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
CAST256::Base Class Reference
Inheritance diagram for CAST256::Base:
CAST BlockCipherImpl< CAST256_Info >

List of all members.

Public Member Functions

void UncheckedSetKey (const byte *userKey, unsigned int length, const NameValuePairs &params)
void ProcessAndXorBlock (const byte *inBlock, const byte *xorBlock, byte *outBlock) const
unsigned int BlockSize () const

Static Protected Member Functions

static void Omega (int i, word32 kappa[8])

Protected Attributes

FixedSizeSecBlock< word32, 8 *12 > K

Static Protected Attributes

static const word32 t_m [8][24]
static const unsigned int t_r [8][24]
static const word32 S [8][256]

Member Data Documentation

const unsigned int CAST256::Base::t_r [static, protected]
Initial value:
{ 
        {19, 27, 3, 11, 19, 27, 3, 11, 19, 27, 3, 11, 19, 27, 3, 11, 19, 27, 3, 11, 19, 27, 3, 11}, 
        {4, 12, 20, 28, 4, 12, 20, 28, 4, 12, 20, 28, 4, 12, 20, 28, 4, 12, 20, 28, 4, 12, 20, 28}, 
        {21, 29, 5, 13, 21, 29, 5, 13, 21, 29, 5, 13, 21, 29, 5, 13, 21, 29, 5, 13, 21, 29, 5, 13}, 
        {6, 14, 22, 30, 6, 14, 22, 30, 6, 14, 22, 30, 6, 14, 22, 30, 6, 14, 22, 30, 6, 14, 22, 30}, 
        {23, 31, 7, 15, 23, 31, 7, 15, 23, 31, 7, 15, 23, 31, 7, 15, 23, 31, 7, 15, 23, 31, 7, 15}, 
        {8, 16, 24, 0, 8, 16, 24, 0, 8, 16, 24, 0, 8, 16, 24, 0, 8, 16, 24, 0, 8, 16, 24, 0}, 
        {25, 1, 9, 17, 25, 1, 9, 17, 25, 1, 9, 17, 25, 1, 9, 17, 25, 1, 9, 17, 25, 1, 9, 17}, 
        {10, 18, 26, 2, 10, 18, 26, 2, 10, 18, 26, 2, 10, 18, 26, 2, 10, 18, 26, 2, 10, 18, 26, 2}
}

Definition at line 71 of file cast.h.


The documentation for this class was generated from the following files: