1<!-- HTML header for doxygen 1.8.10--> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3<html xmlns="http://www.w3.org/1999/xhtml"> 4<head> 5<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 6<meta http-equiv="X-UA-Compatible" content="IE=9"/> 7<meta name="generator" content="Doxygen 1.8.14"/> 8<title>Intel® Enhanced Privacy ID SDK: hash</title> 9<link href="tabs.css" rel="stylesheet" type="text/css"/> 10<script type="text/javascript" src="jquery.js"></script> 11<script type="text/javascript" src="dynsections.js"></script> 12<link href="navtree.css" rel="stylesheet" type="text/css"/> 13<script type="text/javascript" src="resize.js"></script> 14<script type="text/javascript" src="navtreedata.js"></script> 15<script type="text/javascript" src="navtree.js"></script> 16<script type="text/javascript"> 17/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ 18 $(document).ready(initResizable); 19/* @license-end */</script> 20<link href="doxygen.css" rel="stylesheet" type="text/css" /> 21<link href="epidstyle.css" rel="stylesheet" type="text/css"/> 22</head> 23<body> 24<div id="top"><!-- do not remove this div, it is closed by doxygen! --> 25<div id="titlearea"> 26<table cellspacing="0" cellpadding="0"> 27 <tbody> 28 <tr style="height: 56px;"> 29 <td id="projectalign" style="padding-left: 0.5em;"> 30 <div id="projectname"><a 31 onclick="storeLink('index.html')" 32 id="projectlink" 33 class="index.html" 34 href="index.html">Intel® Enhanced Privacy ID SDK</a> 35 <span id="projectnumber">6.0.1</span> 36</div> 37 </td> 38 </tr> 39 </tbody> 40</table> 41</div> 42<!-- end header part --> 43<!-- Generated by Doxygen 1.8.14 --> 44</div><!-- top --> 45<div id="side-nav" class="ui-resizable side-nav-resizable"> 46 <div id="nav-tree"> 47 <div id="nav-tree-contents"> 48 <div id="nav-sync" class="sync"></div> 49 </div> 50 </div> 51 <div id="splitbar" style="-moz-user-select:none;" 52 class="ui-resizable-handle"> 53 </div> 54</div> 55<script type="text/javascript"> 56/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ 57$(document).ready(function(){initNavTree('group___hash_primitives.html','');}); 58/* @license-end */ 59</script> 60<div id="doc-content"> 61<div class="header"> 62 <div class="summary"> 63<a href="#nested-classes">Data Structures</a> | 64<a href="#func-members">Functions</a> </div> 65 <div class="headertitle"> 66<div class="title">hash<div class="ingroups"><a class="el" href="group___epid_module.html">epid&nbsp;</a> » <a class="el" href="group___epid_common.html">common</a> » <a class="el" href="group___epid_math.html">math</a></div></div> </div> 67</div><!--header--> 68<div class="contents"> 69 70<p>Hash primitives. 71<a href="#details">More...</a></p> 72<table class="memberdecls"> 73<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> 74Data Structures</h2></td></tr> 75<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_sha256_digest.html">Sha256Digest</a></td></tr> 76<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">SHA256 digest. <a href="struct_sha256_digest.html#details">More...</a><br /></td></tr> 77<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> 78</table><table class="memberdecls"> 79<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> 80Functions</h2></td></tr> 81<tr class="memitem:ga86d62aac9efd7445acee311b41846c6c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___error_codes.html#gafdb27c77c2c4b32c807e326a8a0da360">EpidStatus</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___hash_primitives.html#ga86d62aac9efd7445acee311b41846c6c">Sha256MessageDigest</a> (void const *msg, size_t len, <a class="el" href="struct_sha256_digest.html">Sha256Digest</a> *digest)</td></tr> 82<tr class="memdesc:ga86d62aac9efd7445acee311b41846c6c"><td class="mdescLeft"> </td><td class="mdescRight">Computes SHA256 digest of a message. <a href="#ga86d62aac9efd7445acee311b41846c6c">More...</a><br /></td></tr> 83<tr class="separator:ga86d62aac9efd7445acee311b41846c6c"><td class="memSeparator" colspan="2"> </td></tr> 84</table> 85<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> 86<p>Hash primitives. </p> 87<p>Provides APIs for computing digests of messages. </p> 88<h2 class="groupheader">Function Documentation</h2> 89<a id="ga86d62aac9efd7445acee311b41846c6c"></a> 90<h2 class="memtitle"><span class="permalink"><a href="#ga86d62aac9efd7445acee311b41846c6c">◆ </a></span>Sha256MessageDigest()</h2> 91 92<div class="memitem"> 93<div class="memproto"> 94 <table class="memname"> 95 <tr> 96 <td class="memname"><a class="el" href="group___error_codes.html#gafdb27c77c2c4b32c807e326a8a0da360">EpidStatus</a> Sha256MessageDigest </td> 97 <td>(</td> 98 <td class="paramtype">void const * </td> 99 <td class="paramname"><em>msg</em>, </td> 100 </tr> 101 <tr> 102 <td class="paramkey"></td> 103 <td></td> 104 <td class="paramtype">size_t </td> 105 <td class="paramname"><em>len</em>, </td> 106 </tr> 107 <tr> 108 <td class="paramkey"></td> 109 <td></td> 110 <td class="paramtype"><a class="el" href="struct_sha256_digest.html">Sha256Digest</a> * </td> 111 <td class="paramname"><em>digest</em> </td> 112 </tr> 113 <tr> 114 <td></td> 115 <td>)</td> 116 <td></td><td></td> 117 </tr> 118 </table> 119</div><div class="memdoc"> 120 121<p>Computes SHA256 digest of a message. </p> 122<dl class="params"><dt>Parameters</dt><dd> 123 <table class="params"> 124 <tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>Message to compute digest for. </td></tr> 125 <tr><td class="paramdir">[in]</td><td class="paramname">len</td><td>The size of msg in bytes. </td></tr> 126 <tr><td class="paramdir">[out]</td><td class="paramname">digest</td><td>The resulting message digest.</td></tr> 127 </table> 128 </dd> 129</dl> 130<dl class="section return"><dt>Returns</dt><dd><a class="el" href="group___error_codes.html#gafdb27c77c2c4b32c807e326a8a0da360" title="Return status for SDK functions. ">EpidStatus</a> </dd></dl> 131 132</div> 133</div> 134</div><!-- contents --> 135</div><!-- doc-content --> 136<!-- HTML footer for doxygen 1.8.10--> 137<!-- start footer part --> 138<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> 139 <ul> 140 <li class="footer"> 141 © 2016-2017 Intel Corporation 142 </li> 143 </ul> 144</div> 145</body> 146</html> 147