Snmpv3ComputeHmacMD5Digest Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
Snmpv3ComputeHmacMD5Digest Function
C
UINT8* Snmpv3ComputeHmacMD5Digest(
    UINT8 * inData, 
    UINT32 dataLen, 
    UINT8* userExtendedLclzdKeyIpad, 
    UINT8* userExtendedLclzdKeyOpad
);
Description

This routine supports data origin authentication and data integrity MD5 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 MD5 digest string 
Remarks

None

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.