Start authenticated encryption (in incremental mode).
Public Declare Function AEAD_StartEncrypt Lib "diCryptoSys.dll" (ByVal hContext As Long) As Long
nRet = AEAD_StartEncrypt(hContext)
long __stdcall AEAD_StartEncrypt(long hContext);
AEAD_InitKey
.If successful, the return value is zero; otherwise it returns a nonnegative error code.
May be followed by zero or more calls to AEAD_Update
to encrypt data in chunks.
Must eventually be followed by
AEAD_FinishEncrypt
.
Returns MISUSE_ERROR
if called out of sequence.
See the example in AEAD_InitKey
.