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 name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>MATHSHA1Context</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">MATHSHA1Context <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1>
15<H2>Syntax</H2>
16
17<dl>
18  <dd>
19<PRE>
20<CODE>#include &lt;nitro/math/dgt.h&gt;<BR>
21typedef struct MATHSHA1Context MATHSHA1Context;
22</CODE></PRE>
23  </dd>
24</dl>
25<H2>Elements</H2>
26<P>Do not access the elements of this structure directly.</P>
27<H2>Description</H2>
28<P>This is the context structure used in calculating SHA-1. Its size is 104 bytes. Initialize it using the <CODE><A href="MATH_SHA1Init.html">MATH_SHA1Init</A></CODE> function, provide the input data with the <CODE><A href="MATH_SHA1Update.html">MATH_SHA1Update</A></CODE> function, and get the message digest value with the <CODE><A href="MATH_SHA1GetHash.html">MATH_SHA1GetHash</A></CODE> function. SHA-1 is an algorithm to find the message digest value. For details, see RFC (Request For Comments) 3174, which is published by IETF (The Internet Engineering Task Force).
29</P>
30
31<h2>See Also</h2>
32<P><a href="MATH_SHA1Init.html"><code>MATH_SHA1Init</code></a>, <a href="MATH_SHA1Update.html"><code>MATH_SHA1Update</code></a>, <a href="MATH_SHA1GetHash.html"><code>MATH_SHA1GetHash</code></a></P>
33<H2>Revision History</H2>
34<P>
352005/04/12 Added description of size.<br />2005/04/01 Initial version.
36</P>
37<hr><p>CONFIDENTIAL</p></body>
38</html>
39