Update

nn::crypto::CtrEncryptor::Update Member Function

Syntax

virtual size_t Update(
     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 plaintext.
in srcSize Plaintext size in bytes.

Return Values

Returns the number of bytes written to pDst.

Description

Encrypts.

See the Encryptor::Update function for details.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL