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