Returns the final message digest value from the MAC context.
Public Declare Function MAC_Final Lib "diCryptoSys.dll" (ByRef lpOutput As Byte, ByVal nOutLen As Long, ByVal hContext As Long) As Long
nRet = MAC_Final(lpOutput(0), nOutLen, hContext)
long __stdcall MAC_Final(unsigned char *lpOutput, long nOutLen, long hContext);
If successful, the return value is the number of bytes in the output array; otherwise it returns a negative error code.
Public Function macFinal
(hContext As Long) As Byte()
bvec_t crsysapi::Mac::Final ()
Computes the result of all MAC_AddBytes
calls since MAC_Init
.
Once called, the context is destroyed.
See MAC_AddBytes
.