SHA1Calculate Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
SHA1Calculate Function
C
void SHA1Calculate(
    HASH_SUM* theSum, 
    BYTE* result
);
Description

This function calculates the hash sum of all input data so far. It is non-destructive to the hash context, so more data may be added after this function is called.

Preconditions

The hash context has been properly initialized.

Parameters
Parameters 
Description 
theSum 
the current hash context 
result 
20 byte array in which to store the resulting hash 
Returns

None

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