nn::crypto::AuthenticatedDecryptor

nn::crypto::AuthenticatedDecryptor Class

Syntax

class AuthenticatedDecryptor : public nn::crypto::CipherMode

Description

Base class for classes that decrypt ciphertexts with MAC and verify them.

Base class for classes encrypting a ciphertext encrypted in a cipher mode with MAC and then verifying the MAC.

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

Member Functions

PV GetMacSize Gets the MAC size.
PV UpdateAdata Specifies the Adata.
PV UpdateAdataFinal Finalizes Adata specification.
PV UpdateCdata Specifies the Cdata and gets the decryption result.
PV UpdateCdataFinal Finalizes Cdata specification.
PV GenerateMac Generates an MAC.

Class Hierarchy

nn::crypto::CipherMode
  nn::crypto::AuthenticatedDecryptor

Revision History

2011/10/27
Initial version.

CONFIDENTIAL