UpdateAdata

nn::crypto::AuthenticatedEncryptor::UpdateAdata Member Function

Syntax

virtual void UpdateAdata(
     const void * pSrc,
     size_t size
) = 0;

Parameters

Name Description
in pSrc Pointer to the buffer storing the Adata.
in size Adata size in bytes.

Return Values

None.

Description

Specifies the Adata.

The Adata is data for MAC but not for encryption.

You can call this function multiple times before calling the UpdateAdataFinal function. However, input data is all handled as a single consolidation, so note that the order of input is significant.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL