<!-- HTML header for doxygen 1.8.10-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<title>Intel® Enhanced Privacy ID SDK: epid/member/tiny/math/fq6.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="epidstyle.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname"><a
onclick="storeLink('index.html')"
id="projectlink"
class="index.html"
href="index.html">Intel® Enhanced Privacy ID SDK</a>
 <span id="projectnumber">6.0.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('fq6_8h.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">fq6.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Definition of Fq6 math.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include <stdint.h></code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<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>
<tr class="memdesc:a0607ab44e53c7a16f8e1b2746d250a7c"><td class="mdescLeft"> </td><td class="mdescRight">Add two elements of Fq6. <a href="#a0607ab44e53c7a16f8e1b2746d250a7c">More...</a><br /></td></tr>
<tr class="separator:a0607ab44e53c7a16f8e1b2746d250a7c"><td class="memSeparator" colspan="2"> </td></tr>
<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>
<tr class="memdesc:a87d07ab842862a482410a838516ad0c7"><td class="mdescLeft"> </td><td class="mdescRight">Subtract two elements of Fq6. <a href="#a87d07ab842862a482410a838516ad0c7">More...</a><br /></td></tr>
<tr class="separator:a87d07ab842862a482410a838516ad0c7"><td class="memSeparator" colspan="2"> </td></tr>
<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>
<tr class="memdesc:ad1e1cac423a2c3c69a4f3629d33faaf1"><td class="mdescLeft"> </td><td class="mdescRight">Multiply two elements of Fq6. <a href="#ad1e1cac423a2c3c69a4f3629d33faaf1">More...</a><br /></td></tr>
<tr class="separator:ad1e1cac423a2c3c69a4f3629d33faaf1"><td class="memSeparator" colspan="2"> </td></tr>
<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>
<tr class="memdesc:a5f4708ca109578527afd8cda99acd6ee"><td class="mdescLeft"> </td><td class="mdescRight">Invert an element of Fq6. <a href="#a5f4708ca109578527afd8cda99acd6ee">More...</a><br /></td></tr>
<tr class="separator:a5f4708ca109578527afd8cda99acd6ee"><td class="memSeparator" colspan="2"> </td></tr>
<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>
<tr class="memdesc:a9a5ddbf8f16b48030209b172079d22a6"><td class="mdescLeft"> </td><td class="mdescRight">Negate an element of Fq6. <a href="#a9a5ddbf8f16b48030209b172079d22a6">More...</a><br /></td></tr>
<tr class="separator:a9a5ddbf8f16b48030209b172079d22a6"><td class="memSeparator" colspan="2"> </td></tr>
<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>
<tr class="memdesc:a7c77a862223f577e11e595332c9fb272"><td class="mdescLeft"> </td><td class="mdescRight">Clear an element's value. <a href="#a7c77a862223f577e11e595332c9fb272">More...</a><br /></td></tr>
<tr class="separator:a7c77a862223f577e11e595332c9fb272"><td class="memSeparator" colspan="2"> </td></tr>
<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>
<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>
<tr class="separator:a701d89b5c73ba67a2f765d49f5d5ae4e"><td class="memSeparator" colspan="2"> </td></tr>
<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>
<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>
<tr class="separator:ad30bd276a4e2e9df3613072c38ec13ae"><td class="memSeparator" colspan="2"> </td></tr>
<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>
<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>
<tr class="separator:aaf54d03c0afdb6eeced6ddad1237c2e4"><td class="memSeparator" colspan="2"> </td></tr>
<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>
<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>
<tr class="separator:a634aab5dc04177587a22324352ff91e5"><td class="memSeparator" colspan="2"> </td></tr>
<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>
<tr class="memdesc:a58e5b68a86b776d82ade8307046e2375"><td class="mdescLeft"> </td><td class="mdescRight">Square an element of Fq6. <a href="#a58e5b68a86b776d82ade8307046e2375">More...</a><br /></td></tr>
<tr class="separator:a58e5b68a86b776d82ade8307046e2375"><td class="memSeparator" colspan="2"> </td></tr>
<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>
<tr class="memdesc:a36bd769bc95b887f75bb60c2f7a45e17"><td class="mdescLeft"> </td><td class="mdescRight">Copy an element's value. <a href="#a36bd769bc95b887f75bb60c2f7a45e17">More...</a><br /></td></tr>
<tr class="separator:a36bd769bc95b887f75bb60c2f7a45e17"><td class="memSeparator" colspan="2"> </td></tr>
<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>
<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>
<tr class="separator:aa0c82e905ee190ad2187b89e464466d4"><td class="memSeparator" colspan="2"> </td></tr>
<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>
<tr class="memdesc:a06b8c3988c3782fda22c9ffb47b5180b"><td class="mdescLeft"> </td><td class="mdescRight">Set an element's value. <a href="#a06b8c3988c3782fda22c9ffb47b5180b">More...</a><br /></td></tr>
<tr class="separator:a06b8c3988c3782fda22c9ffb47b5180b"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Definition of Fq6 math. </p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="a0607ab44e53c7a16f8e1b2746d250a7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0607ab44e53c7a16f8e1b2746d250a7c">◆ </a></span>Fq6Add()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Fq6Add </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td>
<td class="paramname"><em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td>
<td class="paramname"><em>right</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Add two elements of Fq6. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>of adding left and right. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">left</td><td>The first operand to be added. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">right</td><td>The second operand to be added. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a7c77a862223f577e11e595332c9fb272"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c77a862223f577e11e595332c9fb272">◆ </a></span>Fq6Clear()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Fq6Clear </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td>
<td class="paramname"><em>result</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Clear an element's value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>element to clear. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aa0c82e905ee190ad2187b89e464466d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0c82e905ee190ad2187b89e464466d4">◆ </a></span>Fq6CondSet()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Fq6CondSet </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td>
<td class="paramname"><em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td>
<td class="paramname"><em>true_val</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td>
<td class="paramname"><em>false_val</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>truth_val</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Conditionally Set an element's value to one of two values. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>target. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">true_val</td><td>value to set if condition is true. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">false_val</td><td>value to set if condition is false. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">truth_val</td><td>value of condition. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a36bd769bc95b887f75bb60c2f7a45e17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36bd769bc95b887f75bb60c2f7a45e17">◆ </a></span>Fq6Cp()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Fq6Cp </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td>
<td class="paramname"><em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td>
<td class="paramname"><em>in</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Copy an element's value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>copy target. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">in</td><td>copy source. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aaf54d03c0afdb6eeced6ddad1237c2e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf54d03c0afdb6eeced6ddad1237c2e4">◆ </a></span>Fq6Eq()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Fq6Eq </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td>
<td class="paramname"><em>right</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Test if two elements in Fq6 are equal. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">left</td><td>The first operand to be tested. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">right</td><td>The second operand to be tested. </td></tr>
</table>
</dd>
</dl>
<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>
</div>
</div>
<a id="a5f4708ca109578527afd8cda99acd6ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f4708ca109578527afd8cda99acd6ee">◆ </a></span>Fq6Inv()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Fq6Inv </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td>
<td class="paramname"><em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td>
<td class="paramname"><em>in</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Invert an element of Fq6. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>the inverse of the element. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">in</td><td>the element to invert. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a634aab5dc04177587a22324352ff91e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a634aab5dc04177587a22324352ff91e5">◆ </a></span>Fq6IsZero()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Fq6IsZero </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td>
<td class="paramname"><em>in</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Test if an element is zero. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">in</td><td>the element to test. </td></tr>
</table>
</dd>
</dl>
<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>
</div>
</div>
<a id="ad1e1cac423a2c3c69a4f3629d33faaf1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1e1cac423a2c3c69a4f3629d33faaf1">◆ </a></span>Fq6Mul()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Fq6Mul </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td>
<td class="paramname"><em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td>
<td class="paramname"><em>right</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Multiply two elements of Fq6. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>of multiplying left and right. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">left</td><td>The first operand to be multiplied. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">right</td><td>The second operand to be multiplied. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a701d89b5c73ba67a2f765d49f5d5ae4e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a701d89b5c73ba67a2f765d49f5d5ae4e">◆ </a></span>Fq6MulScalar()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Fq6MulScalar </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td>
<td class="paramname"><em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td>
<td class="paramname"><em>in</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_fq2_elem.html">Fq2Elem</a> const * </td>
<td class="paramname"><em>scalar</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Multiply an element of Fq6 by and element of Fq2. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>of multiplying left and right. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">in</td><td>The first operand to be multiplied. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">scalar</td><td>The second operand to be multiplied. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ad30bd276a4e2e9df3613072c38ec13ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad30bd276a4e2e9df3613072c38ec13ae">◆ </a></span>Fq6MulV()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Fq6MulV </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td>
<td class="paramname"><em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td>
<td class="paramname"><em>in</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Multiply an element of Fq6 by V. </p>
<p>This function was formerly called as Fq2Const.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>of multiplying in and V. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">in</td><td>The first operand to be multiplied. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a9a5ddbf8f16b48030209b172079d22a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a5ddbf8f16b48030209b172079d22a6">◆ </a></span>Fq6Neg()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Fq6Neg </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td>
<td class="paramname"><em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td>
<td class="paramname"><em>in</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Negate an element of Fq6. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>the negative of the element. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">in</td><td>the element to negate. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a06b8c3988c3782fda22c9ffb47b5180b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06b8c3988c3782fda22c9ffb47b5180b">◆ </a></span>Fq6Set()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Fq6Set </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td>
<td class="paramname"><em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t </td>
<td class="paramname"><em>in</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set an element's value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>target. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">in</td><td>value to set. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a58e5b68a86b776d82ade8307046e2375"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58e5b68a86b776d82ade8307046e2375">◆ </a></span>Fq6Square()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Fq6Square </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td>
<td class="paramname"><em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td>
<td class="paramname"><em>in</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Square an element of Fq6. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>the square of the element. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">in</td><td>the element to square. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a87d07ab842862a482410a838516ad0c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87d07ab842862a482410a838516ad0c7">◆ </a></span>Fq6Sub()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Fq6Sub </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> * </td>
<td class="paramname"><em>result</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="struct_fq6_elem.html">Fq6Elem</a> const * </td>
<td class="paramname"><em>right</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Subtract two elements of Fq6. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>of subtracting left from right. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">left</td><td>The operand to be subtracted from. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">right</td><td>The operand to subtract. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.10-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_12b90d9c027aaf878a834df729679a56.html">epid</a></li><li class="navelem"><a class="el" href="dir_512d3e62841a8535b716ec4cf8b9e950.html">member</a></li><li class="navelem"><a class="el" href="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>
<li class="footer">
© 2016-2017 Intel Corporation
</li>
</ul>
</div>
</body>
</html>