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® Enhanced Privacy ID SDK: epid/member/tiny/math/fq6.h File Reference</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&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® Enhanced Privacy ID SDK</a> 35  <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&dn=gpl-2.0.txt GPL-v2 */ 57 $(document).ready(function(){initNavTree('fq6_8h.html','');}); 58 /* @license-end */ 59 </script> 60 <div id="doc-content"> 61 <div class="header"> 62 <div class="summary"> 63 <a href="#func-members">Functions</a> </div> 64 <div class="headertitle"> 65 <div class="title">fq6.h File Reference</div> </div> 66 </div><!--header--> 67 <div class="contents"> 68 69 <p>Definition of Fq6 math. 70 <a href="#details">More...</a></p> 71 <div class="textblock"><code>#include <stdint.h></code><br /> 72 </div><table class="memberdecls"> 73 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> 74 Functions</h2></td></tr> 75 <tr class="memitem:a0607ab44e53c7a16f8e1b2746d250a7c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="fq6_8h.html#a0607ab44e53c7a16f8e1b2746d250a7c">Fq6Add</a> (<a class="el" href="struct_fq6_elem.html">Fq6Elem</a> *result, <a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const *left, <a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const *right)</td></tr> 76 <tr class="memdesc:a0607ab44e53c7a16f8e1b2746d250a7c"><td class="mdescLeft"> </td><td class="mdescRight">Add two elements of Fq6. <a href="#a0607ab44e53c7a16f8e1b2746d250a7c">More...</a><br /></td></tr> 77 <tr class="separator:a0607ab44e53c7a16f8e1b2746d250a7c"><td class="memSeparator" colspan="2"> </td></tr> 78 <tr class="memitem:a87d07ab842862a482410a838516ad0c7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="fq6_8h.html#a87d07ab842862a482410a838516ad0c7">Fq6Sub</a> (<a class="el" href="struct_fq6_elem.html">Fq6Elem</a> *result, <a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const *left, <a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const *right)</td></tr> 79 <tr class="memdesc:a87d07ab842862a482410a838516ad0c7"><td class="mdescLeft"> </td><td class="mdescRight">Subtract two elements of Fq6. <a href="#a87d07ab842862a482410a838516ad0c7">More...</a><br /></td></tr> 80 <tr class="separator:a87d07ab842862a482410a838516ad0c7"><td class="memSeparator" colspan="2"> </td></tr> 81 <tr class="memitem:ad1e1cac423a2c3c69a4f3629d33faaf1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="fq6_8h.html#ad1e1cac423a2c3c69a4f3629d33faaf1">Fq6Mul</a> (<a class="el" href="struct_fq6_elem.html">Fq6Elem</a> *result, <a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const *left, <a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const *right)</td></tr> 82 <tr class="memdesc:ad1e1cac423a2c3c69a4f3629d33faaf1"><td class="mdescLeft"> </td><td class="mdescRight">Multiply two elements of Fq6. <a href="#ad1e1cac423a2c3c69a4f3629d33faaf1">More...</a><br /></td></tr> 83 <tr class="separator:ad1e1cac423a2c3c69a4f3629d33faaf1"><td class="memSeparator" colspan="2"> </td></tr> 84 <tr class="memitem:a5f4708ca109578527afd8cda99acd6ee"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="fq6_8h.html#a5f4708ca109578527afd8cda99acd6ee">Fq6Inv</a> (<a class="el" href="struct_fq6_elem.html">Fq6Elem</a> *result, <a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const *in)</td></tr> 85 <tr class="memdesc:a5f4708ca109578527afd8cda99acd6ee"><td class="mdescLeft"> </td><td class="mdescRight">Invert an element of Fq6. <a href="#a5f4708ca109578527afd8cda99acd6ee">More...</a><br /></td></tr> 86 <tr class="separator:a5f4708ca109578527afd8cda99acd6ee"><td class="memSeparator" colspan="2"> </td></tr> 87 <tr class="memitem:a9a5ddbf8f16b48030209b172079d22a6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="fq6_8h.html#a9a5ddbf8f16b48030209b172079d22a6">Fq6Neg</a> (<a class="el" href="struct_fq6_elem.html">Fq6Elem</a> *result, <a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const *in)</td></tr> 88 <tr class="memdesc:a9a5ddbf8f16b48030209b172079d22a6"><td class="mdescLeft"> </td><td class="mdescRight">Negate an element of Fq6. <a href="#a9a5ddbf8f16b48030209b172079d22a6">More...</a><br /></td></tr> 89 <tr class="separator:a9a5ddbf8f16b48030209b172079d22a6"><td class="memSeparator" colspan="2"> </td></tr> 90 <tr class="memitem:a7c77a862223f577e11e595332c9fb272"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="fq6_8h.html#a7c77a862223f577e11e595332c9fb272">Fq6Clear</a> (<a class="el" href="struct_fq6_elem.html">Fq6Elem</a> *result)</td></tr> 91 <tr class="memdesc:a7c77a862223f577e11e595332c9fb272"><td class="mdescLeft"> </td><td class="mdescRight">Clear an element's value. <a href="#a7c77a862223f577e11e595332c9fb272">More...</a><br /></td></tr> 92 <tr class="separator:a7c77a862223f577e11e595332c9fb272"><td class="memSeparator" colspan="2"> </td></tr> 93 <tr class="memitem:a701d89b5c73ba67a2f765d49f5d5ae4e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="fq6_8h.html#a701d89b5c73ba67a2f765d49f5d5ae4e">Fq6MulScalar</a> (<a class="el" href="struct_fq6_elem.html">Fq6Elem</a> *result, <a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const *in, <a class="el" href="struct_fq2_elem.html">Fq2Elem</a> const *scalar)</td></tr> 94 <tr class="memdesc:a701d89b5c73ba67a2f765d49f5d5ae4e"><td class="mdescLeft"> </td><td class="mdescRight">Multiply an element of Fq6 by and element of Fq2. <a href="#a701d89b5c73ba67a2f765d49f5d5ae4e">More...</a><br /></td></tr> 95 <tr class="separator:a701d89b5c73ba67a2f765d49f5d5ae4e"><td class="memSeparator" colspan="2"> </td></tr> 96 <tr class="memitem:ad30bd276a4e2e9df3613072c38ec13ae"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="fq6_8h.html#ad30bd276a4e2e9df3613072c38ec13ae">Fq6MulV</a> (<a class="el" href="struct_fq6_elem.html">Fq6Elem</a> *result, <a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const *in)</td></tr> 97 <tr class="memdesc:ad30bd276a4e2e9df3613072c38ec13ae"><td class="mdescLeft"> </td><td class="mdescRight">Multiply an element of Fq6 by V. <a href="#ad30bd276a4e2e9df3613072c38ec13ae">More...</a><br /></td></tr> 98 <tr class="separator:ad30bd276a4e2e9df3613072c38ec13ae"><td class="memSeparator" colspan="2"> </td></tr> 99 <tr class="memitem:aaf54d03c0afdb6eeced6ddad1237c2e4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="fq6_8h.html#aaf54d03c0afdb6eeced6ddad1237c2e4">Fq6Eq</a> (<a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const *left, <a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const *right)</td></tr> 100 <tr class="memdesc:aaf54d03c0afdb6eeced6ddad1237c2e4"><td class="mdescLeft"> </td><td class="mdescRight">Test if two elements in Fq6 are equal. <a href="#aaf54d03c0afdb6eeced6ddad1237c2e4">More...</a><br /></td></tr> 101 <tr class="separator:aaf54d03c0afdb6eeced6ddad1237c2e4"><td class="memSeparator" colspan="2"> </td></tr> 102 <tr class="memitem:a634aab5dc04177587a22324352ff91e5"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="fq6_8h.html#a634aab5dc04177587a22324352ff91e5">Fq6IsZero</a> (<a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const *in)</td></tr> 103 <tr class="memdesc:a634aab5dc04177587a22324352ff91e5"><td class="mdescLeft"> </td><td class="mdescRight">Test if an element is zero. <a href="#a634aab5dc04177587a22324352ff91e5">More...</a><br /></td></tr> 104 <tr class="separator:a634aab5dc04177587a22324352ff91e5"><td class="memSeparator" colspan="2"> </td></tr> 105 <tr class="memitem:a58e5b68a86b776d82ade8307046e2375"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="fq6_8h.html#a58e5b68a86b776d82ade8307046e2375">Fq6Square</a> (<a class="el" href="struct_fq6_elem.html">Fq6Elem</a> *result, <a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const *in)</td></tr> 106 <tr class="memdesc:a58e5b68a86b776d82ade8307046e2375"><td class="mdescLeft"> </td><td class="mdescRight">Square an element of Fq6. <a href="#a58e5b68a86b776d82ade8307046e2375">More...</a><br /></td></tr> 107 <tr class="separator:a58e5b68a86b776d82ade8307046e2375"><td class="memSeparator" colspan="2"> </td></tr> 108 <tr class="memitem:a36bd769bc95b887f75bb60c2f7a45e17"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="fq6_8h.html#a36bd769bc95b887f75bb60c2f7a45e17">Fq6Cp</a> (<a class="el" href="struct_fq6_elem.html">Fq6Elem</a> *result, <a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const *in)</td></tr> 109 <tr class="memdesc:a36bd769bc95b887f75bb60c2f7a45e17"><td class="mdescLeft"> </td><td class="mdescRight">Copy an element's value. <a href="#a36bd769bc95b887f75bb60c2f7a45e17">More...</a><br /></td></tr> 110 <tr class="separator:a36bd769bc95b887f75bb60c2f7a45e17"><td class="memSeparator" colspan="2"> </td></tr> 111 <tr class="memitem:aa0c82e905ee190ad2187b89e464466d4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="fq6_8h.html#aa0c82e905ee190ad2187b89e464466d4">Fq6CondSet</a> (<a class="el" href="struct_fq6_elem.html">Fq6Elem</a> *result, <a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const *true_val, <a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const *false_val, int truth_val)</td></tr> 112 <tr class="memdesc:aa0c82e905ee190ad2187b89e464466d4"><td class="mdescLeft"> </td><td class="mdescRight">Conditionally Set an element's value to one of two values. <a href="#aa0c82e905ee190ad2187b89e464466d4">More...</a><br /></td></tr> 113 <tr class="separator:aa0c82e905ee190ad2187b89e464466d4"><td class="memSeparator" colspan="2"> </td></tr> 114 <tr class="memitem:a06b8c3988c3782fda22c9ffb47b5180b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="fq6_8h.html#a06b8c3988c3782fda22c9ffb47b5180b">Fq6Set</a> (<a class="el" href="struct_fq6_elem.html">Fq6Elem</a> *result, uint32_t in)</td></tr> 115 <tr class="memdesc:a06b8c3988c3782fda22c9ffb47b5180b"><td class="mdescLeft"> </td><td class="mdescRight">Set an element's value. <a href="#a06b8c3988c3782fda22c9ffb47b5180b">More...</a><br /></td></tr> 116 <tr class="separator:a06b8c3988c3782fda22c9ffb47b5180b"><td class="memSeparator" colspan="2"> </td></tr> 117 </table> 118 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> 119 <div class="textblock"><p>Definition of Fq6 math. </p> 120 </div><h2 class="groupheader">Function Documentation</h2> 121 <a id="a0607ab44e53c7a16f8e1b2746d250a7c"></a> 122 <h2 class="memtitle"><span class="permalink"><a href="#a0607ab44e53c7a16f8e1b2746d250a7c">◆ </a></span>Fq6Add()</h2> 123 124 <div class="memitem"> 125 <div class="memproto"> 126 <table class="memname"> 127 <tr> 128 <td class="memname">void Fq6Add </td> 129 <td>(</td> 130 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td> 131 <td class="paramname"><em>result</em>, </td> 132 </tr> 133 <tr> 134 <td class="paramkey"></td> 135 <td></td> 136 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td> 137 <td class="paramname"><em>left</em>, </td> 138 </tr> 139 <tr> 140 <td class="paramkey"></td> 141 <td></td> 142 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td> 143 <td class="paramname"><em>right</em> </td> 144 </tr> 145 <tr> 146 <td></td> 147 <td>)</td> 148 <td></td><td></td> 149 </tr> 150 </table> 151 </div><div class="memdoc"> 152 153 <p>Add two elements of Fq6. </p> 154 <dl class="params"><dt>Parameters</dt><dd> 155 <table class="params"> 156 <tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>of adding left and right. </td></tr> 157 <tr><td class="paramdir">[in]</td><td class="paramname">left</td><td>The first operand to be added. </td></tr> 158 <tr><td class="paramdir">[in]</td><td class="paramname">right</td><td>The second operand to be added. </td></tr> 159 </table> 160 </dd> 161 </dl> 162 163 </div> 164 </div> 165 <a id="a7c77a862223f577e11e595332c9fb272"></a> 166 <h2 class="memtitle"><span class="permalink"><a href="#a7c77a862223f577e11e595332c9fb272">◆ </a></span>Fq6Clear()</h2> 167 168 <div class="memitem"> 169 <div class="memproto"> 170 <table class="memname"> 171 <tr> 172 <td class="memname">void Fq6Clear </td> 173 <td>(</td> 174 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td> 175 <td class="paramname"><em>result</em></td><td>)</td> 176 <td></td> 177 </tr> 178 </table> 179 </div><div class="memdoc"> 180 181 <p>Clear an element's value. </p> 182 <dl class="params"><dt>Parameters</dt><dd> 183 <table class="params"> 184 <tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>element to clear. </td></tr> 185 </table> 186 </dd> 187 </dl> 188 189 </div> 190 </div> 191 <a id="aa0c82e905ee190ad2187b89e464466d4"></a> 192 <h2 class="memtitle"><span class="permalink"><a href="#aa0c82e905ee190ad2187b89e464466d4">◆ </a></span>Fq6CondSet()</h2> 193 194 <div class="memitem"> 195 <div class="memproto"> 196 <table class="memname"> 197 <tr> 198 <td class="memname">void Fq6CondSet </td> 199 <td>(</td> 200 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td> 201 <td class="paramname"><em>result</em>, </td> 202 </tr> 203 <tr> 204 <td class="paramkey"></td> 205 <td></td> 206 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td> 207 <td class="paramname"><em>true_val</em>, </td> 208 </tr> 209 <tr> 210 <td class="paramkey"></td> 211 <td></td> 212 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td> 213 <td class="paramname"><em>false_val</em>, </td> 214 </tr> 215 <tr> 216 <td class="paramkey"></td> 217 <td></td> 218 <td class="paramtype">int </td> 219 <td class="paramname"><em>truth_val</em> </td> 220 </tr> 221 <tr> 222 <td></td> 223 <td>)</td> 224 <td></td><td></td> 225 </tr> 226 </table> 227 </div><div class="memdoc"> 228 229 <p>Conditionally Set an element's value to one of two values. </p> 230 <dl class="params"><dt>Parameters</dt><dd> 231 <table class="params"> 232 <tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>target. </td></tr> 233 <tr><td class="paramdir">[in]</td><td class="paramname">true_val</td><td>value to set if condition is true. </td></tr> 234 <tr><td class="paramdir">[in]</td><td class="paramname">false_val</td><td>value to set if condition is false. </td></tr> 235 <tr><td class="paramdir">[in]</td><td class="paramname">truth_val</td><td>value of condition. </td></tr> 236 </table> 237 </dd> 238 </dl> 239 240 </div> 241 </div> 242 <a id="a36bd769bc95b887f75bb60c2f7a45e17"></a> 243 <h2 class="memtitle"><span class="permalink"><a href="#a36bd769bc95b887f75bb60c2f7a45e17">◆ </a></span>Fq6Cp()</h2> 244 245 <div class="memitem"> 246 <div class="memproto"> 247 <table class="memname"> 248 <tr> 249 <td class="memname">void Fq6Cp </td> 250 <td>(</td> 251 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td> 252 <td class="paramname"><em>result</em>, </td> 253 </tr> 254 <tr> 255 <td class="paramkey"></td> 256 <td></td> 257 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td> 258 <td class="paramname"><em>in</em> </td> 259 </tr> 260 <tr> 261 <td></td> 262 <td>)</td> 263 <td></td><td></td> 264 </tr> 265 </table> 266 </div><div class="memdoc"> 267 268 <p>Copy an element's value. </p> 269 <dl class="params"><dt>Parameters</dt><dd> 270 <table class="params"> 271 <tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>copy target. </td></tr> 272 <tr><td class="paramdir">[in]</td><td class="paramname">in</td><td>copy source. </td></tr> 273 </table> 274 </dd> 275 </dl> 276 277 </div> 278 </div> 279 <a id="aaf54d03c0afdb6eeced6ddad1237c2e4"></a> 280 <h2 class="memtitle"><span class="permalink"><a href="#aaf54d03c0afdb6eeced6ddad1237c2e4">◆ </a></span>Fq6Eq()</h2> 281 282 <div class="memitem"> 283 <div class="memproto"> 284 <table class="memname"> 285 <tr> 286 <td class="memname">int Fq6Eq </td> 287 <td>(</td> 288 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td> 289 <td class="paramname"><em>left</em>, </td> 290 </tr> 291 <tr> 292 <td class="paramkey"></td> 293 <td></td> 294 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td> 295 <td class="paramname"><em>right</em> </td> 296 </tr> 297 <tr> 298 <td></td> 299 <td>)</td> 300 <td></td><td></td> 301 </tr> 302 </table> 303 </div><div class="memdoc"> 304 305 <p>Test if two elements in Fq6 are equal. </p> 306 <dl class="params"><dt>Parameters</dt><dd> 307 <table class="params"> 308 <tr><td class="paramdir">[in]</td><td class="paramname">left</td><td>The first operand to be tested. </td></tr> 309 <tr><td class="paramdir">[in]</td><td class="paramname">right</td><td>The second operand to be tested. </td></tr> 310 </table> 311 </dd> 312 </dl> 313 <dl class="section return"><dt>Returns</dt><dd>A value different from zero (i.e., true) if indeed the values are equal. Zero (i.e., false) otherwise. </dd></dl> 314 315 </div> 316 </div> 317 <a id="a5f4708ca109578527afd8cda99acd6ee"></a> 318 <h2 class="memtitle"><span class="permalink"><a href="#a5f4708ca109578527afd8cda99acd6ee">◆ </a></span>Fq6Inv()</h2> 319 320 <div class="memitem"> 321 <div class="memproto"> 322 <table class="memname"> 323 <tr> 324 <td class="memname">void Fq6Inv </td> 325 <td>(</td> 326 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td> 327 <td class="paramname"><em>result</em>, </td> 328 </tr> 329 <tr> 330 <td class="paramkey"></td> 331 <td></td> 332 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td> 333 <td class="paramname"><em>in</em> </td> 334 </tr> 335 <tr> 336 <td></td> 337 <td>)</td> 338 <td></td><td></td> 339 </tr> 340 </table> 341 </div><div class="memdoc"> 342 343 <p>Invert an element of Fq6. </p> 344 <dl class="params"><dt>Parameters</dt><dd> 345 <table class="params"> 346 <tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>the inverse of the element. </td></tr> 347 <tr><td class="paramdir">[in]</td><td class="paramname">in</td><td>the element to invert. </td></tr> 348 </table> 349 </dd> 350 </dl> 351 352 </div> 353 </div> 354 <a id="a634aab5dc04177587a22324352ff91e5"></a> 355 <h2 class="memtitle"><span class="permalink"><a href="#a634aab5dc04177587a22324352ff91e5">◆ </a></span>Fq6IsZero()</h2> 356 357 <div class="memitem"> 358 <div class="memproto"> 359 <table class="memname"> 360 <tr> 361 <td class="memname">int Fq6IsZero </td> 362 <td>(</td> 363 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td> 364 <td class="paramname"><em>in</em></td><td>)</td> 365 <td></td> 366 </tr> 367 </table> 368 </div><div class="memdoc"> 369 370 <p>Test if an element is zero. </p> 371 <dl class="params"><dt>Parameters</dt><dd> 372 <table class="params"> 373 <tr><td class="paramdir">[in]</td><td class="paramname">in</td><td>the element to test. </td></tr> 374 </table> 375 </dd> 376 </dl> 377 <dl class="section return"><dt>Returns</dt><dd>A value different from zero (i.e., true) if indeed the value is zero. Zero (i.e., false) otherwise. </dd></dl> 378 379 </div> 380 </div> 381 <a id="ad1e1cac423a2c3c69a4f3629d33faaf1"></a> 382 <h2 class="memtitle"><span class="permalink"><a href="#ad1e1cac423a2c3c69a4f3629d33faaf1">◆ </a></span>Fq6Mul()</h2> 383 384 <div class="memitem"> 385 <div class="memproto"> 386 <table class="memname"> 387 <tr> 388 <td class="memname">void Fq6Mul </td> 389 <td>(</td> 390 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td> 391 <td class="paramname"><em>result</em>, </td> 392 </tr> 393 <tr> 394 <td class="paramkey"></td> 395 <td></td> 396 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td> 397 <td class="paramname"><em>left</em>, </td> 398 </tr> 399 <tr> 400 <td class="paramkey"></td> 401 <td></td> 402 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td> 403 <td class="paramname"><em>right</em> </td> 404 </tr> 405 <tr> 406 <td></td> 407 <td>)</td> 408 <td></td><td></td> 409 </tr> 410 </table> 411 </div><div class="memdoc"> 412 413 <p>Multiply two elements of Fq6. </p> 414 <dl class="params"><dt>Parameters</dt><dd> 415 <table class="params"> 416 <tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>of multiplying left and right. </td></tr> 417 <tr><td class="paramdir">[in]</td><td class="paramname">left</td><td>The first operand to be multiplied. </td></tr> 418 <tr><td class="paramdir">[in]</td><td class="paramname">right</td><td>The second operand to be multiplied. </td></tr> 419 </table> 420 </dd> 421 </dl> 422 423 </div> 424 </div> 425 <a id="a701d89b5c73ba67a2f765d49f5d5ae4e"></a> 426 <h2 class="memtitle"><span class="permalink"><a href="#a701d89b5c73ba67a2f765d49f5d5ae4e">◆ </a></span>Fq6MulScalar()</h2> 427 428 <div class="memitem"> 429 <div class="memproto"> 430 <table class="memname"> 431 <tr> 432 <td class="memname">void Fq6MulScalar </td> 433 <td>(</td> 434 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td> 435 <td class="paramname"><em>result</em>, </td> 436 </tr> 437 <tr> 438 <td class="paramkey"></td> 439 <td></td> 440 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td> 441 <td class="paramname"><em>in</em>, </td> 442 </tr> 443 <tr> 444 <td class="paramkey"></td> 445 <td></td> 446 <td class="paramtype"><a class="el" href="struct_fq2_elem.html">Fq2Elem</a> const * </td> 447 <td class="paramname"><em>scalar</em> </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 457 <p>Multiply an element of Fq6 by and element of Fq2. </p> 458 <dl class="params"><dt>Parameters</dt><dd> 459 <table class="params"> 460 <tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>of multiplying left and right. </td></tr> 461 <tr><td class="paramdir">[in]</td><td class="paramname">in</td><td>The first operand to be multiplied. </td></tr> 462 <tr><td class="paramdir">[in]</td><td class="paramname">scalar</td><td>The second operand to be multiplied. </td></tr> 463 </table> 464 </dd> 465 </dl> 466 467 </div> 468 </div> 469 <a id="ad30bd276a4e2e9df3613072c38ec13ae"></a> 470 <h2 class="memtitle"><span class="permalink"><a href="#ad30bd276a4e2e9df3613072c38ec13ae">◆ </a></span>Fq6MulV()</h2> 471 472 <div class="memitem"> 473 <div class="memproto"> 474 <table class="memname"> 475 <tr> 476 <td class="memname">void Fq6MulV </td> 477 <td>(</td> 478 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td> 479 <td class="paramname"><em>result</em>, </td> 480 </tr> 481 <tr> 482 <td class="paramkey"></td> 483 <td></td> 484 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td> 485 <td class="paramname"><em>in</em> </td> 486 </tr> 487 <tr> 488 <td></td> 489 <td>)</td> 490 <td></td><td></td> 491 </tr> 492 </table> 493 </div><div class="memdoc"> 494 495 <p>Multiply an element of Fq6 by V. </p> 496 <p>This function was formerly called as Fq2Const.</p> 497 <dl class="params"><dt>Parameters</dt><dd> 498 <table class="params"> 499 <tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>of multiplying in and V. </td></tr> 500 <tr><td class="paramdir">[in]</td><td class="paramname">in</td><td>The first operand to be multiplied. </td></tr> 501 </table> 502 </dd> 503 </dl> 504 505 </div> 506 </div> 507 <a id="a9a5ddbf8f16b48030209b172079d22a6"></a> 508 <h2 class="memtitle"><span class="permalink"><a href="#a9a5ddbf8f16b48030209b172079d22a6">◆ </a></span>Fq6Neg()</h2> 509 510 <div class="memitem"> 511 <div class="memproto"> 512 <table class="memname"> 513 <tr> 514 <td class="memname">void Fq6Neg </td> 515 <td>(</td> 516 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td> 517 <td class="paramname"><em>result</em>, </td> 518 </tr> 519 <tr> 520 <td class="paramkey"></td> 521 <td></td> 522 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td> 523 <td class="paramname"><em>in</em> </td> 524 </tr> 525 <tr> 526 <td></td> 527 <td>)</td> 528 <td></td><td></td> 529 </tr> 530 </table> 531 </div><div class="memdoc"> 532 533 <p>Negate an element of Fq6. </p> 534 <dl class="params"><dt>Parameters</dt><dd> 535 <table class="params"> 536 <tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>the negative of the element. </td></tr> 537 <tr><td class="paramdir">[in]</td><td class="paramname">in</td><td>the element to negate. </td></tr> 538 </table> 539 </dd> 540 </dl> 541 542 </div> 543 </div> 544 <a id="a06b8c3988c3782fda22c9ffb47b5180b"></a> 545 <h2 class="memtitle"><span class="permalink"><a href="#a06b8c3988c3782fda22c9ffb47b5180b">◆ </a></span>Fq6Set()</h2> 546 547 <div class="memitem"> 548 <div class="memproto"> 549 <table class="memname"> 550 <tr> 551 <td class="memname">void Fq6Set </td> 552 <td>(</td> 553 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td> 554 <td class="paramname"><em>result</em>, </td> 555 </tr> 556 <tr> 557 <td class="paramkey"></td> 558 <td></td> 559 <td class="paramtype">uint32_t </td> 560 <td class="paramname"><em>in</em> </td> 561 </tr> 562 <tr> 563 <td></td> 564 <td>)</td> 565 <td></td><td></td> 566 </tr> 567 </table> 568 </div><div class="memdoc"> 569 570 <p>Set an element's value. </p> 571 <dl class="params"><dt>Parameters</dt><dd> 572 <table class="params"> 573 <tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>target. </td></tr> 574 <tr><td class="paramdir">[in]</td><td class="paramname">in</td><td>value to set. </td></tr> 575 </table> 576 </dd> 577 </dl> 578 579 </div> 580 </div> 581 <a id="a58e5b68a86b776d82ade8307046e2375"></a> 582 <h2 class="memtitle"><span class="permalink"><a href="#a58e5b68a86b776d82ade8307046e2375">◆ </a></span>Fq6Square()</h2> 583 584 <div class="memitem"> 585 <div class="memproto"> 586 <table class="memname"> 587 <tr> 588 <td class="memname">void Fq6Square </td> 589 <td>(</td> 590 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td> 591 <td class="paramname"><em>result</em>, </td> 592 </tr> 593 <tr> 594 <td class="paramkey"></td> 595 <td></td> 596 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td> 597 <td class="paramname"><em>in</em> </td> 598 </tr> 599 <tr> 600 <td></td> 601 <td>)</td> 602 <td></td><td></td> 603 </tr> 604 </table> 605 </div><div class="memdoc"> 606 607 <p>Square an element of Fq6. </p> 608 <dl class="params"><dt>Parameters</dt><dd> 609 <table class="params"> 610 <tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>the square of the element. </td></tr> 611 <tr><td class="paramdir">[in]</td><td class="paramname">in</td><td>the element to square. </td></tr> 612 </table> 613 </dd> 614 </dl> 615 616 </div> 617 </div> 618 <a id="a87d07ab842862a482410a838516ad0c7"></a> 619 <h2 class="memtitle"><span class="permalink"><a href="#a87d07ab842862a482410a838516ad0c7">◆ </a></span>Fq6Sub()</h2> 620 621 <div class="memitem"> 622 <div class="memproto"> 623 <table class="memname"> 624 <tr> 625 <td class="memname">void Fq6Sub </td> 626 <td>(</td> 627 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td> 628 <td class="paramname"><em>result</em>, </td> 629 </tr> 630 <tr> 631 <td class="paramkey"></td> 632 <td></td> 633 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td> 634 <td class="paramname"><em>left</em>, </td> 635 </tr> 636 <tr> 637 <td class="paramkey"></td> 638 <td></td> 639 <td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td> 640 <td class="paramname"><em>right</em> </td> 641 </tr> 642 <tr> 643 <td></td> 644 <td>)</td> 645 <td></td><td></td> 646 </tr> 647 </table> 648 </div><div class="memdoc"> 649 650 <p>Subtract two elements of Fq6. </p> 651 <dl class="params"><dt>Parameters</dt><dd> 652 <table class="params"> 653 <tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>of subtracting left from right. </td></tr> 654 <tr><td class="paramdir">[in]</td><td class="paramname">left</td><td>The operand to be subtracted from. </td></tr> 655 <tr><td class="paramdir">[in]</td><td class="paramname">right</td><td>The operand to subtract. </td></tr> 656 </table> 657 </dd> 658 </dl> 659 660 </div> 661 </div> 662 </div><!-- contents --> 663 </div><!-- doc-content --> 664 <!-- HTML footer for doxygen 1.8.10--> 665 <!-- start footer part --> 666 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> 667 <ul> 668 <li class="navelem"><a class="el" href="dir_12b90d9c027aaf878a834df729679a56.html">epid</a></li><li class="navelem"><a class="el" href="dir_512d3e62841a8535b716ec4cf8b9e950.html">member</a></li><li class="navelem"><a class="el" href="dir_ea12d375fc1eb79df248c0adf953af4f.html">tiny</a></li><li class="navelem"><a class="el" href="dir_5f2fc2cf41db41de2b55e03ffa7a1d16.html">math</a></li><li class="navelem"><a class="el" href="fq6_8h.html">fq6.h</a></li> 669 <li class="footer"> 670 © 2016-2017 Intel Corporation 671 </li> 672 </ul> 673 </div> 674 </body> 675 </html> 676