Snmpv3ComputeMd5HmacCode Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
Snmpv3ComputeMd5HmacCode Function
C
void Snmpv3ComputeMd5HmacCode(
    UINT8 xx_bits, 
    UINT8* digestptr, 
    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 
xx_bits 
96 bit 
digestptr 
output string 
indata 
input data 
dataLen 
input data length 
userExtendedLclzdKeyIpad 
IPAD 
userExtendedLclzdKeyOpad 
OPAD 
Remarks

None

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