CryptoSys API Library Manual

aeadSetNonce

Set the nonce for the AEAD context (in incremental mode).

Syntax

[VBA]
Public Function aeadSetNonce ( _
    hContext As Long, _
    lpNonce() As Byte _
) As Long

Parameters

hContext
Handle to the AEAD context set up by an earlier call to aeadInitKey.
lpNonce
Nonce of exact length required for given algorithm (currently always 12 bytes).

Return Value

Long: Zero (0) on success, or a nonzero error code (use apiErrorLookup to check).
[PREV: aeadInitKey...]   [Contents]   [Index]   
   [NEXT: aeadStartDecrypt...]

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