group___epid_print.html 33 KB

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