blob: 3d49ec45211a5945c53c5bb056e680b306f3b056 [file] [log] [blame]
<!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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AMCL: big_512_60.h Source File</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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js"></script>
<link href="doxygen.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">AMCL
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_df7310d1a865926cc859bcfb1880083f.html">include</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">big_512_60.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="big__512__60_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> or more contributor license agreements. See the NOTICE file</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> distributed with this work for additional information</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> regarding copyright ownership. The ASF licenses this file</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> &quot;License&quot;); you may not use this file except in compliance</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> with the License. You may obtain a copy of the License at</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> Unless required by applicable law or agreed to in writing,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> software distributed under the License is distributed on an</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> KIND, either express or implied. See the License for the</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> specific language governing permissions and limitations</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> under the License.</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#ifndef BIG_512_60_H</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#define BIG_512_60_H</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#include &lt;stdio.h&gt;</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#include &lt;stdlib.h&gt;</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &lt;inttypes.h&gt;</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="arch_8h.html">arch.h</a>&quot;</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &quot;amcl.h&quot;</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="config__big__512__60_8h.html">config_big_512_60.h</a>&quot;</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="comment">//#define UNWOUND</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="big__512__60_8h.html#a4454ac6a7c8674732938e8365996729a"> 39</a></span>&#160;<span class="preprocessor">#define BIGBITS_512_60 (8*MODBYTES_512_60) </span></div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="big__512__60_8h.html#adec8989721abc8479e76ab775cfaea1b"> 40</a></span>&#160;<span class="preprocessor">#define NLEN_512_60 (1+((8*MODBYTES_512_60-1)/BASEBITS_512_60)) </span></div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="big__512__60_8h.html#a2191aa95a9d5d44b396978d1be7d4342"> 41</a></span>&#160;<span class="preprocessor">#define DNLEN_512_60 2*NLEN_512_60 </span></div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="big__512__60_8h.html#a96bcba0cd64bdfa12f1418b8304e7402"> 42</a></span>&#160;<span class="preprocessor">#define BMASK_512_60 (((chunk)1&lt;&lt;BASEBITS_512_60)-1) </span></div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="big__512__60_8h.html#a5708fee15b225da579de35fc1b89ca67"> 43</a></span>&#160;<span class="preprocessor">#define NEXCESS_512_60 (1&lt;&lt;(CHUNK-BASEBITS_512_60-1)) </span></div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="big__512__60_8h.html#a8746466df5a0ab5785e3d216491e3808"> 45</a></span>&#160;<span class="preprocessor">#define HBITS_512_60 (BASEBITS_512_60/2) </span></div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="big__512__60_8h.html#a9aacc37fac51d75221f45eeeaa7ae4a6"> 46</a></span>&#160;<span class="preprocessor">#define HMASK_512_60 (((chunk)1&lt;&lt;HBITS_512_60)-1) </span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="preprocessor">//#define DEBUG_NORM</span></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="preprocessor">#ifdef DEBUG_NORM </span><span class="comment">/* Add an extra location to track chunk extension */</span><span class="preprocessor"></span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="preprocessor">#define MPV_512_60 NLEN_512_60</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor">#define MNV_512_60 (NLEN_512_60+1)</span></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="keyword">typedef</span> <a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> <a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a>[<a class="code" href="big__512__60_8h.html#adec8989721abc8479e76ab775cfaea1b">NLEN_512_60</a>+2]; </div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor">#define DMPV_512_60 DNLEN_512_60</span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="preprocessor">#define DMNV_512_60 (DNLEN_512_60+1)</span></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="keyword">typedef</span> <a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> <a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a>[<a class="code" href="big__512__60_8h.html#a2191aa95a9d5d44b396978d1be7d4342">DNLEN_512_60</a>+2]; </div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7"> 58</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> <a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a>[<a class="code" href="big__512__60_8h.html#adec8989721abc8479e76ab775cfaea1b">NLEN_512_60</a>]; </div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906"> 59</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> <a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a>[<a class="code" href="big__512__60_8h.html#a2191aa95a9d5d44b396978d1be7d4342">DNLEN_512_60</a>]; </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="comment">/* BIG number prototypes */</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="big__512__60_8h.html#a7a1e0c2e0ee9e436e0cea761642dbf6f">BIG_512_60_iszilch</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x);</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="big__512__60_8h.html#afc1b120837075b231e2a57423295266e">BIG_512_60_isunity</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x);</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="big__512__60_8h.html#accda833c2384e1630a2192f722f7073b">BIG_512_60_diszilch</a>(<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> x);</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#afb465d4953647c45d9958e3c0b01dc61">BIG_512_60_output</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x);</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a2aaee8578aab50ae4d21368b51ff8589">BIG_512_60_rawoutput</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x);</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a886b65a560c8c442d7fa3a259eb57b5e">BIG_512_60_cswap</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y,<span class="keywordtype">int</span> s);</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a3ff9c974da707b0ed8639ba649bb9ef1">BIG_512_60_cmove</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y,<span class="keywordtype">int</span> s);</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#add308665cc9ebd19e623c223306a5a41">BIG_512_60_dcmove</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y,<span class="keywordtype">int</span> s);</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a96d33f801e30529795373c3ab5f8869c">BIG_512_60_toBytes</a>(<span class="keywordtype">char</span> *a,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x);</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#acb431cfbdc2b079183405d59632a015a">BIG_512_60_fromBytes</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<span class="keywordtype">char</span> *a);</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#ae7de2e51e8115b700df42a291abf5866">BIG_512_60_fromBytesLen</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<span class="keywordtype">char</span> *a,<span class="keywordtype">int</span> s);</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a99b05c3274a8c89915c200d4afaef167">BIG_512_60_dfromBytesLen</a>(<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> x,<span class="keywordtype">char</span> *a,<span class="keywordtype">int</span> s);</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a0f6fb677ebe8980357a94a8224ea9c5a">BIG_512_60_doutput</a>(<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> x);</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#ae84e645366c03a76c35a6782cf2069d2">BIG_512_60_drawoutput</a>(<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> x);</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a7b266f5305eefcec3326561bca6453f0">BIG_512_60_rcopy</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<span class="keyword">const</span> <a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y);</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#aa5c4966c5e31a90515c4826fe504f749">BIG_512_60_copy</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y);</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a1e75afd36912bf4dd20538e4642d5362">BIG_512_60_dcopy</a>(<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> y);</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#acaf02b62a24ae663a380320dd693ae1a">BIG_512_60_dsucopy</a>(<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y);</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a2508c29138c1ad5f6f050b7c72408886">BIG_512_60_dscopy</a>(<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y);</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a127bc3882b2166c74e8915db81578d42">BIG_512_60_sdcopy</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> y);</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#afe496e643f493398b0eb94a3b79fca55">BIG_512_60_sducopy</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> y);</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a864aef063cf79e473d4b1bb4b4ffd478">BIG_512_60_zero</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x);</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a5e9086da38be0de8e0c2f8bb4f00486b">BIG_512_60_dzero</a>(<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> x);</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a59382ec780e3d6df189ceed7d57bd961">BIG_512_60_one</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x);</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a613ddf52fa88add3efe15f2c930f8312">BIG_512_60_invmod2m</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x);</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a128d44aaa007c520e564ca5d1f7259c0">BIG_512_60_add</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> z);</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160;</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a8cc051e0de9d96174db4fae4edea6821">BIG_512_60_or</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> z);</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160;</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a35171cff61735ae65092bc6576ba2062">BIG_512_60_inc</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<span class="keywordtype">int</span> i);</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a7d5787816e576176808e092c408a946c">BIG_512_60_sub</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> z);</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a1b720e38b454291e0b700c7cf1185c26">BIG_512_60_dec</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<span class="keywordtype">int</span> i);</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#ad389c58903cadf171261a7dd91679960">BIG_512_60_dadd</a>(<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> y,<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> z);</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a4d54bc9aff04f9fa7397c61adea33b85">BIG_512_60_dsub</a>(<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> y,<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> z);</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a542c4f90796443050e69e769c20d22b5">BIG_512_60_imul</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y,<span class="keywordtype">int</span> i);</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160;<span class="keyword">extern</span> <a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> <a class="code" href="big__512__60_8h.html#aadee0b05625ad898d02d3c95915dc7bf">BIG_512_60_pmul</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y,<span class="keywordtype">int</span> i);</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="big__512__60_8h.html#aabc73c0986b7b7d66c12c832df96d796">BIG_512_60_div3</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x);</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#aa3d007b30e3d0703721fcc382149b36e">BIG_512_60_pxmul</a>(<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y,<span class="keywordtype">int</span> i);</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a9c4e23a640b402d0c081f8706f04d56f">BIG_512_60_mul</a>(<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> z);</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a6bc2bab3f09cb2fd848dfba27e7626e5">BIG_512_60_smul</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> z);</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#ae309f55db8a7668ab6803b3375706fe4">BIG_512_60_sqr</a>(<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y);</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160;</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#aff41c30b478614346602a311d735d249">BIG_512_60_monty</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> a,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> md,<a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> MC,<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> d);</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160;</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#af57b2a9ce965f664d47c30f2f9dd2c89">BIG_512_60_shl</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<span class="keywordtype">int</span> s);</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="big__512__60_8h.html#a4d8cd22a7a2de0a498dc77875e28fd2b">BIG_512_60_fshl</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<span class="keywordtype">int</span> s);</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a3e4be0d9aa8897f4a94cb5f020616135">BIG_512_60_dshl</a>(<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> x,<span class="keywordtype">int</span> s);</div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a02c779b8cc1a364db5c1beb0cce22f1a">BIG_512_60_shr</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<span class="keywordtype">int</span> s);</div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160;</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="big__512__60_8h.html#a23f8947b72200d1516a8735f255692f5">BIG_512_60_ssn</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> r,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> a, <a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> m);</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160;</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="big__512__60_8h.html#af237293c0f0514780c0f3176175b9d32">BIG_512_60_fshr</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<span class="keywordtype">int</span> s);</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#ac351f3fbbabbd03fabc85aa802888540">BIG_512_60_dshr</a>(<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> x,<span class="keywordtype">int</span> s);</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160;<span class="keyword">extern</span> <a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> <a class="code" href="big__512__60_8h.html#a127a9249fc98204d94d7f9e191ebce22">BIG_512_60_split</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y,<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> z,<span class="keywordtype">int</span> s);</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160;<span class="keyword">extern</span> <a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> <a class="code" href="big__512__60_8h.html#a18ca9c037a3a961de7e661a64baaf6b4">BIG_512_60_norm</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x);</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a434eedfe97b4bc16c8820353dd481f73">BIG_512_60_dnorm</a>(<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> x);</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="big__512__60_8h.html#a30725a7102ff9048a777e56aa2dfd9f7">BIG_512_60_comp</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y);</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="big__512__60_8h.html#aa7a99fa734f34597b0662e844cb2dbf7">BIG_512_60_dcomp</a>(<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> y);</div><div class="line"><a name="l00416"></a><span class="lineno"> 416</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="big__512__60_8h.html#a6db70eff21fa353f9d7c11161917aba8">BIG_512_60_nbits</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x);</div><div class="line"><a name="l00422"></a><span class="lineno"> 422</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="big__512__60_8h.html#ae580275f6e5c3bd46e03b06c6f9e1de9">BIG_512_60_dnbits</a>(<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> x);</div><div class="line"><a name="l00429"></a><span class="lineno"> 429</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a2f847ac49e07f5fc33fec2b8ea71bdb8">BIG_512_60_mod</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> n);</div><div class="line"><a name="l00436"></a><span class="lineno"> 436</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a1962d878bfe523d0434b45d6c8206c01">BIG_512_60_sdiv</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> n);</div><div class="line"><a name="l00444"></a><span class="lineno"> 444</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a52c226c5e26d1685f4dc6f0bc81583a5">BIG_512_60_dmod</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> y,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> n);</div><div class="line"><a name="l00452"></a><span class="lineno"> 452</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a45bc09bfc405d2107f6f6a86ff092483">BIG_512_60_ddiv</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> y,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> n);</div><div class="line"><a name="l00458"></a><span class="lineno"> 458</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="big__512__60_8h.html#a4845cd98baf55ef85cbfece672b39686">BIG_512_60_parity</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x);</div><div class="line"><a name="l00465"></a><span class="lineno"> 465</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="big__512__60_8h.html#a8c664defdb0857fa592be0d52ab0c686">BIG_512_60_bit</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<span class="keywordtype">int</span> i);</div><div class="line"><a name="l00472"></a><span class="lineno"> 472</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="big__512__60_8h.html#a99d1322736f002401e3d858f9a27938c">BIG_512_60_lastbits</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<span class="keywordtype">int</span> n);</div><div class="line"><a name="l00479"></a><span class="lineno"> 479</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#af0f38ca795bd0393f657ae5b1e1f2d07">BIG_512_60_random</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="structcsprng.html">csprng</a> *r);</div><div class="line"><a name="l00487"></a><span class="lineno"> 487</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#aee4c6d0609ea26b439a440b2746336b4">BIG_512_60_randomnum</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> n,<a class="code" href="structcsprng.html">csprng</a> *r);</div><div class="line"><a name="l00507"></a><span class="lineno"> 507</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#ac9d9577c8c2ea7de4a0457cc4ced9f8b">BIG_512_60_modmul</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> z,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> n);</div><div class="line"><a name="l00516"></a><span class="lineno"> 516</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#ac45309a1dd055012dbe19e702d0de69e">BIG_512_60_moddiv</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> z,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> n);</div><div class="line"><a name="l00524"></a><span class="lineno"> 524</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#ae3b3216d759b03e10af54bc58c9f7034">BIG_512_60_modsqr</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> n);</div><div class="line"><a name="l00532"></a><span class="lineno"> 532</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#aee7eece8c2d58d13f038a92b180f7970">BIG_512_60_modneg</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> n);</div><div class="line"><a name="l00539"></a><span class="lineno"> 539</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="big__512__60_8h.html#a58ec191de45d45bf70e0b7cd649a9212">BIG_512_60_jacobi</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y);</div><div class="line"><a name="l00547"></a><span class="lineno"> 547</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#ac646cd18f1c3bbc928afc97fc33a26a4">BIG_512_60_invmodp</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> y,<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> n);</div><div class="line"><a name="l00554"></a><span class="lineno"> 554</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a3b242608c12fcba86534d1089c53e754">BIG_512_60_mod2m</a>(<a class="code" href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a> x,<span class="keywordtype">int</span> m);</div><div class="line"><a name="l00555"></a><span class="lineno"> 555</span>&#160;</div><div class="line"><a name="l00562"></a><span class="lineno"> 562</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="big__512__60_8h.html#a91284c3f402d581bcedd2097cefd9f0d">BIG_512_60_dmod2m</a>(<a class="code" href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a> x,<span class="keywordtype">int</span> m);</div><div class="line"><a name="l00563"></a><span class="lineno"> 563</span>&#160;</div><div class="line"><a name="l00574"></a><span class="lineno"> 574</span>&#160;<span class="preprocessor">#ifdef dchunk</span></div><div class="line"><a name="l00575"></a><span class="lineno"> 575</span>&#160;</div><div class="line"><a name="l00576"></a><span class="lineno"> 576</span>&#160;<span class="comment">/* Method required to calculate x*y+c+r, bottom half in r, top half returned */</span></div><div class="line"><a name="l00577"></a><span class="lineno"> 577</span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> muladd_512_60(<a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> x,<a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> y,<a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> c,<a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> *r)</div><div class="line"><a name="l00578"></a><span class="lineno"> 578</span>&#160;{</div><div class="line"><a name="l00579"></a><span class="lineno"> 579</span>&#160; dchunk prod=(dchunk)x*y+c+*r;</div><div class="line"><a name="l00580"></a><span class="lineno"> 580</span>&#160; *r=(<a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a>)prod&amp;<a class="code" href="big__512__60_8h.html#a96bcba0cd64bdfa12f1418b8304e7402">BMASK_512_60</a>;</div><div class="line"><a name="l00581"></a><span class="lineno"> 581</span>&#160; <span class="keywordflow">return</span> (<a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a>)(prod&gt;&gt;<a class="code" href="config__big__512__60_8h.html#a050f6c0139f8a543eb7b2feb010a1934">BASEBITS_512_60</a>);</div><div class="line"><a name="l00582"></a><span class="lineno"> 582</span>&#160;}</div><div class="line"><a name="l00583"></a><span class="lineno"> 583</span>&#160;</div><div class="line"><a name="l00584"></a><span class="lineno"> 584</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00585"></a><span class="lineno"> 585</span>&#160;</div><div class="line"><a name="l00586"></a><span class="lineno"> 586</span>&#160;<span class="comment">/* No integer type available that can store double the wordlength */</span></div><div class="line"><a name="l00587"></a><span class="lineno"> 587</span>&#160;<span class="comment">/* accumulate partial products */</span></div><div class="line"><a name="l00588"></a><span class="lineno"> 588</span>&#160;</div><div class="line"><a name="l00589"></a><span class="lineno"> 589</span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> muladd_512_60(<a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> x,<a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> y,<a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> c,<a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> *r)</div><div class="line"><a name="l00590"></a><span class="lineno"> 590</span>&#160;{</div><div class="line"><a name="l00591"></a><span class="lineno"> 591</span>&#160; <a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> x0,x1,y0,y1;</div><div class="line"><a name="l00592"></a><span class="lineno"> 592</span>&#160; <a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> bot,top,mid,carry;</div><div class="line"><a name="l00593"></a><span class="lineno"> 593</span>&#160; x0=x&amp;<a class="code" href="big__512__60_8h.html#a9aacc37fac51d75221f45eeeaa7ae4a6">HMASK_512_60</a>;</div><div class="line"><a name="l00594"></a><span class="lineno"> 594</span>&#160; x1=(x&gt;&gt;<a class="code" href="big__512__60_8h.html#a8746466df5a0ab5785e3d216491e3808">HBITS_512_60</a>);</div><div class="line"><a name="l00595"></a><span class="lineno"> 595</span>&#160; y0=y&amp;<a class="code" href="big__512__60_8h.html#a9aacc37fac51d75221f45eeeaa7ae4a6">HMASK_512_60</a>;</div><div class="line"><a name="l00596"></a><span class="lineno"> 596</span>&#160; y1=(y&gt;&gt;<a class="code" href="big__512__60_8h.html#a8746466df5a0ab5785e3d216491e3808">HBITS_512_60</a>);</div><div class="line"><a name="l00597"></a><span class="lineno"> 597</span>&#160; bot=x0*y0;</div><div class="line"><a name="l00598"></a><span class="lineno"> 598</span>&#160; top=x1*y1;</div><div class="line"><a name="l00599"></a><span class="lineno"> 599</span>&#160; mid=x0*y1+x1*y0;</div><div class="line"><a name="l00600"></a><span class="lineno"> 600</span>&#160; x0=mid&amp;<a class="code" href="big__512__60_8h.html#a9aacc37fac51d75221f45eeeaa7ae4a6">HMASK_512_60</a>;</div><div class="line"><a name="l00601"></a><span class="lineno"> 601</span>&#160; x1=(mid&gt;&gt;<a class="code" href="big__512__60_8h.html#a8746466df5a0ab5785e3d216491e3808">HBITS_512_60</a>);</div><div class="line"><a name="l00602"></a><span class="lineno"> 602</span>&#160; bot+=x0&lt;&lt;<a class="code" href="big__512__60_8h.html#a8746466df5a0ab5785e3d216491e3808">HBITS_512_60</a>;</div><div class="line"><a name="l00603"></a><span class="lineno"> 603</span>&#160; bot+=*r;</div><div class="line"><a name="l00604"></a><span class="lineno"> 604</span>&#160; bot+=c;</div><div class="line"><a name="l00605"></a><span class="lineno"> 605</span>&#160;</div><div class="line"><a name="l00606"></a><span class="lineno"> 606</span>&#160; top+=x1;</div><div class="line"><a name="l00607"></a><span class="lineno"> 607</span>&#160; carry=bot&gt;&gt;<a class="code" href="config__big__512__60_8h.html#a050f6c0139f8a543eb7b2feb010a1934">BASEBITS_512_60</a>;</div><div class="line"><a name="l00608"></a><span class="lineno"> 608</span>&#160; bot&amp;=<a class="code" href="big__512__60_8h.html#a96bcba0cd64bdfa12f1418b8304e7402">BMASK_512_60</a>;</div><div class="line"><a name="l00609"></a><span class="lineno"> 609</span>&#160; top+=carry;</div><div class="line"><a name="l00610"></a><span class="lineno"> 610</span>&#160;</div><div class="line"><a name="l00611"></a><span class="lineno"> 611</span>&#160; *r=bot;</div><div class="line"><a name="l00612"></a><span class="lineno"> 612</span>&#160; <span class="keywordflow">return</span> top;</div><div class="line"><a name="l00613"></a><span class="lineno"> 613</span>&#160;}</div><div class="line"><a name="l00614"></a><span class="lineno"> 614</span>&#160;</div><div class="line"><a name="l00615"></a><span class="lineno"> 615</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00616"></a><span class="lineno"> 616</span>&#160;</div><div class="line"><a name="l00617"></a><span class="lineno"> 617</span>&#160;</div><div class="line"><a name="l00618"></a><span class="lineno"> 618</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="big__512__60_8h_html_a96d33f801e30529795373c3ab5f8869c"><div class="ttname"><a href="big__512__60_8h.html#a96d33f801e30529795373c3ab5f8869c">BIG_512_60_toBytes</a></div><div class="ttdeci">void BIG_512_60_toBytes(char *a, BIG_512_60 x)</div><div class="ttdoc">Convert from BIG number to byte array. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:141</div></div>
<div class="ttc" id="big__512__60_8h_html_a38953b585df73ecbd30fded6cc5b54b7"><div class="ttname"><a href="big__512__60_8h.html#a38953b585df73ecbd30fded6cc5b54b7">BIG_512_60</a></div><div class="ttdeci">chunk BIG_512_60[NLEN_512_60]</div><div class="ttdef"><b>Definition:</b> big_512_60.h:58</div></div>
<div class="ttc" id="big__512__60_8h_html_a7b266f5305eefcec3326561bca6453f0"><div class="ttname"><a href="big__512__60_8h.html#a7b266f5305eefcec3326561bca6453f0">BIG_512_60_rcopy</a></div><div class="ttdeci">void BIG_512_60_rcopy(BIG_512_60 x, const BIG_512_60 y)</div><div class="ttdoc">Copy BIG from Read-Only Memory to a BIG. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:239</div></div>
<div class="ttc" id="big__512__60_8h_html_ae84e645366c03a76c35a6782cf2069d2"><div class="ttname"><a href="big__512__60_8h.html#ae84e645366c03a76c35a6782cf2069d2">BIG_512_60_drawoutput</a></div><div class="ttdeci">void BIG_512_60_drawoutput(DBIG_512_60 x)</div><div class="ttdoc">Outputs a DBIG number to the console. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:212</div></div>
<div class="ttc" id="big__512__60_8h_html_aa5c4966c5e31a90515c4826fe504f749"><div class="ttname"><a href="big__512__60_8h.html#aa5c4966c5e31a90515c4826fe504f749">BIG_512_60_copy</a></div><div class="ttdeci">void BIG_512_60_copy(BIG_512_60 x, BIG_512_60 y)</div><div class="ttdoc">Copy BIG to another BIG. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:227</div></div>
<div class="ttc" id="big__512__60_8h_html_a99b05c3274a8c89915c200d4afaef167"><div class="ttname"><a href="big__512__60_8h.html#a99b05c3274a8c89915c200d4afaef167">BIG_512_60_dfromBytesLen</a></div><div class="ttdeci">void BIG_512_60_dfromBytesLen(DBIG_512_60 x, char *a, int s)</div><div class="ttdoc">Convert to DBIG number from byte array of given length. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1569</div></div>
<div class="ttc" id="big__512__60_8h_html_a8746466df5a0ab5785e3d216491e3808"><div class="ttname"><a href="big__512__60_8h.html#a8746466df5a0ab5785e3d216491e3808">HBITS_512_60</a></div><div class="ttdeci">#define HBITS_512_60</div><div class="ttdef"><b>Definition:</b> big_512_60.h:45</div></div>
<div class="ttc" id="config__big__512__60_8h_html"><div class="ttname"><a href="config__big__512__60_8h.html">config_big_512_60.h</a></div><div class="ttdoc">Config BIG Header File. </div></div>
<div class="ttc" id="big__512__60_8h_html_adec8989721abc8479e76ab775cfaea1b"><div class="ttname"><a href="big__512__60_8h.html#adec8989721abc8479e76ab775cfaea1b">NLEN_512_60</a></div><div class="ttdeci">#define NLEN_512_60</div><div class="ttdef"><b>Definition:</b> big_512_60.h:40</div></div>
<div class="ttc" id="big__512__60_8h_html_a2aaee8578aab50ae4d21368b51ff8589"><div class="ttname"><a href="big__512__60_8h.html#a2aaee8578aab50ae4d21368b51ff8589">BIG_512_60_rawoutput</a></div><div class="ttdeci">void BIG_512_60_rawoutput(BIG_512_60 x)</div><div class="ttdoc">Outputs a BIG number to the console in raw form (for debugging) </div><div class="ttdef"><b>Definition:</b> big_512_60.c:77</div></div>
<div class="ttc" id="big__512__60_8h_html_add308665cc9ebd19e623c223306a5a41"><div class="ttname"><a href="big__512__60_8h.html#add308665cc9ebd19e623c223306a5a41">BIG_512_60_dcmove</a></div><div class="ttdeci">void BIG_512_60_dcmove(BIG_512_60 x, BIG_512_60 y, int s)</div><div class="ttdoc">Conditional copy of DBIG number. </div></div>
<div class="ttc" id="big__512__60_8h_html_a30725a7102ff9048a777e56aa2dfd9f7"><div class="ttname"><a href="big__512__60_8h.html#a30725a7102ff9048a777e56aa2dfd9f7">BIG_512_60_comp</a></div><div class="ttdeci">int BIG_512_60_comp(BIG_512_60 x, BIG_512_60 y)</div><div class="ttdoc">Compares two BIG numbers. Inputs must be normalised externally. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1014</div></div>
<div class="ttc" id="big__512__60_8h_html_a35171cff61735ae65092bc6576ba2062"><div class="ttname"><a href="big__512__60_8h.html#a35171cff61735ae65092bc6576ba2062">BIG_512_60_inc</a></div><div class="ttdeci">void BIG_512_60_inc(BIG_512_60 x, int i)</div><div class="ttdoc">Increment BIG by a small integer - output not normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:386</div></div>
<div class="ttc" id="big__512__60_8h_html_ac9d9577c8c2ea7de4a0457cc4ced9f8b"><div class="ttname"><a href="big__512__60_8h.html#ac9d9577c8c2ea7de4a0457cc4ced9f8b">BIG_512_60_modmul</a></div><div class="ttdeci">void BIG_512_60_modmul(BIG_512_60 x, BIG_512_60 y, BIG_512_60 z, BIG_512_60 n)</div><div class="ttdoc">Calculate x=y*z mod n. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1300</div></div>
<div class="ttc" id="big__512__60_8h_html_acb431cfbdc2b079183405d59632a015a"><div class="ttname"><a href="big__512__60_8h.html#acb431cfbdc2b079183405d59632a015a">BIG_512_60_fromBytes</a></div><div class="ttdeci">void BIG_512_60_fromBytes(BIG_512_60 x, char *a)</div><div class="ttdoc">Convert to BIG number from byte array. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:155</div></div>
<div class="ttc" id="big__512__60_8h_html_a4d8cd22a7a2de0a498dc77875e28fd2b"><div class="ttname"><a href="big__512__60_8h.html#a4d8cd22a7a2de0a498dc77875e28fd2b">BIG_512_60_fshl</a></div><div class="ttdeci">int BIG_512_60_fshl(BIG_512_60 x, int s)</div><div class="ttdoc">Fast shifts a BIG left by a small number of bits - input must be normalised, output will be normalise...</div><div class="ttdef"><b>Definition:</b> big_512_60.c:832</div></div>
<div class="ttc" id="big__512__60_8h_html_a6db70eff21fa353f9d7c11161917aba8"><div class="ttname"><a href="big__512__60_8h.html#a6db70eff21fa353f9d7c11161917aba8">BIG_512_60_nbits</a></div><div class="ttdeci">int BIG_512_60_nbits(BIG_512_60 x)</div><div class="ttdoc">Calculate number of bits in a BIG - output normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1040</div></div>
<div class="ttc" id="big__512__60_8h_html_af57b2a9ce965f664d47c30f2f9dd2c89"><div class="ttname"><a href="big__512__60_8h.html#af57b2a9ce965f664d47c30f2f9dd2c89">BIG_512_60_shl</a></div><div class="ttdeci">void BIG_512_60_shl(BIG_512_60 x, int s)</div><div class="ttdoc">Shifts a BIG left by any number of bits - input must be normalised, output normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:813</div></div>
<div class="ttc" id="big__512__60_8h_html_ae3b3216d759b03e10af54bc58c9f7034"><div class="ttname"><a href="big__512__60_8h.html#ae3b3216d759b03e10af54bc58c9f7034">BIG_512_60_modsqr</a></div><div class="ttdeci">void BIG_512_60_modsqr(BIG_512_60 x, BIG_512_60 y, BIG_512_60 n)</div><div class="ttdoc">Calculate x=y^2 mod n. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1315</div></div>
<div class="ttc" id="big__512__60_8h_html_a4d54bc9aff04f9fa7397c61adea33b85"><div class="ttname"><a href="big__512__60_8h.html#a4d54bc9aff04f9fa7397c61adea33b85">BIG_512_60_dsub</a></div><div class="ttdeci">void BIG_512_60_dsub(DBIG_512_60 x, DBIG_512_60 y, DBIG_512_60 z)</div><div class="ttdoc">Set DBIG to difference of two DBIGs. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:413</div></div>
<div class="ttc" id="big__512__60_8h_html_a0f6fb677ebe8980357a94a8224ea9c5a"><div class="ttname"><a href="big__512__60_8h.html#a0f6fb677ebe8980357a94a8224ea9c5a">BIG_512_60_doutput</a></div><div class="ttdeci">void BIG_512_60_doutput(DBIG_512_60 x)</div><div class="ttdoc">Outputs a DBIG number to the console. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:190</div></div>
<div class="ttc" id="big__512__60_8h_html_a542c4f90796443050e69e769c20d22b5"><div class="ttname"><a href="big__512__60_8h.html#a542c4f90796443050e69e769c20d22b5">BIG_512_60_imul</a></div><div class="ttdeci">void BIG_512_60_imul(BIG_512_60 x, BIG_512_60 y, int i)</div><div class="ttdoc">Multiply BIG by a small integer - output not normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:450</div></div>
<div class="ttc" id="big__512__60_8h_html_a45bc09bfc405d2107f6f6a86ff092483"><div class="ttname"><a href="big__512__60_8h.html#a45bc09bfc405d2107f6f6a86ff092483">BIG_512_60_ddiv</a></div><div class="ttdeci">void BIG_512_60_ddiv(BIG_512_60 x, DBIG_512_60 y, BIG_512_60 n)</div><div class="ttdoc">x=y/n - output normalised </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1149</div></div>
<div class="ttc" id="big__512__60_8h_html_af237293c0f0514780c0f3176175b9d32"><div class="ttname"><a href="big__512__60_8h.html#af237293c0f0514780c0f3176175b9d32">BIG_512_60_fshr</a></div><div class="ttdeci">int BIG_512_60_fshr(BIG_512_60 x, int s)</div><div class="ttdoc">Fast shifts a BIG right by a small number of bits - input must be normalised, output will be normalis...</div><div class="ttdef"><b>Definition:</b> big_512_60.c:906</div></div>
<div class="ttc" id="big__512__60_8h_html_ac45309a1dd055012dbe19e702d0de69e"><div class="ttname"><a href="big__512__60_8h.html#ac45309a1dd055012dbe19e702d0de69e">BIG_512_60_moddiv</a></div><div class="ttdeci">void BIG_512_60_moddiv(BIG_512_60 x, BIG_512_60 y, BIG_512_60 z, BIG_512_60 n)</div><div class="ttdoc">Calculate x=y/z mod n. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1337</div></div>
<div class="ttc" id="big__512__60_8h_html_a3b242608c12fcba86534d1089c53e754"><div class="ttname"><a href="big__512__60_8h.html#a3b242608c12fcba86534d1089c53e754">BIG_512_60_mod2m</a></div><div class="ttdeci">void BIG_512_60_mod2m(BIG_512_60 x, int m)</div><div class="ttdoc">Calculate x=x mod 2^m. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1540</div></div>
<div class="ttc" id="big__512__60_8h_html_a1b720e38b454291e0b700c7cf1185c26"><div class="ttname"><a href="big__512__60_8h.html#a1b720e38b454291e0b700c7cf1185c26">BIG_512_60_dec</a></div><div class="ttdeci">void BIG_512_60_dec(BIG_512_60 x, int i)</div><div class="ttdoc">Decrement BIG by a small integer - output not normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:440</div></div>
<div class="ttc" id="big__512__60_8h_html_a1962d878bfe523d0434b45d6c8206c01"><div class="ttname"><a href="big__512__60_8h.html#a1962d878bfe523d0434b45d6c8206c01">BIG_512_60_sdiv</a></div><div class="ttdeci">void BIG_512_60_sdiv(BIG_512_60 x, BIG_512_60 n)</div><div class="ttdoc">Divide x by n - output normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1188</div></div>
<div class="ttc" id="big__512__60_8h_html_a128d44aaa007c520e564ca5d1f7259c0"><div class="ttname"><a href="big__512__60_8h.html#a128d44aaa007c520e564ca5d1f7259c0">BIG_512_60_add</a></div><div class="ttdeci">void BIG_512_60_add(BIG_512_60 x, BIG_512_60 y, BIG_512_60 z)</div><div class="ttdoc">Set BIG to sum of two BIGs - output not normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:356</div></div>
<div class="ttc" id="big__512__60_8h_html_ad389c58903cadf171261a7dd91679960"><div class="ttname"><a href="big__512__60_8h.html#ad389c58903cadf171261a7dd91679960">BIG_512_60_dadd</a></div><div class="ttdeci">void BIG_512_60_dadd(DBIG_512_60 x, DBIG_512_60 y, DBIG_512_60 z)</div><div class="ttdoc">Set DBIG to sum of two DBIGs. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:426</div></div>
<div class="ttc" id="big__512__60_8h_html_a3e4be0d9aa8897f4a94cb5f020616135"><div class="ttname"><a href="big__512__60_8h.html#a3e4be0d9aa8897f4a94cb5f020616135">BIG_512_60_dshl</a></div><div class="ttdeci">void BIG_512_60_dshl(DBIG_512_60 x, int s)</div><div class="ttdoc">Shifts a DBIG left by any number of bits - input must be normalised, output normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:846</div></div>
<div class="ttc" id="big__512__60_8h_html_a3ff9c974da707b0ed8639ba649bb9ef1"><div class="ttname"><a href="big__512__60_8h.html#a3ff9c974da707b0ed8639ba649bb9ef1">BIG_512_60_cmove</a></div><div class="ttdeci">void BIG_512_60_cmove(BIG_512_60 x, BIG_512_60 y, int s)</div><div class="ttdoc">Conditional copy of BIG number. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:110</div></div>
<div class="ttc" id="big__512__60_8h_html_a18ca9c037a3a961de7e661a64baaf6b4"><div class="ttname"><a href="big__512__60_8h.html#a18ca9c037a3a961de7e661a64baaf6b4">BIG_512_60_norm</a></div><div class="ttdeci">chunk BIG_512_60_norm(BIG_512_60 x)</div><div class="ttdoc">Normalizes a BIG number - output normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:976</div></div>
<div class="ttc" id="big__512__60_8h_html_a9aacc37fac51d75221f45eeeaa7ae4a6"><div class="ttname"><a href="big__512__60_8h.html#a9aacc37fac51d75221f45eeeaa7ae4a6">HMASK_512_60</a></div><div class="ttdeci">#define HMASK_512_60</div><div class="ttdef"><b>Definition:</b> big_512_60.h:46</div></div>
<div class="ttc" id="big__512__60_8h_html_af0f38ca795bd0393f657ae5b1e1f2d07"><div class="ttname"><a href="big__512__60_8h.html#af0f38ca795bd0393f657ae5b1e1f2d07">BIG_512_60_random</a></div><div class="ttdeci">void BIG_512_60_random(BIG_512_60 x, csprng *r)</div><div class="ttdoc">Create a random BIG from a random number generator. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1248</div></div>
<div class="ttc" id="big__512__60_8h_html_aa7a99fa734f34597b0662e844cb2dbf7"><div class="ttname"><a href="big__512__60_8h.html#aa7a99fa734f34597b0662e844cb2dbf7">BIG_512_60_dcomp</a></div><div class="ttdeci">int BIG_512_60_dcomp(DBIG_512_60 x, DBIG_512_60 y)</div><div class="ttdoc">Compares two DBIG numbers. Inputs must be normalised externally. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1026</div></div>
<div class="ttc" id="big__512__60_8h_html_a59382ec780e3d6df189ceed7d57bd961"><div class="ttname"><a href="big__512__60_8h.html#a59382ec780e3d6df189ceed7d57bd961">BIG_512_60_one</a></div><div class="ttdeci">void BIG_512_60_one(BIG_512_60 x)</div><div class="ttdoc">Set BIG to one (unity) </div><div class="ttdef"><b>Definition:</b> big_512_60.c:340</div></div>
<div class="ttc" id="big__512__60_8h_html_a613ddf52fa88add3efe15f2c930f8312"><div class="ttname"><a href="big__512__60_8h.html#a613ddf52fa88add3efe15f2c930f8312">BIG_512_60_invmod2m</a></div><div class="ttdeci">void BIG_512_60_invmod2m(BIG_512_60 x)</div><div class="ttdoc">Set BIG to inverse mod 2^256. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1432</div></div>
<div class="ttc" id="big__512__60_8h_html_acaf02b62a24ae663a380320dd693ae1a"><div class="ttname"><a href="big__512__60_8h.html#acaf02b62a24ae663a380320dd693ae1a">BIG_512_60_dsucopy</a></div><div class="ttdeci">void BIG_512_60_dsucopy(DBIG_512_60 x, BIG_512_60 y)</div><div class="ttdoc">Copy BIG to upper half of DBIG. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:280</div></div>
<div class="ttc" id="big__512__60_8h_html_ada98ab694a80a60b255a448e21ec3906"><div class="ttname"><a href="big__512__60_8h.html#ada98ab694a80a60b255a448e21ec3906">DBIG_512_60</a></div><div class="ttdeci">chunk DBIG_512_60[DNLEN_512_60]</div><div class="ttdef"><b>Definition:</b> big_512_60.h:59</div></div>
<div class="ttc" id="big__512__60_8h_html_a8c664defdb0857fa592be0d52ab0c686"><div class="ttname"><a href="big__512__60_8h.html#a8c664defdb0857fa592be0d52ab0c686">BIG_512_60_bit</a></div><div class="ttdeci">int BIG_512_60_bit(BIG_512_60 x, int i)</div><div class="ttdoc">return i-th of BIG </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1232</div></div>
<div class="ttc" id="big__512__60_8h_html_aadee0b05625ad898d02d3c95915dc7bf"><div class="ttname"><a href="big__512__60_8h.html#aadee0b05625ad898d02d3c95915dc7bf">BIG_512_60_pmul</a></div><div class="ttdeci">chunk BIG_512_60_pmul(BIG_512_60 x, BIG_512_60 y, int i)</div><div class="ttdoc">Multiply BIG by not-so-small small integer - output normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:465</div></div>
<div class="ttc" id="big__512__60_8h_html_accda833c2384e1630a2192f722f7073b"><div class="ttname"><a href="big__512__60_8h.html#accda833c2384e1630a2192f722f7073b">BIG_512_60_diszilch</a></div><div class="ttdeci">int BIG_512_60_diszilch(DBIG_512_60 x)</div><div class="ttdoc">Tests for DBIG equal to zero. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:45</div></div>
<div class="ttc" id="big__512__60_8h_html_a7a1e0c2e0ee9e436e0cea761642dbf6f"><div class="ttname"><a href="big__512__60_8h.html#a7a1e0c2e0ee9e436e0cea761642dbf6f">BIG_512_60_iszilch</a></div><div class="ttdeci">int BIG_512_60_iszilch(BIG_512_60 x)</div><div class="ttdoc">Tests for BIG equal to zero. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:26</div></div>
<div class="ttc" id="big__512__60_8h_html_a96bcba0cd64bdfa12f1418b8304e7402"><div class="ttname"><a href="big__512__60_8h.html#a96bcba0cd64bdfa12f1418b8304e7402">BMASK_512_60</a></div><div class="ttdeci">#define BMASK_512_60</div><div class="ttdef"><b>Definition:</b> big_512_60.h:42</div></div>
<div class="ttc" id="big__512__60_8h_html_a58ec191de45d45bf70e0b7cd649a9212"><div class="ttname"><a href="big__512__60_8h.html#a58ec191de45d45bf70e0b7cd649a9212">BIG_512_60_jacobi</a></div><div class="ttdeci">int BIG_512_60_jacobi(BIG_512_60 x, BIG_512_60 y)</div><div class="ttdoc">Calculate jacobi Symbol (x/y) </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1354</div></div>
<div class="ttc" id="big__512__60_8h_html_ac351f3fbbabbd03fabc85aa802888540"><div class="ttname"><a href="big__512__60_8h.html#ac351f3fbbabbd03fabc85aa802888540">BIG_512_60_dshr</a></div><div class="ttdeci">void BIG_512_60_dshr(DBIG_512_60 x, int s)</div><div class="ttdoc">Shifts a DBIG right by any number of bits - input must be normalised, output normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:918</div></div>
<div class="ttc" id="big__512__60_8h_html_a5e9086da38be0de8e0c2f8bb4f00486b"><div class="ttname"><a href="big__512__60_8h.html#a5e9086da38be0de8e0c2f8bb4f00486b">BIG_512_60_dzero</a></div><div class="ttdeci">void BIG_512_60_dzero(DBIG_512_60 x)</div><div class="ttdoc">Set DBIG to zero. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:329</div></div>
<div class="ttc" id="big__512__60_8h_html_a2508c29138c1ad5f6f050b7c72408886"><div class="ttname"><a href="big__512__60_8h.html#a2508c29138c1ad5f6f050b7c72408886">BIG_512_60_dscopy</a></div><div class="ttdeci">void BIG_512_60_dscopy(DBIG_512_60 x, BIG_512_60 y)</div><div class="ttdoc">Copy BIG to lower half of DBIG. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:263</div></div>
<div class="ttc" id="big__512__60_8h_html_a91284c3f402d581bcedd2097cefd9f0d"><div class="ttname"><a href="big__512__60_8h.html#a91284c3f402d581bcedd2097cefd9f0d">BIG_512_60_dmod2m</a></div><div class="ttdeci">void BIG_512_60_dmod2m(DBIG_512_60 x, int m)</div><div class="ttdoc">Calculate x=x mod 2^m. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1554</div></div>
<div class="ttc" id="big__512__60_8h_html_aabc73c0986b7b7d66c12c832df96d796"><div class="ttname"><a href="big__512__60_8h.html#aabc73c0986b7b7d66c12c832df96d796">BIG_512_60_div3</a></div><div class="ttdeci">int BIG_512_60_div3(BIG_512_60 x)</div><div class="ttdoc">Divide BIG by 3 - output normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:484</div></div>
<div class="ttc" id="big__512__60_8h_html_aa3d007b30e3d0703721fcc382149b36e"><div class="ttname"><a href="big__512__60_8h.html#aa3d007b30e3d0703721fcc382149b36e">BIG_512_60_pxmul</a></div><div class="ttdeci">void BIG_512_60_pxmul(DBIG_512_60 x, BIG_512_60 y, int i)</div><div class="ttdoc">Multiply BIG by even bigger small integer resulting in a DBIG - output normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:501</div></div>
<div class="ttc" id="big__512__60_8h_html_a99d1322736f002401e3d858f9a27938c"><div class="ttname"><a href="big__512__60_8h.html#a99d1322736f002401e3d858f9a27938c">BIG_512_60_lastbits</a></div><div class="ttdeci">int BIG_512_60_lastbits(BIG_512_60 x, int n)</div><div class="ttdoc">return least significant bits of a BIG </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1240</div></div>
<div class="ttc" id="big__512__60_8h_html_aff41c30b478614346602a311d735d249"><div class="ttname"><a href="big__512__60_8h.html#aff41c30b478614346602a311d735d249">BIG_512_60_monty</a></div><div class="ttdeci">void BIG_512_60_monty(BIG_512_60 a, BIG_512_60 md, chunk MC, DBIG_512_60 d)</div><div class="ttdoc">Montgomery reduction of a DBIG to a BIG - input normalised and output normalised. ...</div><div class="ttdef"><b>Definition:</b> big_512_60.c:735</div></div>
<div class="ttc" id="big__512__60_8h_html_a52c226c5e26d1685f4dc6f0bc81583a5"><div class="ttname"><a href="big__512__60_8h.html#a52c226c5e26d1685f4dc6f0bc81583a5">BIG_512_60_dmod</a></div><div class="ttdeci">void BIG_512_60_dmod(BIG_512_60 x, DBIG_512_60 y, BIG_512_60 n)</div><div class="ttdoc">x=y mod n - output normalised </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1113</div></div>
<div class="ttc" id="big__512__60_8h_html_a864aef063cf79e473d4b1bb4b4ffd478"><div class="ttname"><a href="big__512__60_8h.html#a864aef063cf79e473d4b1bb4b4ffd478">BIG_512_60_zero</a></div><div class="ttdeci">void BIG_512_60_zero(BIG_512_60 x)</div><div class="ttdoc">Set BIG to zero. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:319</div></div>
<div class="ttc" id="big__512__60_8h_html_a02c779b8cc1a364db5c1beb0cce22f1a"><div class="ttname"><a href="big__512__60_8h.html#a02c779b8cc1a364db5c1beb0cce22f1a">BIG_512_60_shr</a></div><div class="ttdeci">void BIG_512_60_shr(BIG_512_60 x, int s)</div><div class="ttdoc">Shifts a BIG right by any number of bits - input must be normalised, output normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:864</div></div>
<div class="ttc" id="big__512__60_8h_html_afb465d4953647c45d9958e3c0b01dc61"><div class="ttname"><a href="big__512__60_8h.html#afb465d4953647c45d9958e3c0b01dc61">BIG_512_60_output</a></div><div class="ttdeci">void BIG_512_60_output(BIG_512_60 x)</div><div class="ttdoc">Outputs a BIG number to the console. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:55</div></div>
<div class="ttc" id="big__512__60_8h_html_afc1b120837075b231e2a57423295266e"><div class="ttname"><a href="big__512__60_8h.html#afc1b120837075b231e2a57423295266e">BIG_512_60_isunity</a></div><div class="ttdeci">int BIG_512_60_isunity(BIG_512_60 x)</div><div class="ttdoc">Tests for BIG equal to one. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:35</div></div>
<div class="ttc" id="config__big__512__60_8h_html_a050f6c0139f8a543eb7b2feb010a1934"><div class="ttname"><a href="config__big__512__60_8h.html#a050f6c0139f8a543eb7b2feb010a1934">BASEBITS_512_60</a></div><div class="ttdeci">#define BASEBITS_512_60</div><div class="ttdef"><b>Definition:</b> config_big_512_60.h:35</div></div>
<div class="ttc" id="big__512__60_8h_html_a23f8947b72200d1516a8735f255692f5"><div class="ttname"><a href="big__512__60_8h.html#a23f8947b72200d1516a8735f255692f5">BIG_512_60_ssn</a></div><div class="ttdeci">int BIG_512_60_ssn(BIG_512_60 r, BIG_512_60 a, BIG_512_60 m)</div><div class="ttdoc">Fast time-critical combined shift by 1 bit, subtract and normalise. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:877</div></div>
<div class="ttc" id="big__512__60_8h_html_a1e75afd36912bf4dd20538e4642d5362"><div class="ttname"><a href="big__512__60_8h.html#a1e75afd36912bf4dd20538e4642d5362">BIG_512_60_dcopy</a></div><div class="ttdeci">void BIG_512_60_dcopy(DBIG_512_60 x, DBIG_512_60 y)</div><div class="ttdoc">Copy DBIG to another DBIG. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:251</div></div>
<div class="ttc" id="big__512__60_8h_html_ae7de2e51e8115b700df42a291abf5866"><div class="ttname"><a href="big__512__60_8h.html#ae7de2e51e8115b700df42a291abf5866">BIG_512_60_fromBytesLen</a></div><div class="ttdeci">void BIG_512_60_fromBytesLen(BIG_512_60 x, char *a, int s)</div><div class="ttdoc">Convert to BIG number from byte array of given length. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:170</div></div>
<div class="ttc" id="big__512__60_8h_html_afe496e643f493398b0eb94a3b79fca55"><div class="ttname"><a href="big__512__60_8h.html#afe496e643f493398b0eb94a3b79fca55">BIG_512_60_sducopy</a></div><div class="ttdeci">void BIG_512_60_sducopy(BIG_512_60 x, DBIG_512_60 y)</div><div class="ttdoc">Copy upper half of DBIG to a BIG. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:306</div></div>
<div class="ttc" id="big__512__60_8h_html_ae580275f6e5c3bd46e03b06c6f9e1de9"><div class="ttname"><a href="big__512__60_8h.html#ae580275f6e5c3bd46e03b06c6f9e1de9">BIG_512_60_dnbits</a></div><div class="ttdeci">int BIG_512_60_dnbits(DBIG_512_60 x)</div><div class="ttdoc">Calculate number of bits in a DBIG - output normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1060</div></div>
<div class="ttc" id="big__512__60_8h_html_a127a9249fc98204d94d7f9e191ebce22"><div class="ttname"><a href="big__512__60_8h.html#a127a9249fc98204d94d7f9e191ebce22">BIG_512_60_split</a></div><div class="ttdeci">chunk BIG_512_60_split(BIG_512_60 x, BIG_512_60 y, DBIG_512_60 z, int s)</div><div class="ttdoc">Splits a DBIG into two BIGs - input must be normalised, outputs normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:932</div></div>
<div class="ttc" id="big__512__60_8h_html_a9c4e23a640b402d0c081f8706f04d56f"><div class="ttname"><a href="big__512__60_8h.html#a9c4e23a640b402d0c081f8706f04d56f">BIG_512_60_mul</a></div><div class="ttdeci">void BIG_512_60_mul(DBIG_512_60 x, BIG_512_60 y, BIG_512_60 z)</div><div class="ttdoc">Multiply BIG by another BIG resulting in DBIG - inputs normalised and output normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:542</div></div>
<div class="ttc" id="arch_8h_html"><div class="ttname"><a href="arch_8h.html">arch.h</a></div><div class="ttdoc">Architecture Header File. </div></div>
<div class="ttc" id="big__512__60_8h_html_a2f847ac49e07f5fc33fec2b8ea71bdb8"><div class="ttname"><a href="big__512__60_8h.html#a2f847ac49e07f5fc33fec2b8ea71bdb8">BIG_512_60_mod</a></div><div class="ttdeci">void BIG_512_60_mod(BIG_512_60 x, BIG_512_60 n)</div><div class="ttdoc">Reduce x mod n - input and output normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1082</div></div>
<div class="ttc" id="big__512__60_8h_html_a127bc3882b2166c74e8915db81578d42"><div class="ttname"><a href="big__512__60_8h.html#a127bc3882b2166c74e8915db81578d42">BIG_512_60_sdcopy</a></div><div class="ttdeci">void BIG_512_60_sdcopy(BIG_512_60 x, DBIG_512_60 y)</div><div class="ttdoc">Copy lower half of DBIG to a BIG. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:294</div></div>
<div class="ttc" id="big__512__60_8h_html_a8cc051e0de9d96174db4fae4edea6821"><div class="ttname"><a href="big__512__60_8h.html#a8cc051e0de9d96174db4fae4edea6821">BIG_512_60_or</a></div><div class="ttdeci">void BIG_512_60_or(BIG_512_60 x, BIG_512_60 y, BIG_512_60 z)</div><div class="ttdoc">Set BIG to logical or of two BIGs - output normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:371</div></div>
<div class="ttc" id="big__512__60_8h_html_ac646cd18f1c3bbc928afc97fc33a26a4"><div class="ttname"><a href="big__512__60_8h.html#ac646cd18f1c3bbc928afc97fc33a26a4">BIG_512_60_invmodp</a></div><div class="ttdeci">void BIG_512_60_invmodp(BIG_512_60 x, BIG_512_60 y, BIG_512_60 n)</div><div class="ttdoc">Calculate x=1/y mod n. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1476</div></div>
<div class="ttc" id="big__512__60_8h_html_aee7eece8c2d58d13f038a92b180f7970"><div class="ttname"><a href="big__512__60_8h.html#aee7eece8c2d58d13f038a92b180f7970">BIG_512_60_modneg</a></div><div class="ttdeci">void BIG_512_60_modneg(BIG_512_60 x, BIG_512_60 y, BIG_512_60 n)</div><div class="ttdoc">Calculate x=-y mod n. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1327</div></div>
<div class="ttc" id="big__512__60_8h_html_a434eedfe97b4bc16c8820353dd481f73"><div class="ttname"><a href="big__512__60_8h.html#a434eedfe97b4bc16c8820353dd481f73">BIG_512_60_dnorm</a></div><div class="ttdeci">void BIG_512_60_dnorm(DBIG_512_60 x)</div><div class="ttdoc">Normalizes a DBIG number - output normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:995</div></div>
<div class="ttc" id="big__512__60_8h_html_a6bc2bab3f09cb2fd848dfba27e7626e5"><div class="ttname"><a href="big__512__60_8h.html#a6bc2bab3f09cb2fd848dfba27e7626e5">BIG_512_60_smul</a></div><div class="ttdeci">void BIG_512_60_smul(BIG_512_60 x, BIG_512_60 y, BIG_512_60 z)</div><div class="ttdoc">Multiply BIG by another BIG resulting in another BIG - inputs normalised and output normalised...</div><div class="ttdef"><b>Definition:</b> big_512_60.c:518</div></div>
<div class="ttc" id="structcsprng_html"><div class="ttname"><a href="structcsprng.html">csprng</a></div><div class="ttdoc">Cryptographically secure pseudo-random number generator instance. </div><div class="ttdef"><b>Definition:</b> amcl.h:195</div></div>
<div class="ttc" id="arch_8h_html_a0dd4b8ab353c587b22c6acb0809323aa"><div class="ttname"><a href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a></div><div class="ttdeci">#define chunk</div><div class="ttdef"><b>Definition:</b> arch.h:109</div></div>
<div class="ttc" id="big__512__60_8h_html_a4845cd98baf55ef85cbfece672b39686"><div class="ttname"><a href="big__512__60_8h.html#a4845cd98baf55ef85cbfece672b39686">BIG_512_60_parity</a></div><div class="ttdeci">int BIG_512_60_parity(BIG_512_60 x)</div><div class="ttdoc">return parity of BIG, that is the least significant bit </div><div class="ttdef"><b>Definition:</b> big_512_60.c:1225</div></div>
<div class="ttc" id="big__512__60_8h_html_a2191aa95a9d5d44b396978d1be7d4342"><div class="ttname"><a href="big__512__60_8h.html#a2191aa95a9d5d44b396978d1be7d4342">DNLEN_512_60</a></div><div class="ttdeci">#define DNLEN_512_60</div><div class="ttdef"><b>Definition:</b> big_512_60.h:41</div></div>
<div class="ttc" id="big__512__60_8h_html_ae309f55db8a7668ab6803b3375706fe4"><div class="ttname"><a href="big__512__60_8h.html#ae309f55db8a7668ab6803b3375706fe4">BIG_512_60_sqr</a></div><div class="ttdeci">void BIG_512_60_sqr(DBIG_512_60 x, BIG_512_60 y)</div><div class="ttdoc">Square BIG resulting in a DBIG - input normalised and output normalised. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:618</div></div>
<div class="ttc" id="big__512__60_8h_html_a7d5787816e576176808e092c408a946c"><div class="ttname"><a href="big__512__60_8h.html#a7d5787816e576176808e092c408a946c">BIG_512_60_sub</a></div><div class="ttdeci">void BIG_512_60_sub(BIG_512_60 x, BIG_512_60 y, BIG_512_60 z)</div><div class="ttdoc">Set BIG to difference of two BIGs. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:397</div></div>
<div class="ttc" id="big__512__60_8h_html_aee4c6d0609ea26b439a440b2746336b4"><div class="ttname"><a href="big__512__60_8h.html#aee4c6d0609ea26b439a440b2746336b4">BIG_512_60_randomnum</a></div><div class="ttdeci">void BIG_512_60_randomnum(BIG_512_60 x, BIG_512_60 n, csprng *r)</div><div class="ttdoc">Create an unbiased random BIG from a random number generator, reduced with respect to a modulus...</div><div class="ttdef"><b>Definition:</b> big_512_60.c:1274</div></div>
<div class="ttc" id="big__512__60_8h_html_a886b65a560c8c442d7fa3a259eb57b5e"><div class="ttname"><a href="big__512__60_8h.html#a886b65a560c8c442d7fa3a259eb57b5e">BIG_512_60_cswap</a></div><div class="ttdeci">void BIG_512_60_cswap(BIG_512_60 x, BIG_512_60 y, int s)</div><div class="ttdoc">Conditional constant time swap of two BIG numbers. </div><div class="ttdef"><b>Definition:</b> big_512_60.c:92</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>