C
void Snmpv3ComputeShaHmacCode( UINT8 xx_bits, UINT8* digestptr, 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 |
xx_bits |
96 bit |
digestptr |
output string |
indata |
input data |
dataLen |
input data length |
userExtendedLclzdKeyIpad |
IPAD |
userExtendedLclzdKeyOpad |
OPAD |
Remarks
None