nn::crypto::AuthenticatedEncryptor

nn::crypto::AuthenticatedEncryptor Class

Syntax

class AuthenticatedEncryptor : public nn::crypto::CipherMode

Description

Base class for classes that encrypt with MAC.

Base class for classes encrypting a plaintext in a cipher mode with MAC and generating an MAC.

This class contains pure virtual functions and so cannot be instantiated. Use instances of derived classes such as CcmEncryptor instead.

Member Functions

PV GetMacSize Gets the MAC size.
PV UpdateAdata Specifies the Adata.
PV UpdateAdataFinal Finalizes Adata specification.
PV UpdatePdata Specifies the Pdata and gets the encryption result.
PV UpdatePdataFinal Finalizes Pdata specification.
PV GenerateMac Generates an MAC.

Class Hierarchy

nn::crypto::CipherMode
  nn::crypto::AuthenticatedEncryptor

Revision History

2011/10/27
Initial version.

CONFIDENTIAL