group___hash_primitives.html 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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.11"/>
  8. <title>Intel&reg; 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. $(document).ready(initResizable);
  18. $(window).load(resizeHeight);
  19. </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&reg; Enhanced Privacy ID SDK</a>
  35. &#160;<span id="projectnumber">3.0.0</span>
  36. </div>
  37. </td>
  38. </tr>
  39. </tbody>
  40. </table>
  41. </div>
  42. <!-- end header part -->
  43. <!-- Generated by Doxygen 1.8.11 -->
  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. $(document).ready(function(){initNavTree('group___hash_primitives.html','');});
  57. </script>
  58. <div id="doc-content">
  59. <div class="header">
  60. <div class="summary">
  61. <a href="#nested-classes">Data Structures</a> &#124;
  62. <a href="#func-members">Functions</a> </div>
  63. <div class="headertitle">
  64. <div class="title">hash<div class="ingroups"><a class="el" href="group___epid_module.html">epid</a> &raquo; <a class="el" href="group___epid_common.html">common</a> &raquo; <a class="el" href="group___epid_math.html">math</a></div></div> </div>
  65. </div><!--header-->
  66. <div class="contents">
  67. <p>Hash primitives.
  68. <a href="#details">More...</a></p>
  69. <table class="memberdecls">
  70. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  71. Data Structures</h2></td></tr>
  72. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_sha256_digest.html">Sha256Digest</a></td></tr>
  73. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHA256 digest. <a href="struct_sha256_digest.html#details">More...</a><br /></td></tr>
  74. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  75. </table><table class="memberdecls">
  76. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  77. Functions</h2></td></tr>
  78. <tr class="memitem:ga86d62aac9efd7445acee311b41846c6c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___error_codes.html#gafdb27c77c2c4b32c807e326a8a0da360">EpidStatus</a>&#160;</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>
  79. <tr class="memdesc:ga86d62aac9efd7445acee311b41846c6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes SHA256 digest of a message. <a href="#ga86d62aac9efd7445acee311b41846c6c">More...</a><br /></td></tr>
  80. <tr class="separator:ga86d62aac9efd7445acee311b41846c6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. </table>
  82. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  83. <p>Hash primitives. </p>
  84. <p>Provides APIs for computing digests of messages. </p>
  85. <h2 class="groupheader">Function Documentation</h2>
  86. <a class="anchor" id="ga86d62aac9efd7445acee311b41846c6c"></a>
  87. <div class="memitem">
  88. <div class="memproto">
  89. <table class="memname">
  90. <tr>
  91. <td class="memname"><a class="el" href="group___error_codes.html#gafdb27c77c2c4b32c807e326a8a0da360">EpidStatus</a> Sha256MessageDigest </td>
  92. <td>(</td>
  93. <td class="paramtype">void const *&#160;</td>
  94. <td class="paramname"><em>msg</em>, </td>
  95. </tr>
  96. <tr>
  97. <td class="paramkey"></td>
  98. <td></td>
  99. <td class="paramtype">size_t&#160;</td>
  100. <td class="paramname"><em>len</em>, </td>
  101. </tr>
  102. <tr>
  103. <td class="paramkey"></td>
  104. <td></td>
  105. <td class="paramtype"><a class="el" href="struct_sha256_digest.html">Sha256Digest</a> *&#160;</td>
  106. <td class="paramname"><em>digest</em>&#160;</td>
  107. </tr>
  108. <tr>
  109. <td></td>
  110. <td>)</td>
  111. <td></td><td></td>
  112. </tr>
  113. </table>
  114. </div><div class="memdoc">
  115. <p>Computes SHA256 digest of a message. </p>
  116. <dl class="params"><dt>Parameters</dt><dd>
  117. <table class="params">
  118. <tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>Message to compute digest for. </td></tr>
  119. <tr><td class="paramdir">[in]</td><td class="paramname">len</td><td>The size of msg in bytes. </td></tr>
  120. <tr><td class="paramdir">[out]</td><td class="paramname">digest</td><td>The resulting message digest.</td></tr>
  121. </table>
  122. </dd>
  123. </dl>
  124. <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>
  125. </div>
  126. </div>
  127. </div><!-- contents -->
  128. </div><!-- doc-content -->
  129. <!-- HTML footer for doxygen 1.8.10-->
  130. <!-- start footer part -->
  131. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  132. <ul>
  133. <li class="footer">
  134. &copy; 2016 Intel Corporation
  135. </li>
  136. </ul>
  137. </div>
  138. </body>
  139. </html>