Home | History | Annotate | Download | only in html
      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&reg; Enhanced Privacy ID SDK: print_utils</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&amp;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&reg; Enhanced Privacy ID SDK</a>
     35 &#160;<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&amp;dn=gpl-2.0.txt GPL-v2 */
     57 $(document).ready(function(){initNavTree('group___epid_print.html','');});
     58 /* @license-end */
     59 </script>
     60 <div id="doc-content">
     61 <div class="header">
     62   <div class="summary">
     63 <a href="#enum-members">Enumerations</a> &#124;
     64 <a href="#func-members">Functions</a>  </div>
     65   <div class="headertitle">
     66 <div class="title">print_utils<div class="ingroups"><a class="el" href="group___epid_module.html">epid&amp;nbsp;</a> &raquo; <a class="el" href="group___epid_common.html">common</a></div></div>  </div>
     67 </div><!--header-->
     68 <div class="contents">
     69 
     70 <p>Debug print routines.  
     71 <a href="#details">More...</a></p>
     72 <table class="memberdecls">
     73 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
     74 Enumerations</h2></td></tr>
     75 <tr class="memitem:ga3e215d157eb205ad596bb84bce694a83"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_print.html#ga3e215d157eb205ad596bb84bce694a83">PrintUtilFormat</a> { <a class="el" href="group___epid_print.html#gga3e215d157eb205ad596bb84bce694a83aeb475b793d8d357087d7fcc74702ffae">kPrintUtilUnannotated</a> = 0, 
     76 <a class="el" href="group___epid_print.html#gga3e215d157eb205ad596bb84bce694a83ae2d5345c14f57fc992a613003c3c443d">kPrintUtilAnnotated</a> = 1, 
     77 <a class="el" href="group___epid_print.html#gga3e215d157eb205ad596bb84bce694a83ade23610605d0ba7dd48db5060e28995a">kPrintUtilFormatCount</a> = 2
     78  }</td></tr>
     79 <tr class="memdesc:ga3e215d157eb205ad596bb84bce694a83"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print format.  <a href="group___epid_print.html#ga3e215d157eb205ad596bb84bce694a83">More...</a><br /></td></tr>
     80 <tr class="separator:ga3e215d157eb205ad596bb84bce694a83"><td class="memSeparator" colspan="2">&#160;</td></tr>
     81 </table><table class="memberdecls">
     82 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
     83 Functions</h2></td></tr>
     84 <tr class="memitem:ga45a933b44fc1dfe926e3af89c198070a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_print.html#ga45a933b44fc1dfe926e3af89c198070a">PrintBigNum</a> (<a class="el" href="group___big_num_primitives.html#ga2bf153e27be2683f0fb26f0f7ff1f718">BigNum</a> const *big_num, char const *var_name)</td></tr>
     85 <tr class="memdesc:ga45a933b44fc1dfe926e3af89c198070a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints BigNum.  <a href="#ga45a933b44fc1dfe926e3af89c198070a">More...</a><br /></td></tr>
     86 <tr class="separator:ga45a933b44fc1dfe926e3af89c198070a"><td class="memSeparator" colspan="2">&#160;</td></tr>
     87 <tr class="memitem:gaa3b1cbbfc6f78562658953113e5798cf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_print.html#gaa3b1cbbfc6f78562658953113e5798cf">PrintFfElement</a> (<a class="el" href="group___finite_field_primitives.html#gab281b24e336a8b3d7d90079d862d969e">FiniteField</a> const *ff, <a class="el" href="group___finite_field_primitives.html#ga6cff5c7c06b07a87442b810ccc0a86fa">FfElement</a> const *ff_element, char const *var_name, <a class="el" href="group___epid_print.html#ga3e215d157eb205ad596bb84bce694a83">PrintUtilFormat</a> format)</td></tr>
     88 <tr class="memdesc:gaa3b1cbbfc6f78562658953113e5798cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints finite field element.  <a href="#gaa3b1cbbfc6f78562658953113e5798cf">More...</a><br /></td></tr>
     89 <tr class="separator:gaa3b1cbbfc6f78562658953113e5798cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
     90 <tr class="memitem:ga0d6377d9c1651d0101ec6b61feaa78ca"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_print.html#ga0d6377d9c1651d0101ec6b61feaa78ca">PrintEcPoint</a> (<a class="el" href="group___ec_group_primitives.html#gac91c5a7623c17a868dd15b2e9aaf7159">EcGroup</a> const *g, <a class="el" href="group___ec_group_primitives.html#ga85c1d5e106031b385a6e23e598ac98fa">EcPoint</a> const *ec_point, char const *var_name, <a class="el" href="group___epid_print.html#ga3e215d157eb205ad596bb84bce694a83">PrintUtilFormat</a> format)</td></tr>
     91 <tr class="memdesc:ga0d6377d9c1651d0101ec6b61feaa78ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints elliptic curve group element.  <a href="#ga0d6377d9c1651d0101ec6b61feaa78ca">More...</a><br /></td></tr>
     92 <tr class="separator:ga0d6377d9c1651d0101ec6b61feaa78ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
     93 <tr class="memitem:ga5f249c594ed12e4a9b11b7bc101da85d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_print.html#ga5f249c594ed12e4a9b11b7bc101da85d">PrintBigNumStr</a> (<a class="el" href="struct_big_num_str.html">BigNumStr</a> const *big_num_str, char const *var_name)</td></tr>
     94 <tr class="memdesc:ga5f249c594ed12e4a9b11b7bc101da85d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints serialized BigNum.  <a href="#ga5f249c594ed12e4a9b11b7bc101da85d">More...</a><br /></td></tr>
     95 <tr class="separator:ga5f249c594ed12e4a9b11b7bc101da85d"><td class="memSeparator" colspan="2">&#160;</td></tr>
     96 <tr class="memitem:gae553c3a156a0e4968b89635ab0757580"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_print.html#gae553c3a156a0e4968b89635ab0757580">PrintFpElemStr</a> (<a class="el" href="struct_fp_elem_str.html">FpElemStr</a> const *fp_elem_str, char const *var_name)</td></tr>
     97 <tr class="memdesc:gae553c3a156a0e4968b89635ab0757580"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints serialized Fp element.  <a href="#gae553c3a156a0e4968b89635ab0757580">More...</a><br /></td></tr>
     98 <tr class="separator:gae553c3a156a0e4968b89635ab0757580"><td class="memSeparator" colspan="2">&#160;</td></tr>
     99 <tr class="memitem:ga6c9fea48fa0477f4a98abb50f891a5e4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_print.html#ga6c9fea48fa0477f4a98abb50f891a5e4">PrintFqElemStr</a> (<a class="el" href="struct_fq_elem_str.html">FqElemStr</a> const *fq_elem_str, char const *var_name)</td></tr>
    100 <tr class="memdesc:ga6c9fea48fa0477f4a98abb50f891a5e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints serialized Fq element.  <a href="#ga6c9fea48fa0477f4a98abb50f891a5e4">More...</a><br /></td></tr>
    101 <tr class="separator:ga6c9fea48fa0477f4a98abb50f891a5e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
    102 <tr class="memitem:ga883a834ab1703365bb0bca4abd3104de"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_print.html#ga883a834ab1703365bb0bca4abd3104de">PrintFq2ElemStr</a> (<a class="el" href="struct_fq2_elem_str.html">Fq2ElemStr</a> const *fq2_elem_str, char const *var_name, <a class="el" href="group___epid_print.html#ga3e215d157eb205ad596bb84bce694a83">PrintUtilFormat</a> format)</td></tr>
    103 <tr class="memdesc:ga883a834ab1703365bb0bca4abd3104de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints serialized Fq2 element.  <a href="#ga883a834ab1703365bb0bca4abd3104de">More...</a><br /></td></tr>
    104 <tr class="separator:ga883a834ab1703365bb0bca4abd3104de"><td class="memSeparator" colspan="2">&#160;</td></tr>
    105 <tr class="memitem:ga3f2961ef6b4c44a6205d422d8a293476"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_print.html#ga3f2961ef6b4c44a6205d422d8a293476">PrintFq6ElemStr</a> (<a class="el" href="struct_fq6_elem_str.html">Fq6ElemStr</a> const *fq6_elem_str, char const *var_name, <a class="el" href="group___epid_print.html#ga3e215d157eb205ad596bb84bce694a83">PrintUtilFormat</a> format)</td></tr>
    106 <tr class="memdesc:ga3f2961ef6b4c44a6205d422d8a293476"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints serialized Fq6 element.  <a href="#ga3f2961ef6b4c44a6205d422d8a293476">More...</a><br /></td></tr>
    107 <tr class="separator:ga3f2961ef6b4c44a6205d422d8a293476"><td class="memSeparator" colspan="2">&#160;</td></tr>
    108 <tr class="memitem:gaf185fe3df270cd8b4a2969bf3cfc5d5f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_print.html#gaf185fe3df270cd8b4a2969bf3cfc5d5f">PrintFq12ElemStr</a> (<a class="el" href="struct_fq12_elem_str.html">Fq12ElemStr</a> const *fq12_elem_str, char const *var_name, <a class="el" href="group___epid_print.html#ga3e215d157eb205ad596bb84bce694a83">PrintUtilFormat</a> format)</td></tr>
    109 <tr class="memdesc:gaf185fe3df270cd8b4a2969bf3cfc5d5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints serialized Fq12 element.  <a href="#gaf185fe3df270cd8b4a2969bf3cfc5d5f">More...</a><br /></td></tr>
    110 <tr class="separator:gaf185fe3df270cd8b4a2969bf3cfc5d5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
    111 <tr class="memitem:ga87168a3ce5306f9839b8e8d6c9a5f84f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_print.html#ga87168a3ce5306f9839b8e8d6c9a5f84f">PrintG1ElemStr</a> (<a class="el" href="struct_g1_elem_str.html">G1ElemStr</a> const *g1_elem_str, char const *var_name, <a class="el" href="group___epid_print.html#ga3e215d157eb205ad596bb84bce694a83">PrintUtilFormat</a> format)</td></tr>
    112 <tr class="memdesc:ga87168a3ce5306f9839b8e8d6c9a5f84f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints serialized G1 element.  <a href="#ga87168a3ce5306f9839b8e8d6c9a5f84f">More...</a><br /></td></tr>
    113 <tr class="separator:ga87168a3ce5306f9839b8e8d6c9a5f84f"><td class="memSeparator" colspan="2">&#160;</td></tr>
    114 <tr class="memitem:gab76a4cf0385dc4a76bb56ee9f0e3e87a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_print.html#gab76a4cf0385dc4a76bb56ee9f0e3e87a">PrintG2ElemStr</a> (<a class="el" href="struct_g2_elem_str.html">G2ElemStr</a> const *g2_elem_str, char const *var_name, <a class="el" href="group___epid_print.html#ga3e215d157eb205ad596bb84bce694a83">PrintUtilFormat</a> format)</td></tr>
    115 <tr class="memdesc:gab76a4cf0385dc4a76bb56ee9f0e3e87a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints serialized G2 element.  <a href="#gab76a4cf0385dc4a76bb56ee9f0e3e87a">More...</a><br /></td></tr>
    116 <tr class="separator:gab76a4cf0385dc4a76bb56ee9f0e3e87a"><td class="memSeparator" colspan="2">&#160;</td></tr>
    117 <tr class="memitem:ga138cd388247a58680d4701d59d6976d2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___epid_print.html#ga138cd388247a58680d4701d59d6976d2">PrintGtElemStr</a> (<a class="el" href="struct_gt_elem_str.html">GtElemStr</a> const *gt_elem_str, char const *var_name, <a class="el" href="group___epid_print.html#ga3e215d157eb205ad596bb84bce694a83">PrintUtilFormat</a> format)</td></tr>
    118 <tr class="memdesc:ga138cd388247a58680d4701d59d6976d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints serialized Gt element.  <a href="#ga138cd388247a58680d4701d59d6976d2">More...</a><br /></td></tr>
    119 <tr class="separator:ga138cd388247a58680d4701d59d6976d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
    120 </table>
    121 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
    122 <p>Debug print routines. </p>
    123 <p>Defines an API to print formatted versions of the types used for mathematical operations.</p>
    124 <p>If the symbol EPID_ENABLE_DEBUG_PRINT is not defined, all calls to the functions in this module are ignored. </p>
    125 <h2 class="groupheader">Enumeration Type Documentation</h2>
    126 <a id="ga3e215d157eb205ad596bb84bce694a83"></a>
    127 <h2 class="memtitle"><span class="permalink"><a href="#ga3e215d157eb205ad596bb84bce694a83">&#9670;&nbsp;</a></span>PrintUtilFormat</h2>
    128 
    129 <div class="memitem">
    130 <div class="memproto">
    131       <table class="memname">
    132         <tr>
    133           <td class="memname">enum <a class="el" href="group___epid_print.html#ga3e215d157eb205ad596bb84bce694a83">PrintUtilFormat</a></td>
    134         </tr>
    135       </table>
    136 </div><div class="memdoc">
    137 
    138 <p>Print format. </p>
    139 <table class="fieldtable">
    140 <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga3e215d157eb205ad596bb84bce694a83aeb475b793d8d357087d7fcc74702ffae"></a>kPrintUtilUnannotated&#160;</td><td class="fielddoc"><p>Unannotated output format. </p>
    141 </td></tr>
    142 <tr><td class="fieldname"><a id="gga3e215d157eb205ad596bb84bce694a83ae2d5345c14f57fc992a613003c3c443d"></a>kPrintUtilAnnotated&#160;</td><td class="fielddoc"><p>Annotated output format. </p>
    143 </td></tr>
    144 <tr><td class="fieldname"><a id="gga3e215d157eb205ad596bb84bce694a83ade23610605d0ba7dd48db5060e28995a"></a>kPrintUtilFormatCount&#160;</td><td class="fielddoc"><p>Count of print formats. </p>
    145 </td></tr>
    146 </table>
    147 
    148 </div>
    149 </div>
    150 <h2 class="groupheader">Function Documentation</h2>
    151 <a id="ga45a933b44fc1dfe926e3af89c198070a"></a>
    152 <h2 class="memtitle"><span class="permalink"><a href="#ga45a933b44fc1dfe926e3af89c198070a">&#9670;&nbsp;</a></span>PrintBigNum()</h2>
    153 
    154 <div class="memitem">
    155 <div class="memproto">
    156       <table class="memname">
    157         <tr>
    158           <td class="memname">void PrintBigNum </td>
    159           <td>(</td>
    160           <td class="paramtype"><a class="el" href="group___big_num_primitives.html#ga2bf153e27be2683f0fb26f0f7ff1f718">BigNum</a> const *&#160;</td>
    161           <td class="paramname"><em>big_num</em>, </td>
    162         </tr>
    163         <tr>
    164           <td class="paramkey"></td>
    165           <td></td>
    166           <td class="paramtype">char const *&#160;</td>
    167           <td class="paramname"><em>var_name</em>&#160;</td>
    168         </tr>
    169         <tr>
    170           <td></td>
    171           <td>)</td>
    172           <td></td><td></td>
    173         </tr>
    174       </table>
    175 </div><div class="memdoc">
    176 
    177 <p>Prints BigNum. </p>
    178 <p>Macro EPID_ENABLE_DEBUG_PRINT needs to be defined in order to activate this routine; otherwise, it prints nothing.</p>
    179 <dl class="params"><dt>Parameters</dt><dd>
    180   <table class="params">
    181     <tr><td class="paramdir">[in]</td><td class="paramname">big_num</td><td>BigNum to be printed </td></tr>
    182     <tr><td class="paramdir">[in]</td><td class="paramname">var_name</td><td>Result variable name </td></tr>
    183   </table>
    184   </dd>
    185 </dl>
    186 
    187 </div>
    188 </div>
    189 <a id="ga5f249c594ed12e4a9b11b7bc101da85d"></a>
    190 <h2 class="memtitle"><span class="permalink"><a href="#ga5f249c594ed12e4a9b11b7bc101da85d">&#9670;&nbsp;</a></span>PrintBigNumStr()</h2>
    191 
    192 <div class="memitem">
    193 <div class="memproto">
    194       <table class="memname">
    195         <tr>
    196           <td class="memname">void PrintBigNumStr </td>
    197           <td>(</td>
    198           <td class="paramtype"><a class="el" href="struct_big_num_str.html">BigNumStr</a> const *&#160;</td>
    199           <td class="paramname"><em>big_num_str</em>, </td>
    200         </tr>
    201         <tr>
    202           <td class="paramkey"></td>
    203           <td></td>
    204           <td class="paramtype">char const *&#160;</td>
    205           <td class="paramname"><em>var_name</em>&#160;</td>
    206         </tr>
    207         <tr>
    208           <td></td>
    209           <td>)</td>
    210           <td></td><td></td>
    211         </tr>
    212       </table>
    213 </div><div class="memdoc">
    214 
    215 <p>Prints serialized BigNum. </p>
    216 <p>Macro EPID_ENABLE_DEBUG_PRINT needs to be defined in order to activate this routine; otherwise, it prints nothing.</p>
    217 <dl class="params"><dt>Parameters</dt><dd>
    218   <table class="params">
    219     <tr><td class="paramdir">[in]</td><td class="paramname">big_num_str</td><td>Serialized BigNum to be printed </td></tr>
    220     <tr><td class="paramdir">[in]</td><td class="paramname">var_name</td><td>Result variable name </td></tr>
    221   </table>
    222   </dd>
    223 </dl>
    224 
    225 </div>
    226 </div>
    227 <a id="ga0d6377d9c1651d0101ec6b61feaa78ca"></a>
    228 <h2 class="memtitle"><span class="permalink"><a href="#ga0d6377d9c1651d0101ec6b61feaa78ca">&#9670;&nbsp;</a></span>PrintEcPoint()</h2>
    229 
    230 <div class="memitem">
    231 <div class="memproto">
    232       <table class="memname">
    233         <tr>
    234           <td class="memname">void PrintEcPoint </td>
    235           <td>(</td>
    236           <td class="paramtype"><a class="el" href="group___ec_group_primitives.html#gac91c5a7623c17a868dd15b2e9aaf7159">EcGroup</a> const *&#160;</td>
    237           <td class="paramname"><em>g</em>, </td>
    238         </tr>
    239         <tr>
    240           <td class="paramkey"></td>
    241           <td></td>
    242           <td class="paramtype"><a class="el" href="group___ec_group_primitives.html#ga85c1d5e106031b385a6e23e598ac98fa">EcPoint</a> const *&#160;</td>
    243           <td class="paramname"><em>ec_point</em>, </td>
    244         </tr>
    245         <tr>
    246           <td class="paramkey"></td>
    247           <td></td>
    248           <td class="paramtype">char const *&#160;</td>
    249           <td class="paramname"><em>var_name</em>, </td>
    250         </tr>
    251         <tr>
    252           <td class="paramkey"></td>
    253           <td></td>
    254           <td class="paramtype"><a class="el" href="group___epid_print.html#ga3e215d157eb205ad596bb84bce694a83">PrintUtilFormat</a>&#160;</td>
    255           <td class="paramname"><em>format</em>&#160;</td>
    256         </tr>
    257         <tr>
    258           <td></td>
    259           <td>)</td>
    260           <td></td><td></td>
    261         </tr>
    262       </table>
    263 </div><div class="memdoc">
    264 
    265 <p>Prints elliptic curve group element. </p>
    266 <p>Macro EPID_ENABLE_DEBUG_PRINT needs to be defined in order to activate this routine; otherwise, it prints nothing.</p>
    267 <dl class="params"><dt>Parameters</dt><dd>
    268   <table class="params">
    269     <tr><td class="paramdir">[in]</td><td class="paramname">g</td><td>Elliptic curve group that element to be printed belongs to </td></tr>
    270     <tr><td class="paramdir">[in]</td><td class="paramname">ec_point</td><td>Elliptic curve group element to be printed </td></tr>
    271     <tr><td class="paramdir">[in]</td><td class="paramname">var_name</td><td>Result variable name </td></tr>
    272     <tr><td class="paramdir">[in]</td><td class="paramname">format</td><td>Output format </td></tr>
    273   </table>
    274   </dd>
    275 </dl>
    276 
    277 </div>
    278 </div>
    279 <a id="gaa3b1cbbfc6f78562658953113e5798cf"></a>
    280 <h2 class="memtitle"><span class="permalink"><a href="#gaa3b1cbbfc6f78562658953113e5798cf">&#9670;&nbsp;</a></span>PrintFfElement()</h2>
    281 
    282 <div class="memitem">
    283 <div class="memproto">
    284       <table class="memname">
    285         <tr>
    286           <td class="memname">void PrintFfElement </td>
    287           <td>(</td>
    288           <td class="paramtype"><a class="el" href="group___finite_field_primitives.html#gab281b24e336a8b3d7d90079d862d969e">FiniteField</a> const *&#160;</td>
    289           <td class="paramname"><em>ff</em>, </td>
    290         </tr>
    291         <tr>
    292           <td class="paramkey"></td>
    293           <td></td>
    294           <td class="paramtype"><a class="el" href="group___finite_field_primitives.html#ga6cff5c7c06b07a87442b810ccc0a86fa">FfElement</a> const *&#160;</td>
    295           <td class="paramname"><em>ff_element</em>, </td>
    296         </tr>
    297         <tr>
    298           <td class="paramkey"></td>
    299           <td></td>
    300           <td class="paramtype">char const *&#160;</td>
    301           <td class="paramname"><em>var_name</em>, </td>
    302         </tr>
    303         <tr>
    304           <td class="paramkey"></td>
    305           <td></td>
    306           <td class="paramtype"><a class="el" href="group___epid_print.html#ga3e215d157eb205ad596bb84bce694a83">PrintUtilFormat</a>&#160;</td>
    307           <td class="paramname"><em>format</em>&#160;</td>
    308         </tr>
    309         <tr>
    310           <td></td>
    311           <td>)</td>
    312           <td></td><td></td>
    313         </tr>
    314       </table>
    315 </div><div class="memdoc">
    316 
    317 <p>Prints finite field element. </p>
    318 <p>Macro EPID_ENABLE_DEBUG_PRINT needs to be defined in order to activate this routine; otherwise, it prints nothing.</p>
    319 <dl class="params"><dt>Parameters</dt><dd>
    320   <table class="params">
    321     <tr><td class="paramdir">[in]</td><td class="paramname">ff</td><td>Finite field that element to be printed belongs to </td></tr>
    322     <tr><td class="paramdir">[in]</td><td class="paramname">ff_element</td><td>Finite field element to be printed </td></tr>
    323     <tr><td class="paramdir">[in]</td><td class="paramname">var_name</td><td>Result variable name </td></tr>
    324     <tr><td class="paramdir">[in]</td><td class="paramname">format</td><td>Output format </td></tr>
    325   </table>
    326   </dd>
    327 </dl>
    328 
    329 </div>
    330 </div>
    331 <a id="gae553c3a156a0e4968b89635ab0757580"></a>
    332 <h2 class="memtitle"><span class="permalink"><a href="#gae553c3a156a0e4968b89635ab0757580">&#9670;&nbsp;</a></span>PrintFpElemStr()</h2>
    333 
    334 <div class="memitem">
    335 <div class="memproto">
    336       <table class="memname">
    337         <tr>
    338           <td class="memname">void PrintFpElemStr </td>
    339           <td>(</td>
    340           <td class="paramtype"><a class="el" href="struct_fp_elem_str.html">FpElemStr</a> const *&#160;</td>
    341           <td class="paramname"><em>fp_elem_str</em>, </td>
    342         </tr>
    343         <tr>
    344           <td class="paramkey"></td>
    345           <td></td>
    346           <td class="paramtype">char const *&#160;</td>
    347           <td class="paramname"><em>var_name</em>&#160;</td>
    348         </tr>
    349         <tr>
    350           <td></td>
    351           <td>)</td>
    352           <td></td><td></td>
    353         </tr>
    354       </table>
    355 </div><div class="memdoc">
    356 
    357 <p>Prints serialized Fp element. </p>
    358 <p>Macro EPID_ENABLE_DEBUG_PRINT needs to be defined in order to activate this routine; otherwise, it prints nothing.</p>
    359 <dl class="params"><dt>Parameters</dt><dd>
    360   <table class="params">
    361     <tr><td class="paramdir">[in]</td><td class="paramname">fp_elem_str</td><td>Serialized Fp element to be printed </td></tr>
    362     <tr><td class="paramdir">[in]</td><td class="paramname">var_name</td><td>Result variable name </td></tr>
    363   </table>
    364   </dd>
    365 </dl>
    366 
    367 </div>
    368 </div>
    369 <a id="gaf185fe3df270cd8b4a2969bf3cfc5d5f"></a>
    370 <h2 class="memtitle"><span class="permalink"><a href="#gaf185fe3df270cd8b4a2969bf3cfc5d5f">&#9670;&nbsp;</a></span>PrintFq12ElemStr()</h2>
    371 
    372 <div class="memitem">
    373 <div class="memproto">
    374       <table class="memname">
    375         <tr>
    376           <td class="memname">void PrintFq12ElemStr </td>
    377           <td>(</td>
    378           <td class="paramtype"><a class="el" href="struct_fq12_elem_str.html">Fq12ElemStr</a> const *&#160;</td>
    379           <td class="paramname"><em>fq12_elem_str</em>, </td>
    380         </tr>
    381         <tr>
    382           <td class="paramkey"></td>
    383           <td></td>
    384           <td class="paramtype">char const *&#160;</td>
    385           <td class="paramname"><em>var_name</em>, </td>
    386         </tr>
    387         <tr>
    388           <td class="paramkey"></td>
    389           <td></td>
    390           <td class="paramtype"><a class="el" href="group___epid_print.html#ga3e215d157eb205ad596bb84bce694a83">PrintUtilFormat</a>&#160;</td>
    391           <td class="paramname"><em>format</em>&#160;</td>
    392         </tr>
    393         <tr>
    394           <td></td>
    395           <td>)</td>
    396           <td></td><td></td>
    397         </tr>
    398       </table>
    399 </div><div class="memdoc">
    400 
    401 <p>Prints serialized Fq12 element. </p>
    402 <p>Macro EPID_ENABLE_DEBUG_PRINT needs to be defined in order to activate this routine; otherwise, it prints nothing.</p>
    403 <dl class="params"><dt>Parameters</dt><dd>
    404   <table class="params">
    405     <tr><td class="paramdir">[in]</td><td class="paramname">fq12_elem_str</td><td>Serialized Intel(R) EPID Fq12 element to be printed </td></tr>
    406     <tr><td class="paramdir">[in]</td><td class="paramname">var_name</td><td>Result variable name </td></tr>
    407     <tr><td class="paramdir">[in]</td><td class="paramname">format</td><td>Output format </td></tr>
    408   </table>
    409   </dd>
    410 </dl>
    411 
    412 </div>
    413 </div>
    414 <a id="ga883a834ab1703365bb0bca4abd3104de"></a>
    415 <h2 class="memtitle"><span class="permalink"><a href="#ga883a834ab1703365bb0bca4abd3104de">&#9670;&nbsp;</a></span>PrintFq2ElemStr()</h2>
    416 
    417 <div class="memitem">
    418 <div class="memproto">
    419       <table class="memname">
    420         <tr>
    421           <td class="memname">void PrintFq2ElemStr </td>
    422           <td>(</td>
    423           <td class="paramtype"><a class="el" href="struct_fq2_elem_str.html">Fq2ElemStr</a> const *&#160;</td>
    424           <td class="paramname"><em>fq2_elem_str</em>, </td>
    425         </tr>
    426         <tr>
    427           <td class="paramkey"></td>
    428           <td></td>
    429           <td class="paramtype">char const *&#160;</td>
    430           <td class="paramname"><em>var_name</em>, </td>
    431         </tr>
    432         <tr>
    433           <td class="paramkey"></td>
    434           <td></td>
    435           <td class="paramtype"><a class="el" href="group___epid_print.html#ga3e215d157eb205ad596bb84bce694a83">PrintUtilFormat</a>&#160;</td>
    436           <td class="paramname"><em>format</em>&#160;</td>
    437         </tr>
    438         <tr>
    439           <td></td>
    440           <td>)</td>
    441           <td></td><td></td>
    442         </tr>
    443       </table>
    444 </div><div class="memdoc">
    445 
    446 <p>Prints serialized Fq2 element. </p>
    447 <p>Macro EPID_ENABLE_DEBUG_PRINT needs to be defined in order to activate this routine; otherwise, it prints nothing.</p>
    448 <dl class="params"><dt>Parameters</dt><dd>
    449   <table class="params">
    450     <tr><td class="paramdir">[in]</td><td class="paramname">fq2_elem_str</td><td>Serialized Fq2 element to be printed </td></tr>
    451     <tr><td class="paramdir">[in]</td><td class="paramname">var_name</td><td>Result variable name </td></tr>
    452     <tr><td class="paramdir">[in]</td><td class="paramname">format</td><td>Output format </td></tr>
    453   </table>
    454   </dd>
    455 </dl>
    456 
    457 </div>
    458 </div>
    459 <a id="ga3f2961ef6b4c44a6205d422d8a293476"></a>
    460 <h2 class="memtitle"><span class="permalink"><a href="#ga3f2961ef6b4c44a6205d422d8a293476">&#9670;&nbsp;</a></span>PrintFq6ElemStr()</h2>
    461 
    462 <div class="memitem">
    463 <div class="memproto">
    464       <table class="memname">
    465         <tr>
    466           <td class="memname">void PrintFq6ElemStr </td>
    467           <td>(</td>
    468           <td class="paramtype"><a class="el" href="struct_fq6_elem_str.html">Fq6ElemStr</a> const *&#160;</td>
    469           <td class="paramname"><em>fq6_elem_str</em>, </td>
    470         </tr>
    471         <tr>
    472           <td class="paramkey"></td>
    473           <td></td>
    474           <td class="paramtype">char const *&#160;</td>
    475           <td class="paramname"><em>var_name</em>, </td>
    476         </tr>
    477         <tr>
    478           <td class="paramkey"></td>
    479           <td></td>
    480           <td class="paramtype"><a class="el" href="group___epid_print.html#ga3e215d157eb205ad596bb84bce694a83">PrintUtilFormat</a>&#160;</td>
    481           <td class="paramname"><em>format</em>&#160;</td>
    482         </tr>
    483         <tr>
    484           <td></td>
    485           <td>)</td>
    486           <td></td><td></td>
    487         </tr>
    488       </table>
    489 </div><div class="memdoc">
    490 
    491 <p>Prints serialized Fq6 element. </p>
    492 <p>Macro EPID_ENABLE_DEBUG_PRINT needs to be defined in order to activate this routine; otherwise, it prints nothing.</p>
    493 <dl class="params"><dt>Parameters</dt><dd>
    494   <table class="params">
    495     <tr><td class="paramdir">[in]</td><td class="paramname">fq6_elem_str</td><td>Serialized Fq6 element to be printed </td></tr>
    496     <tr><td class="paramdir">[in]</td><td class="paramname">var_name</td><td>Result variable name </td></tr>
    497     <tr><td class="paramdir">[in]</td><td class="paramname">format</td><td>Output format </td></tr>
    498   </table>
    499   </dd>
    500 </dl>
    501 
    502 </div>
    503 </div>
    504 <a id="ga6c9fea48fa0477f4a98abb50f891a5e4"></a>
    505 <h2 class="memtitle"><span class="permalink"><a href="#ga6c9fea48fa0477f4a98abb50f891a5e4">&#9670;&nbsp;</a></span>PrintFqElemStr()</h2>
    506 
    507 <div class="memitem">
    508 <div class="memproto">
    509       <table class="memname">
    510         <tr>
    511           <td class="memname">void PrintFqElemStr </td>
    512           <td>(</td>
    513           <td class="paramtype"><a class="el" href="struct_fq_elem_str.html">FqElemStr</a> const *&#160;</td>
    514           <td class="paramname"><em>fq_elem_str</em>, </td>
    515         </tr>
    516         <tr>
    517           <td class="paramkey"></td>
    518           <td></td>
    519           <td class="paramtype">char const *&#160;</td>
    520           <td class="paramname"><em>var_name</em>&#160;</td>
    521         </tr>
    522         <tr>
    523           <td></td>
    524           <td>)</td>
    525           <td></td><td></td>
    526         </tr>
    527       </table>
    528 </div><div class="memdoc">
    529 
    530 <p>Prints serialized Fq element. </p>
    531 <p>Macro EPID_ENABLE_DEBUG_PRINT needs to be defined in order to activate this routine; otherwise, it prints nothing.</p>
    532 <dl class="params"><dt>Parameters</dt><dd>
    533   <table class="params">
    534     <tr><td class="paramdir">[in]</td><td class="paramname">fq_elem_str</td><td>Serialized Fq element to be printed </td></tr>
    535     <tr><td class="paramdir">[in]</td><td class="paramname">var_name</td><td>Result variable name </td></tr>
    536   </table>
    537   </dd>
    538 </dl>
    539 
    540 </div>
    541 </div>
    542 <a id="ga87168a3ce5306f9839b8e8d6c9a5f84f"></a>
    543 <h2 class="memtitle"><span class="permalink"><a href="#ga87168a3ce5306f9839b8e8d6c9a5f84f">&#9670;&nbsp;</a></span>PrintG1ElemStr()</h2>
    544 
    545 <div class="memitem">
    546 <div class="memproto">
    547       <table class="memname">
    548         <tr>
    549           <td class="memname">void PrintG1ElemStr </td>
    550           <td>(</td>
    551           <td class="paramtype"><a class="el" href="struct_g1_elem_str.html">G1ElemStr</a> const *&#160;</td>
    552           <td class="paramname"><em>g1_elem_str</em>, </td>
    553         </tr>
    554         <tr>
    555           <td class="paramkey"></td>
    556           <td></td>
    557           <td class="paramtype">char const *&#160;</td>
    558           <td class="paramname"><em>var_name</em>, </td>
    559         </tr>
    560         <tr>
    561           <td class="paramkey"></td>
    562           <td></td>
    563           <td class="paramtype"><a class="el" href="group___epid_print.html#ga3e215d157eb205ad596bb84bce694a83">PrintUtilFormat</a>&#160;</td>
    564           <td class="paramname"><em>format</em>&#160;</td>
    565         </tr>
    566         <tr>
    567           <td></td>
    568           <td>)</td>
    569           <td></td><td></td>
    570         </tr>
    571       </table>
    572 </div><div class="memdoc">
    573 
    574 <p>Prints serialized G1 element. </p>
    575 <p>Macro EPID_ENABLE_DEBUG_PRINT needs to be defined in order to activate this routine; otherwise, it prints nothing.</p>
    576 <dl class="params"><dt>Parameters</dt><dd>
    577   <table class="params">
    578     <tr><td class="paramdir">[in]</td><td class="paramname">g1_elem_str</td><td>Serialized G1 element to be printed </td></tr>
    579     <tr><td class="paramdir">[in]</td><td class="paramname">var_name</td><td>Result variable name </td></tr>
    580     <tr><td class="paramdir">[in]</td><td class="paramname">format</td><td>Output format </td></tr>
    581   </table>
    582   </dd>
    583 </dl>
    584 
    585 </div>
    586 </div>
    587 <a id="gab76a4cf0385dc4a76bb56ee9f0e3e87a"></a>
    588 <h2 class="memtitle"><span class="permalink"><a href="#gab76a4cf0385dc4a76bb56ee9f0e3e87a">&#9670;&nbsp;</a></span>PrintG2ElemStr()</h2>
    589 
    590 <div class="memitem">
    591 <div class="memproto">
    592       <table class="memname">
    593         <tr>
    594           <td class="memname">void PrintG2ElemStr </td>
    595           <td>(</td>
    596           <td class="paramtype"><a class="el" href="struct_g2_elem_str.html">G2ElemStr</a> const *&#160;</td>
    597           <td class="paramname"><em>g2_elem_str</em>, </td>
    598         </tr>
    599         <tr>
    600           <td class="paramkey"></td>
    601           <td></td>
    602           <td class="paramtype">char const *&#160;</td>
    603           <td class="paramname"><em>var_name</em>, </td>
    604         </tr>
    605         <tr>
    606           <td class="paramkey"></td>
    607           <td></td>
    608           <td class="paramtype"><a class="el" href="group___epid_print.html#ga3e215d157eb205ad596bb84bce694a83">PrintUtilFormat</a>&#160;</td>
    609           <td class="paramname"><em>format</em>&#160;</td>
    610         </tr>
    611         <tr>
    612           <td></td>
    613           <td>)</td>
    614           <td></td><td></td>
    615         </tr>
    616       </table>
    617 </div><div class="memdoc">
    618 
    619 <p>Prints serialized G2 element. </p>
    620 <p>Macro EPID_ENABLE_DEBUG_PRINT needs to be defined in order to activate this routine; otherwise, it prints nothing.</p>
    621 <dl class="params"><dt>Parameters</dt><dd>
    622   <table class="params">
    623     <tr><td class="paramdir">[in]</td><td class="paramname">g2_elem_str</td><td>Serialized G2 element to be printed </td></tr>
    624     <tr><td class="paramdir">[in]</td><td class="paramname">var_name</td><td>Result variable name </td></tr>
    625     <tr><td class="paramdir">[in]</td><td class="paramname">format</td><td>Output format </td></tr>
    626   </table>
    627   </dd>
    628 </dl>
    629 
    630 </div>
    631 </div>
    632 <a id="ga138cd388247a58680d4701d59d6976d2"></a>
    633 <h2 class="memtitle"><span class="permalink"><a href="#ga138cd388247a58680d4701d59d6976d2">&#9670;&nbsp;</a></span>PrintGtElemStr()</h2>
    634 
    635 <div class="memitem">
    636 <div class="memproto">
    637       <table class="memname">
    638         <tr>
    639           <td class="memname">void PrintGtElemStr </td>
    640           <td>(</td>
    641           <td class="paramtype"><a class="el" href="struct_gt_elem_str.html">GtElemStr</a> const *&#160;</td>
    642           <td class="paramname"><em>gt_elem_str</em>, </td>
    643         </tr>
    644         <tr>
    645           <td class="paramkey"></td>
    646           <td></td>
    647           <td class="paramtype">char const *&#160;</td>
    648           <td class="paramname"><em>var_name</em>, </td>
    649         </tr>
    650         <tr>
    651           <td class="paramkey"></td>
    652           <td></td>
    653           <td class="paramtype"><a class="el" href="group___epid_print.html#ga3e215d157eb205ad596bb84bce694a83">PrintUtilFormat</a>&#160;</td>
    654           <td class="paramname"><em>format</em>&#160;</td>
    655         </tr>
    656         <tr>
    657           <td></td>
    658           <td>)</td>
    659           <td></td><td></td>
    660         </tr>
    661       </table>
    662 </div><div class="memdoc">
    663 
    664 <p>Prints serialized Gt element. </p>
    665 <p>Macro EPID_ENABLE_DEBUG_PRINT needs to be defined in order to activate this routine; otherwise, it prints nothing.</p>
    666 <dl class="params"><dt>Parameters</dt><dd>
    667   <table class="params">
    668     <tr><td class="paramdir">[in]</td><td class="paramname">gt_elem_str</td><td>Serialized G2 element to be printed </td></tr>
    669     <tr><td class="paramdir">[in]</td><td class="paramname">var_name</td><td>Result variable name </td></tr>
    670     <tr><td class="paramdir">[in]</td><td class="paramname">format</td><td>Output format </td></tr>
    671   </table>
    672   </dd>
    673 </dl>
    674 
    675 </div>
    676 </div>
    677 </div><!-- contents -->
    678 </div><!-- doc-content -->
    679 <!-- HTML footer for doxygen 1.8.10-->
    680 <!-- start footer part -->
    681 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
    682   <ul>
    683     <li class="footer">
    684       &copy; 2016-2017 Intel Corporation
    685     </li>
    686   </ul>
    687 </div>
    688 </body>
    689 </html>
    690