C
UINT8* Snmpv3ComputeHmacShaDigest( UINT8 * inData, UINT32 dataLen, UINT8* userExtendedLclzdKeyIpad, UINT8* userExtendedLclzdKeyOpad );
Description
This routine supports data origin authentication and data integrity SHA authentication . Both iPAD and OPAD is used to calculate the authencate digest string. RFC - 3414 ( section 6)
Preconditions
SNMPv3Init() and ProcessVariabels() are called.
Parameters
Parameters |
Description |
digestptr |
output string |
indata |
input data |
dataLen |
input data length |
userExtendedLclzdKeyIpad |
IPAD |
userExtendedLclzdKeyOpad |
OPAD |
Return Values
Return Values |
Description |
UINT8 * |
HMAC SHA digest string |
Remarks
None