| ePass1000 C/C++ API Reference Manual Version 2.0 |
The MD5_HMAC function performs the MD5 HMAC translate.
unsigned char* __stdcall
MD5_HMAC(
unsigned char* pucText, // [in]
unsigned long ulText_Len, // [in]
unsigned char* pucKey, // [in]
unsigned long ulKey_Len, // [in]
unsigned char* pucKey1, // [in]
unsigned char* pucKey2, // [in]
unsigned char* pucDigest // [out]
);
HMAC-MD5 algorithm is defined in RFC-2085, you may found this document on http://www.rfc-editor.org/rfc/rfc2085.txt.
This function returns a pointer to the digest buffer.