CRC2 Class Reference
class CRC2 : public CBlockTransformation |
Abstract base class for RC2 encipherment.
Constructor & Destructor Documentation
Member Functions Documentation
BlockSize()
TInt
| BlockSize | ( | ) | const [virtual] |
Gets the block size in bytes.
KeySize()
TInt
| KeySize | ( | ) | const [virtual] |
Gets the key size in bits.
Reset()
Resets the transformation back to its original state. Clears all its buffers.
SetKey(const TDesC8 &, TInt)
void | SetKey | ( | const TDesC8 & | aKey, |
| TInt | aEffectiveKeyLenBits |
| ) | [protected, virtual] |
Member Data Documentation
TInt
iEffectiveKeyLenBits
TInt
| iEffectiveKeyLenBits | [protected] |
The effective key length in bits
TUint16
iK
The expanded key buffer.
Each iK[i] is a 16-bit word.
TBuf8< KRC2MaxKeySizeBytes > iKey
The input key
The key length must fall between 1 and KRC2MaxKeySizeBytes (=128) bytes inclusive.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.