Encrypts or decrypts a chunk of input (in incremental mode).
Public Declare Function AEAD_Update Lib "diCryptoSys.dll" (ByVal hContext As Long, ByRef lpOutput As Byte, ByVal nOutLen As Long, ByRef lpData As Byte, ByVal nDataLen As Long) As Long
nRet = AEAD_Update(hContext, lpOutput(0), nOutLen, abData(0), nDataLen)
long __stdcall AEAD_Update(long hContext, unsigned char *lpOutput, long nOutLen, const unsigned char *lpData, long nDataLen);
AEAD_InitKey.If successful, the return value is zero; otherwise it returns a nonnegative error code.
This function may be repeated to add input data in chunks.
The input data is encrypted or decrypted depending on the start mode set by a preceding call to
AEAD_StartEncrypt or
AEAD_StartDecrypt, respectively.
It must eventually be followed by either
AEAD_FinishEncrypt or
AEAD_FinishDecrypt,
which must match the start mode.
Returns MISUSE_ERROR if called out of sequence.
See the example in AEAD_InitKey.