MD5HashBlock Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
MD5HashBlock Function
C
static void MD5HashBlock(
    BYTE* data, 
    DWORD* h0, 
    DWORD* h1, 
    DWORD* h2, 
    DWORD* h3
);
Description

This function calculates the MD5 hash sum over a block and updates the values of h0-h3 with the next context.

Preconditions

The data pointer must be WORD aligned on 16-bit parts and DWORD aligned on 32-bit PICs. If alignment is not correct, a memory alignment exception will occur.

Parameters
Parameters 
Description 
data 
The block of 64 bytes to hash 
h0 
the current hash context h0 value 
h1 
the current hash context h1 value 
h2 
the current hash context h2 value 
h3 
the current hash context h3 value 
Returns

None

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