CRijndael Class Reference
class CRijndael : public CBlockTransformation
|
Abstract base class for Rijndael, implementing the parts of Rijndael common to both Rijndael encryption and decryption.
Constructor & Destructor Documentation
CRijndael(void)
IMPORT_C
|
CRijndael
|
(
|
void
|
|
)
|
[protected]
|
CRijndael(const CRijndael &)
~CRijndael(void)
IMPORT_C
|
~CRijndael
|
(
|
void
|
|
)
|
[virtual]
|
The destructor frees all resources owned by the object, prior to its destruction.
Member Functions Documentation
ConstructL(const TDesC8 &)
void
|
ConstructL
|
(
|
const
TDesC8
&
|
aKey
|
)
|
[protected, virtual]
|
KeySize(void)
TInt
|
KeySize
|
(
|
void
|
|
)
|
const [virtual]
|
Gets the key size in bits.
Reset(void)
void
|
Reset
|
(
|
void
|
|
)
|
[virtual]
|
Resets the transformation back to its original state. Clears all its buffers.
SetKey(const TDesC8 &)
void
|
SetKey
|
(
|
const
TDesC8
&
|
aKey
|
)
|
[protected, virtual]
|
operator=(const CRijndael &)
Member Data Documentation
TUint32
iK
The key schedule
The maximum size is (((KAESMaxBlockSize/4)+6)+1)*4
HBufC8 * iKey
The input key
The key length (in bytes) must be one of the following:
-
KAESKeySize128 (=16)
-
KAESKeySize192 (=24)
-
KAESKeySize256 (=32).
TUint
iRounds
TUint
|
iRounds
|
[protected]
|
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.