1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META http-equiv="Content-Style-Type" content="text/css"> 6<title>NETSHA256Context</title> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8</head> 9 10<body> 11 12<h1 align="left">NETSHA256Context</h1> 13<h2>Syntax</h2> 14 15<dl> 16 <dd> 17<PRE> 18<CODE>#include <revolution/net.h><BR> 19typedef struct NETSHA256Context NETSHA256Context; 20</CODE></PRE> 21 </dd> 22</dl> 23<H2>Elements</H2> 24<P>Do not access the inside of this structure directly.</P> 25<H2>Description</H2> 26<P>This is the context structure used for SHA256 calculations. Its size is 108 bytes. Initialize this with the <A href="NETSHA256Init.html"><CODE>NETSHA256Init</CODE></A> function, provide input data with the <A href="NETSHA256Update.html"><CODE>NETSHA256Update</CODE></A> function, and get the message digest value with the <A href="NETSHA256GetDigest.html"><CODE>NETSHA256GetDigest</CODE></A> function.<BR> <BR>For details, see <a href="hash_overview.html">hash algorithm</a>.<BR> 27</P> 28 29<h2>See Also</h2> 30<P><CODE><A href="NETSHA256Init.html">NETSHA256Init</A><BR><A href="NETSHA256Update.html">NETSHA256Update</A><BR><A href="NETSHA256GetDigest.html">NETSHA256GetDigest</A></CODE></P> 31<H2>Revision History</H2> 32<P> 332008/05/07 Initial version.<br> 34</P> 35<hr><p>CONFIDENTIAL</p></body> 36</html> 37