CryptoSys API Library Manual

aeadStartDecrypt

Start authenticated decryption (in incremental mode).

Syntax

[VBA]
Public Function aeadStartDecrypt ( _
    hContext As Long, _
    lpTagToCheck() As Byte _
) As Long

Parameters

hContext
Handle to the AEAD context set up by an earlier call to aeadInitKey.
lpTagToCheck
Byte array containing the tag to be checked.

Return Value

Long: Zero (0) on success, or a nonzero error code (use apiErrorLookup to check).

Remarks

May be followed by zero or more calls to aeadUpdate to decrypt data in chunks. Must eventually be followed by aeadFinishDecrypt. Returns MISUSE_ERROR if called out of sequence. Caution: do not trust decrypted data until final authentication.
[PREV: aeadSetNonce...]   [Contents]   [Index]   
   [NEXT: aeadStartEncrypt...]

Copyright © 2001-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-01-07T07:42:00Z.