CalculateFinishedHash Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
CalculateFinishedHash Function
C
static void CalculateFinishedHash(
    BYTE hashID, 
    BOOL fromClient, 
    BYTE * result
);
Description

Calculates the handshake hash over the data. hashID can be either MD5 or SHA-1, and this function will calculate accordingly.

Preconditions

hashID has all handshake data hashed so far and the current session is synced in.

Parameters
Parameters 
Description 
hashID 
the hash sum to use 
fromClient 
TRUE if client is sender 
result 
where to store results 
Returns

None

Side Effects

None

Remarks

None

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