1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META http-equiv="Content-Style-Type" content="text/css">
7<title>NETMD5Update</title>
8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
9</head>
10
11<body>
12
13<h1 align="left">NETMD5Update</h1>
14<h2>C Specification</h2>
15
16<dl>
17  <dd>
18<PRE><CODE>#include &lt;revolution/net.h&gt;
19
20void NETMD5Update( <A href="NETMD5Context.html">NETMD5Context</A> *context, const void* input, u32 length );
21</CODE></PRE>
22  </dd>
23</dl><h2>Arguments</h2>
24
25<table border="1" width="100%">
26    <TR>
27<TD width="176"><em><strong><font face="Courier New">context</font></strong></em></TD>
28<TD width="670">Pointer to the context structure used for MD5 generation.</TD>
29    </TR>
30    <TR>
31<TD width="176"><em><strong><font face="Courier New">input</font></strong></em></TD>
32<TD width="670">Pointer to the input data.</TD>
33    </TR>
34    <TR>
35<TD width="176"><em><strong><font face="Courier New">length</font></strong></em></TD>
36<TD width="670">Size of the input data.</TD>
37    </TR>
38  </table>
39<h2>Return Values</h2>
40<p>None.</p>
41<H2>Description</H2>
42<P>This function updates the MD5 digest value based on the input data. You must first call the <CODE><A href="NETMD5Init.html">NETMD5Init</A></CODE> function to initialize the &quot;context&quot; argument. Call this function as many times as needed, and then use <CODE><A href="NETMD5GetDigest.html">NETMD5GetDigest</A></CODE> to obtain the hash value.</p>
43<p>Any size and alignment position can be used for the input data.</p>
44<p>
45For details, see the MD5 section of the <a href="hash_overview.html">hash algorithm</a>.
46</P>
47<h2>See Also</h2>
48<P><CODE><A href="NETMD5Init.html">NETMD5Init</A></CODE>, <CODE><A href="NETMD5GetDigest.html">NETMD5GetDigest</A></CODE></P>
49<H2>Revision History</H2>
50<P>
512007/02/15 Corrected incorrect links.<BR> 2006/09/01 Initial version.<BR>
52</P>
53<hr><p>CONFIDENTIAL</p></body>
54</html>
55