group___epid_print.html 34 KB

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