Snmpv3ComputeHmacShaDigest Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
Snmpv3ComputeHmacShaDigest Function
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

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