123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- <!-- HTML header for doxygen 1.8.10-->
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <meta name="generator" content="Doxygen 1.8.11"/>
- <title>Intel® Enhanced Privacy ID SDK: epid/member/context.h File Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <link href="navtree.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="resize.js"></script>
- <script type="text/javascript" src="navtreedata.js"></script>
- <script type="text/javascript" src="navtree.js"></script>
- <script type="text/javascript">
- $(document).ready(initResizable);
- $(window).load(resizeHeight);
- </script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- <link href="epidstyle.css" rel="stylesheet" type="text/css"/>
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname"><a
- onclick="storeLink('index.html')"
- id="projectlink"
- class="index.html"
- href="index.html">Intel® Enhanced Privacy ID SDK</a>
-  <span id="projectnumber">2.0.0</span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.11 -->
- </div><!-- top -->
- <div id="side-nav" class="ui-resizable side-nav-resizable">
- <div id="nav-tree">
- <div id="nav-tree-contents">
- <div id="nav-sync" class="sync"></div>
- </div>
- </div>
- <div id="splitbar" style="-moz-user-select:none;"
- class="ui-resizable-handle">
- </div>
- </div>
- <script type="text/javascript">
- $(document).ready(function(){initNavTree('member_2context_8h.html','');});
- </script>
- <div id="doc-content">
- <div class="header">
- <div class="summary">
- <a href="#nested-classes">Data Structures</a> |
- <a href="#func-members">Functions</a> </div>
- <div class="headertitle">
- <div class="title">context.h File Reference</div> </div>
- </div><!--header-->
- <div class="contents">
- <p>Member context interface.
- <a href="#details">More...</a></p>
- <div class="textblock"><code>#include <stddef.h></code><br />
- <code>#include "<a class="el" href="member_2api_8h.html">epid/member/api.h</a>"</code><br />
- <code>#include "<a class="el" href="errors_8h.html">epid/common/errors.h</a>"</code><br />
- <code>#include "<a class="el" href="epid2params_8h.html">epid/common/epid2params.h</a>"</code><br />
- <code>#include "<a class="el" href="grouppubkey_8h.html">epid/common/grouppubkey.h</a>"</code><br />
- <code>#include "<a class="el" href="stack_8h.html">epid/common/stack.h</a>"</code><br />
- <code>#include "<a class="el" href="commitment_8h.html">epid/common/commitment.h</a>"</code><br />
- <code>#include "<a class="el" href="privkey_8h.html">epid/member/privkey.h</a>"</code><br />
- </div><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
- Data Structures</h2></td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_allowed_basename.html">AllowedBasename</a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Internal implementation of base name. <a href="struct_allowed_basename.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_member_ctx.html">MemberCtx</a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Member context definition. <a href="struct_member_ctx.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
- Functions</h2></td></tr>
- <tr class="memitem:a5f956a682bdde4ea1459e01beae0e9f0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5f956a682bdde4ea1459e01beae0e9f0"></a>
- void </td><td class="memItemRight" valign="bottom"><a class="el" href="member_2context_8h.html#a5f956a682bdde4ea1459e01beae0e9f0">DeleteBasenames</a> (<a class="el" href="struct_allowed_basename.html">AllowedBasename</a> **rootnode)</td></tr>
- <tr class="memdesc:a5f956a682bdde4ea1459e01beae0e9f0"><td class="mdescLeft"> </td><td class="mdescRight">Delete base name list. <br /></td></tr>
- <tr class="separator:a5f956a682bdde4ea1459e01beae0e9f0"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9ef563fb256bbdd0a08358fbfa0bde10"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9ef563fb256bbdd0a08358fbfa0bde10"></a>
- <a class="el" href="group___error_codes.html#gafdb27c77c2c4b32c807e326a8a0da360">EpidStatus</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="member_2context_8h.html#a9ef563fb256bbdd0a08358fbfa0bde10">AddBasename</a> (<a class="el" href="struct_allowed_basename.html">AllowedBasename</a> **rootnode, void const *basename, size_t length)</td></tr>
- <tr class="memdesc:a9ef563fb256bbdd0a08358fbfa0bde10"><td class="mdescLeft"> </td><td class="mdescRight">Add new base name to list. <br /></td></tr>
- <tr class="separator:a9ef563fb256bbdd0a08358fbfa0bde10"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a15f1294cb5004433360eb6d1ab0b3322"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a15f1294cb5004433360eb6d1ab0b3322"></a>
- <a class="el" href="stdtypes_8h.html#ad5c9d4ba3dc37783a528b0925dc981a0">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="member_2context_8h.html#a15f1294cb5004433360eb6d1ab0b3322">ContainsBasename</a> (<a class="el" href="struct_allowed_basename.html">AllowedBasename</a> const *rootnode, void const *basename, size_t length)</td></tr>
- <tr class="memdesc:a15f1294cb5004433360eb6d1ab0b3322"><td class="mdescLeft"> </td><td class="mdescRight">Check if given base name exist in the list. <br /></td></tr>
- <tr class="separator:a15f1294cb5004433360eb6d1ab0b3322"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0423e8400abd2171062e4c42b90b8145"><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="member_2context_8h.html#a0423e8400abd2171062e4c42b90b8145">EpidComputePreSig</a> (<a class="el" href="struct_member_ctx.html">MemberCtx</a> const *ctx, <a class="el" href="struct_pre_computed_signature.html">PreComputedSignature</a> *precompsig)</td></tr>
- <tr class="memdesc:a0423e8400abd2171062e4c42b90b8145"><td class="mdescLeft"> </td><td class="mdescRight">Performs Pre-computation that can be used to speed up signing. <a href="#a0423e8400abd2171062e4c42b90b8145">More...</a><br /></td></tr>
- <tr class="separator:a0423e8400abd2171062e4c42b90b8145"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
- <div class="textblock"><p>Member context interface. </p>
- </div><h2 class="groupheader">Function Documentation</h2>
- <a class="anchor" id="a0423e8400abd2171062e4c42b90b8145"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="group___error_codes.html#gafdb27c77c2c4b32c807e326a8a0da360">EpidStatus</a> EpidComputePreSig </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="struct_member_ctx.html">MemberCtx</a> const * </td>
- <td class="paramname"><em>ctx</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="struct_pre_computed_signature.html">PreComputedSignature</a> * </td>
- <td class="paramname"><em>precompsig</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Performs Pre-computation that can be used to speed up signing. </p>
- <dl class="section warning"><dt>Warning</dt><dd>Do not re-use the same pre-computed signature to generate more than one signature. If a pre-computed signature is used for computing two signatures, an attacker could learn the Intel(R) EPID private key.</dd></dl>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">ctx</td><td>The member context. </td></tr>
- <tr><td class="paramdir">[out]</td><td class="paramname">precompsig</td><td>The pre-computed signature.</td></tr>
- </table>
- </dd>
- </dl>
- <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>
- </div>
- </div>
- </div><!-- contents -->
- </div><!-- doc-content -->
- <!-- HTML footer for doxygen 1.8.10-->
- <!-- start footer part -->
- <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
- <ul>
- <li class="navelem"><a class="el" href="dir_12b90d9c027aaf878a834df729679a56.html">epid</a></li><li class="navelem"><a class="el" href="dir_512d3e62841a8535b716ec4cf8b9e950.html">member</a></li><li class="navelem"><a class="el" href="member_2context_8h.html">context.h</a></li>
- <li class="footer">
- © 2016 Intel Corporation
- </li>
- </ul>
- </div>
- </body>
- </html>
|