UpdateAdata

nn::crypto::AuthenticatedDecryptor::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 after consolidating, the data must be the same sequence as at time of encryption.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL