CryptoSys API Library Manual

aeadAddAAD

Add a chunk of additional authenticated data (in incremental mode).

Syntax

[VBA]
Public Function aeadAddAAD ( _
    hContext As Long, _
    lpAAD() As Byte _
) As Long

Parameters

hContext
Handle to the AEAD context set up by an earlier call to aeadInitKey.
lpAAD
Chunk of Additional Authenticated Data (AAD) to add.

Return Value

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

Remarks

May be repeated to add additional data in chunks. Must eventually be followed by either aeadStartEncrypt or aeadStartDecrypt. Returns MISUSE_ERROR if called out of sequence.
[PREV: VBA Wrapper Function List...]   [Contents]   [Index]   
   [NEXT: aeadDecryptWithTag...]

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