CryptoSpi::MSymmetricCipher Class Reference

class CryptoSpi::MSymmetricCipher : public CryptoSpi::MSymmetricCipherBase

Inherits from

Member Functions Documentation

ProcessFinalL(const TDesC8 &, TDes8 &)

voidProcessFinalL(const TDesC8 &aInput,
TDes8 &aOutput
)[pure virtual]
Pads aInput to be block aligned using the underlying padding system, then encrypts or decrypts the input data, and appends the result to aOutput
leave
... Any of the crypto error codes defined in cryptospi_errs.h or any of the system-wide error codes.

Parameters

const TDesC8 & aInputThe input buffer to be encrypted or decrypted.
TDes8 & aOutputThe resulting, padded, processed data is appended to aOutput.

ProcessL(const TDesC8 &, TDes8 &)

voidProcessL(const TDesC8 &aInput,
TDes8 &aOutput
)[pure virtual]
Encrypts or decrypts aInput and appends the result to aOutput.
leave
... Any of the crypto error codes defined in cryptospi_errs.h or any of the system-wide error codes.

Parameters

const TDesC8 & aInputThe input data to be processed.
TDes8 & aOutputThe resulting processed data appended to aOutput.