nn::crypto::AuthenticatedEncryptor::UpdateAdata Member Function
virtual void UpdateAdata(
const void * pSrc,
size_t size
) = 0;
| Name | Description | |
|---|---|---|
| in | pSrc | Pointer to the buffer storing the Adata. |
| in | size | Adata size in bytes. |
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.
CONFIDENTIAL