CBlockTransformation Class Reference

class CBlockTransformation : public CBase

Abstract base class defining the interface to block transformation schemes.

Block transformation schemes process a fixed-size block of input to return a block of output the same size.

Inherits from

Member Functions Documentation

BlockSize()

TInt BlockSize ( ) const [pure virtual]

Gets the block size in bytes.

GetExtension(TUint, TAny *&, TAny *)

TInt GetExtension ( TUint aExtensionId,
TAny *& a0,
TAny * a1
)

Used to retrieve the extended interfaces by id. For Crypto SPI internal use only.

Parameters

TUint aExtensionId
TAny *& a0
TAny * a1

KeySize()

TInt KeySize ( ) const [pure virtual]

Gets the key size in bits.

Reset()

void Reset ( ) [pure virtual]

Resets the transformation back to its original state. Clears all its buffers.

Transform(TDes8 &)

void Transform ( TDes8 & aBlock ) [pure virtual]

Transforms the supplied block, returning the new value using the same parameter. aBlock.Size() must be the same length as BlockSize() .

Parameters

TDes8 & aBlock On input, the data to be transformed; on return, the data after transformation.