UpdateCdata

nn::crypto::CcmDecryptor::UpdateCdata Member Function

Syntax

virtual size_t UpdateCdata(
     void * pDst,
     size_t dstSize,
     const void * pSrc,
     size_t srcSize
);

Parameters

Name Description
out pDst Pointer to the buffer storing the decryption results.
in dstSize Size of the buffer specified by pDst.
in pSrc Pointer to the buffer storing the Cdata.
in srcSize Cdata size in bytes.

Return Values

Returns the number of bytes written to pDst.

Description

Specifies the Cdata and gets the decryption result.

See the AuthenticatedDecryptor::UpdateCdata function for details.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL