UpdatePdata

nn::crypto::CcmEncryptor::UpdatePdata Member Function

Syntax

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

Parameters

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

Return Values

Returns the number of bytes written to pDst.

Description

Specifies the Pdata and gets the encryption result.

See the AuthenticatedEncryptor::UpdatePdata function for details.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL