Closes the GCM context and destroys the key.
Public Declare Function GCM_FinishKey Lib "diCryptoSys.dll" (ByVal hContext As Long) As Long
nRet = GCM_FinishKey(hContext)
long __stdcall GCM_FinishKey(long hContext);
If successful, the return value is 0; otherwise it returns a non-zero error code.
See the examples in
GCM_InitKey
and
GCM_NextEncrypt
.
GCM_InitKey
GCM_NextEncrypt
GCM_NextDecrypt