blob: 24a9218b8cff3ab97a26dc5d3b1bfc84ffc07d93 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AMCL: big_384_28.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>
<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.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</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_384_28.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="big__384__28_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_384_28_H</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#define BIG_384_28_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__384__28_8h.html">config_big_384_28.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__384__28_8h.html#a8f05d26a410dd97379ac2651922a6449"> 39</a></span>&#160;<span class="preprocessor">#define BIGBITS_384_28 (8*MODBYTES_384_28) </span></div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="big__384__28_8h.html#a439daca6a2d884b15798c1e6d9a6ba4e"> 40</a></span>&#160;<span class="preprocessor">#define NLEN_384_28 (1+((8*MODBYTES_384_28-1)/BASEBITS_384_28)) </span></div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="big__384__28_8h.html#a8ecc6d852c9a8295de789234094b1dce"> 41</a></span>&#160;<span class="preprocessor">#define DNLEN_384_28 2*NLEN_384_28 </span></div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="big__384__28_8h.html#a84665e78dbc0947688151a4ac8dc9644"> 42</a></span>&#160;<span class="preprocessor">#define BMASK_384_28 (((chunk)1&lt;&lt;BASEBITS_384_28)-1) </span></div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="big__384__28_8h.html#a8fd2df8afe92c49d115a5fc91d4deb59"> 43</a></span>&#160;<span class="preprocessor">#define NEXCESS_384_28 (1&lt;&lt;(CHUNK-BASEBITS_384_28-1)) </span></div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="big__384__28_8h.html#a7add637ce6e6a22f580a621e454e2f1b"> 45</a></span>&#160;<span class="preprocessor">#define HBITS_384_28 (BASEBITS_384_28/2) </span></div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="big__384__28_8h.html#a4f236ead1b11b6a59048301ebad560fe"> 46</a></span>&#160;<span class="preprocessor">#define HMASK_384_28 (((chunk)1&lt;&lt;HBITS_384_28)-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_384_28 NLEN_384_28</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor">#define MNV_384_28 (NLEN_384_28+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__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a>[<a class="code" href="big__384__28_8h.html#a439daca6a2d884b15798c1e6d9a6ba4e">NLEN_384_28</a>+2]; </div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor">#define DMPV_384_28 DNLEN_384_28</span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="preprocessor">#define DMNV_384_28 (DNLEN_384_28+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__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</a>[<a class="code" href="big__384__28_8h.html#a8ecc6d852c9a8295de789234094b1dce">DNLEN_384_28</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__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e"> 58</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> <a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a>[<a class="code" href="big__384__28_8h.html#a439daca6a2d884b15798c1e6d9a6ba4e">NLEN_384_28</a>]; </div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b"> 59</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> <a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</a>[<a class="code" href="big__384__28_8h.html#a8ecc6d852c9a8295de789234094b1dce">DNLEN_384_28</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__384__28_8h.html#aaae155a2c272e54cb6debaf4c22c752c">BIG_384_28_iszilch</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a58341593cdb187626cb9ed9fc255c390">BIG_384_28_isunity</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#ac824c238b2ad967cc52836a888ce5ec7">BIG_384_28_diszilch</a>(<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</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__384__28_8h.html#afbc6201e5eae7949f8fdaca44dfc95b6">BIG_384_28_output</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a4487f671a15c0626f311c012e20c9c2b">BIG_384_28_rawoutput</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a09cb7359e8678a5ac2e7fc3e332eb29c">BIG_384_28_cswap</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a7c2f771cf7b5dd17f8e1f05da8bf97a1">BIG_384_28_cmove</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#ae71455123481ffaa1c7e08f81d155ff9">BIG_384_28_dcmove</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a3ab047839afd602bbba5fa530f48a1f9">BIG_384_28_toBytes</a>(<span class="keywordtype">char</span> *a,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a51b34c564e69a54e167e4327dc712219">BIG_384_28_fromBytes</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a9e2586315194fec22ccc7a45e62d46ad">BIG_384_28_fromBytesLen</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a42203ae1493bb5e1f84e2f93b44f543f">BIG_384_28_dfromBytesLen</a>(<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</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__384__28_8h.html#a516ac3f0b90c3eae0d5021c8616b7368">BIG_384_28_doutput</a>(<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</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__384__28_8h.html#afacc56ed2d110adb76534f3835129f70">BIG_384_28_drawoutput</a>(<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</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__384__28_8h.html#af1375dc3069a5b40e2a4721bc6c34ca7">BIG_384_28_rcopy</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<span class="keyword">const</span> <a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a63d3817c3c3bce6ac1c39c8b16fac06f">BIG_384_28_copy</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#ab5a69694470155f14f5bee3c62b773d6">BIG_384_28_dcopy</a>(<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</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__384__28_8h.html#a1a726364369270a9e29464eeb9aee469">BIG_384_28_dsucopy</a>(<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a9b5cd02ecfebe5b4d0f6ac1edac6c52c">BIG_384_28_dscopy</a>(<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a52395d29456061e275f180bcbc0fa9d9">BIG_384_28_sdcopy</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</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__384__28_8h.html#a618bf7d7e2be346517e7fbed186f46e8">BIG_384_28_sducopy</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</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__384__28_8h.html#ae43efdb25a16be101f8156b2047d7e9c">BIG_384_28_zero</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a238e27e5b205b6181f5c718d12c26e00">BIG_384_28_dzero</a>(<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</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__384__28_8h.html#ab1d79b56107d0bfe073c4dbec9edb424">BIG_384_28_one</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a7fe701290d9d38d84514372f424187c5">BIG_384_28_invmod2m</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a4a9f21e199c8aa375f10a620421382e6">BIG_384_28_add</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> y,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a2bac6adf71cf485e03e34f2900c0e00c">BIG_384_28_or</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> y,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a5c7488a309fc2c3ae069dfffc9d7c4c0">BIG_384_28_inc</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a5d20d009e9edb553f18c4c65d5ded998">BIG_384_28_sub</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> y,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a228697f5aeef97b347d5bd095cbed9bf">BIG_384_28_dec</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#ac45376eaec2c8050f1375202e0976534">BIG_384_28_dadd</a>(<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</a> y,<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</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__384__28_8h.html#a4cb202b0eb07a78d009b729089742fea">BIG_384_28_dsub</a>(<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</a> y,<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</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__384__28_8h.html#a3da153b25d066347093f0dbbf14eb15d">BIG_384_28_imul</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#ad63df8e11b6f1cfeb7e9140cab9d561e">BIG_384_28_pmul</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#ac436ebf172cfe996920945b3f1b7cb4a">BIG_384_28_div3</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a47ca896b3c4555f90fd10841c9f87d03">BIG_384_28_pxmul</a>(<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#ac6c217fef49e386b85b023fe05f80723">BIG_384_28_mul</a>(<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> y,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#adc8507bac205a5f0ccbac18de7b68ca1">BIG_384_28_smul</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> y,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a0b9f6d6a15963d0ca607e5143f726651">BIG_384_28_sqr</a>(<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a847b33bcb40d3241e31b6ee96bd8f4c6">BIG_384_28_monty</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> a,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> md,<a class="code" href="arch_8h.html#a0dd4b8ab353c587b22c6acb0809323aa">chunk</a> MC,<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</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__384__28_8h.html#ade8e4549ea507d3e683fe81d4d400f71">BIG_384_28_shl</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#ad9ec1f2757cac24535f8bdef1a7a39e8">BIG_384_28_fshl</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a8a513d5bf6c2e56d438f0474a3cb069a">BIG_384_28_dshl</a>(<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</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__384__28_8h.html#a0d145f76d6d0b8823761f4ca6370c637">BIG_384_28_shr</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#ae24758a390284bae57bd3bc25543309d">BIG_384_28_ssn</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> r,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> a, <a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a916fbbcf68123a8a3ed28f427dc34784">BIG_384_28_fshr</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#afa77897ed052e7b53cf745c275bf7e31">BIG_384_28_dshr</a>(<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</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__384__28_8h.html#a33f7b0063f5af0e6c58510966beac8f8">BIG_384_28_split</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> y,<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</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__384__28_8h.html#a4ad8fd01de1709b61612fcc279274600">BIG_384_28_norm</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#aef2b744cef6fe1696b79b2aa3fed8fb2">BIG_384_28_dnorm</a>(<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</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__384__28_8h.html#aa2d828ed693c2267db21030a7b8aa65f">BIG_384_28_comp</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a65f2020e457f2c9d9b98cd595032a962">BIG_384_28_dcomp</a>(<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</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__384__28_8h.html#a5c167fb2b00eccd42ce4ae9c796189e4">BIG_384_28_nbits</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#ad69eeb57746553c390c02ce7fc53fedd">BIG_384_28_dnbits</a>(<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</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__384__28_8h.html#ad08e2bf2a67f19eaab434ec546bb7ff6">BIG_384_28_mod</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a15d63ef2bcc446e9d28fb3e5b6184b41">BIG_384_28_sdiv</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#af5726874f41c1bc21331297bdd12ad02">BIG_384_28_dmod</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</a> y,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a0c669c1e0764711db98f4690ab4ead02">BIG_384_28_ddiv</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</a> y,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#aff7c69eedbb24ec68e7ddf4db9acc4c4">BIG_384_28_parity</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a1332067c6ddd966c3ee106ca9232bcd5">BIG_384_28_bit</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a11b73740018af049295c35189bceac13">BIG_384_28_lastbits</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a1668ae2de15408b596eea43adc6f9015">BIG_384_28_random</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#ae9a29e377331b63ca78ce090e32bda20">BIG_384_28_randomnum</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#ad9ca3ee5748f621f5e97876f57c3ce5c">BIG_384_28_modmul</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> y,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> z,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#aa752852a23b3e0c59a7b664c0e117261">BIG_384_28_moddiv</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> y,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> z,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a6dd22adb17f614887efdee1cb57d0e81">BIG_384_28_modsqr</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> y,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a2db1bbccaf315a380d68b89d82867077">BIG_384_28_modneg</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> y,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#ad2c01faa4c2e37c3b546d0a3213e2cd5">BIG_384_28_jacobi</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a3303e969db79f8ea0c7b56a1beb2a79a">BIG_384_28_invmodp</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> x,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a> y,<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a96499245fbc0e95cea2d5620a737fda6">BIG_384_28_mod2m</a>(<a class="code" href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</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__384__28_8h.html#a45c30f3703cec5ae3eb6de061012af88">BIG_384_28_dmod2m</a>(<a class="code" href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</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_384_28(<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__384__28_8h.html#a84665e78dbc0947688151a4ac8dc9644">BMASK_384_28</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__384__28_8h.html#a63908e1d54e13f099cce3ef2abf90f96">BASEBITS_384_28</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_384_28(<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__384__28_8h.html#a4f236ead1b11b6a59048301ebad560fe">HMASK_384_28</a>;</div><div class="line"><a name="l00594"></a><span class="lineno"> 594</span>&#160; x1=(x&gt;&gt;<a class="code" href="big__384__28_8h.html#a7add637ce6e6a22f580a621e454e2f1b">HBITS_384_28</a>);</div><div class="line"><a name="l00595"></a><span class="lineno"> 595</span>&#160; y0=y&amp;<a class="code" href="big__384__28_8h.html#a4f236ead1b11b6a59048301ebad560fe">HMASK_384_28</a>;</div><div class="line"><a name="l00596"></a><span class="lineno"> 596</span>&#160; y1=(y&gt;&gt;<a class="code" href="big__384__28_8h.html#a7add637ce6e6a22f580a621e454e2f1b">HBITS_384_28</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__384__28_8h.html#a4f236ead1b11b6a59048301ebad560fe">HMASK_384_28</a>;</div><div class="line"><a name="l00601"></a><span class="lineno"> 601</span>&#160; x1=(mid&gt;&gt;<a class="code" href="big__384__28_8h.html#a7add637ce6e6a22f580a621e454e2f1b">HBITS_384_28</a>);</div><div class="line"><a name="l00602"></a><span class="lineno"> 602</span>&#160; bot+=x0&lt;&lt;<a class="code" href="big__384__28_8h.html#a7add637ce6e6a22f580a621e454e2f1b">HBITS_384_28</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__384__28_8h.html#a63908e1d54e13f099cce3ef2abf90f96">BASEBITS_384_28</a>;</div><div class="line"><a name="l00608"></a><span class="lineno"> 608</span>&#160; bot&amp;=<a class="code" href="big__384__28_8h.html#a84665e78dbc0947688151a4ac8dc9644">BMASK_384_28</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__384__28_8h_html_a33f7b0063f5af0e6c58510966beac8f8"><div class="ttname"><a href="big__384__28_8h.html#a33f7b0063f5af0e6c58510966beac8f8">BIG_384_28_split</a></div><div class="ttdeci">chunk BIG_384_28_split(BIG_384_28 x, BIG_384_28 y, DBIG_384_28 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_384_28.c:932</div></div>
<div class="ttc" id="big__384__28_8h_html_a4487f671a15c0626f311c012e20c9c2b"><div class="ttname"><a href="big__384__28_8h.html#a4487f671a15c0626f311c012e20c9c2b">BIG_384_28_rawoutput</a></div><div class="ttdeci">void BIG_384_28_rawoutput(BIG_384_28 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_384_28.c:77</div></div>
<div class="ttc" id="big__384__28_8h_html_a3da153b25d066347093f0dbbf14eb15d"><div class="ttname"><a href="big__384__28_8h.html#a3da153b25d066347093f0dbbf14eb15d">BIG_384_28_imul</a></div><div class="ttdeci">void BIG_384_28_imul(BIG_384_28 x, BIG_384_28 y, int i)</div><div class="ttdoc">Multiply BIG by a small integer - output not normalised.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:450</div></div>
<div class="ttc" id="big__384__28_8h_html_a5c7488a309fc2c3ae069dfffc9d7c4c0"><div class="ttname"><a href="big__384__28_8h.html#a5c7488a309fc2c3ae069dfffc9d7c4c0">BIG_384_28_inc</a></div><div class="ttdeci">void BIG_384_28_inc(BIG_384_28 x, int i)</div><div class="ttdoc">Increment BIG by a small integer - output not normalised.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:386</div></div>
<div class="ttc" id="big__384__28_8h_html_a5d20d009e9edb553f18c4c65d5ded998"><div class="ttname"><a href="big__384__28_8h.html#a5d20d009e9edb553f18c4c65d5ded998">BIG_384_28_sub</a></div><div class="ttdeci">void BIG_384_28_sub(BIG_384_28 x, BIG_384_28 y, BIG_384_28 z)</div><div class="ttdoc">Set BIG to difference of two BIGs.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:397</div></div>
<div class="ttc" id="big__384__28_8h_html_ab5a69694470155f14f5bee3c62b773d6"><div class="ttname"><a href="big__384__28_8h.html#ab5a69694470155f14f5bee3c62b773d6">BIG_384_28_dcopy</a></div><div class="ttdeci">void BIG_384_28_dcopy(DBIG_384_28 x, DBIG_384_28 y)</div><div class="ttdoc">Copy DBIG to another DBIG.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:251</div></div>
<div class="ttc" id="big__384__28_8h_html_a916fbbcf68123a8a3ed28f427dc34784"><div class="ttname"><a href="big__384__28_8h.html#a916fbbcf68123a8a3ed28f427dc34784">BIG_384_28_fshr</a></div><div class="ttdeci">int BIG_384_28_fshr(BIG_384_28 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_384_28.c:906</div></div>
<div class="ttc" id="big__384__28_8h_html_a4f236ead1b11b6a59048301ebad560fe"><div class="ttname"><a href="big__384__28_8h.html#a4f236ead1b11b6a59048301ebad560fe">HMASK_384_28</a></div><div class="ttdeci">#define HMASK_384_28</div><div class="ttdef"><b>Definition:</b> big_384_28.h:46</div></div>
<div class="ttc" id="big__384__28_8h_html_a9e2586315194fec22ccc7a45e62d46ad"><div class="ttname"><a href="big__384__28_8h.html#a9e2586315194fec22ccc7a45e62d46ad">BIG_384_28_fromBytesLen</a></div><div class="ttdeci">void BIG_384_28_fromBytesLen(BIG_384_28 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_384_28.c:170</div></div>
<div class="ttc" id="big__384__28_8h_html_a8a513d5bf6c2e56d438f0474a3cb069a"><div class="ttname"><a href="big__384__28_8h.html#a8a513d5bf6c2e56d438f0474a3cb069a">BIG_384_28_dshl</a></div><div class="ttdeci">void BIG_384_28_dshl(DBIG_384_28 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_384_28.c:846</div></div>
<div class="ttc" id="big__384__28_8h_html_ac824c238b2ad967cc52836a888ce5ec7"><div class="ttname"><a href="big__384__28_8h.html#ac824c238b2ad967cc52836a888ce5ec7">BIG_384_28_diszilch</a></div><div class="ttdeci">int BIG_384_28_diszilch(DBIG_384_28 x)</div><div class="ttdoc">Tests for DBIG equal to zero.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:45</div></div>
<div class="ttc" id="config__big__384__28_8h_html"><div class="ttname"><a href="config__big__384__28_8h.html">config_big_384_28.h</a></div><div class="ttdoc">Config BIG Header File.</div></div>
<div class="ttc" id="big__384__28_8h_html_a4a9f21e199c8aa375f10a620421382e6"><div class="ttname"><a href="big__384__28_8h.html#a4a9f21e199c8aa375f10a620421382e6">BIG_384_28_add</a></div><div class="ttdeci">void BIG_384_28_add(BIG_384_28 x, BIG_384_28 y, BIG_384_28 z)</div><div class="ttdoc">Set BIG to sum of two BIGs - output not normalised.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:356</div></div>
<div class="ttc" id="big__384__28_8h_html_a0d145f76d6d0b8823761f4ca6370c637"><div class="ttname"><a href="big__384__28_8h.html#a0d145f76d6d0b8823761f4ca6370c637">BIG_384_28_shr</a></div><div class="ttdeci">void BIG_384_28_shr(BIG_384_28 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_384_28.c:864</div></div>
<div class="ttc" id="big__384__28_8h_html_ae24758a390284bae57bd3bc25543309d"><div class="ttname"><a href="big__384__28_8h.html#ae24758a390284bae57bd3bc25543309d">BIG_384_28_ssn</a></div><div class="ttdeci">int BIG_384_28_ssn(BIG_384_28 r, BIG_384_28 a, BIG_384_28 m)</div><div class="ttdoc">Fast time-critical combined shift by 1 bit, subtract and normalise.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:877</div></div>
<div class="ttc" id="big__384__28_8h_html_ad69eeb57746553c390c02ce7fc53fedd"><div class="ttname"><a href="big__384__28_8h.html#ad69eeb57746553c390c02ce7fc53fedd">BIG_384_28_dnbits</a></div><div class="ttdeci">int BIG_384_28_dnbits(DBIG_384_28 x)</div><div class="ttdoc">Calculate number of bits in a DBIG - output normalised.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:1060</div></div>
<div class="ttc" id="big__384__28_8h_html_a6dd22adb17f614887efdee1cb57d0e81"><div class="ttname"><a href="big__384__28_8h.html#a6dd22adb17f614887efdee1cb57d0e81">BIG_384_28_modsqr</a></div><div class="ttdeci">void BIG_384_28_modsqr(BIG_384_28 x, BIG_384_28 y, BIG_384_28 n)</div><div class="ttdoc">Calculate x=y^2 mod n.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:1315</div></div>
<div class="ttc" id="big__384__28_8h_html_a15d63ef2bcc446e9d28fb3e5b6184b41"><div class="ttname"><a href="big__384__28_8h.html#a15d63ef2bcc446e9d28fb3e5b6184b41">BIG_384_28_sdiv</a></div><div class="ttdeci">void BIG_384_28_sdiv(BIG_384_28 x, BIG_384_28 n)</div><div class="ttdoc">Divide x by n - output normalised.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:1188</div></div>
<div class="ttc" id="big__384__28_8h_html_a65f2020e457f2c9d9b98cd595032a962"><div class="ttname"><a href="big__384__28_8h.html#a65f2020e457f2c9d9b98cd595032a962">BIG_384_28_dcomp</a></div><div class="ttdeci">int BIG_384_28_dcomp(DBIG_384_28 x, DBIG_384_28 y)</div><div class="ttdoc">Compares two DBIG numbers. Inputs must be normalised externally.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:1026</div></div>
<div class="ttc" id="big__384__28_8h_html_a618bf7d7e2be346517e7fbed186f46e8"><div class="ttname"><a href="big__384__28_8h.html#a618bf7d7e2be346517e7fbed186f46e8">BIG_384_28_sducopy</a></div><div class="ttdeci">void BIG_384_28_sducopy(BIG_384_28 x, DBIG_384_28 y)</div><div class="ttdoc">Copy upper half of DBIG to a BIG.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:306</div></div>
<div class="ttc" id="big__384__28_8h_html_ae9a29e377331b63ca78ce090e32bda20"><div class="ttname"><a href="big__384__28_8h.html#ae9a29e377331b63ca78ce090e32bda20">BIG_384_28_randomnum</a></div><div class="ttdeci">void BIG_384_28_randomnum(BIG_384_28 x, BIG_384_28 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_384_28.c:1274</div></div>
<div class="ttc" id="big__384__28_8h_html_a2bac6adf71cf485e03e34f2900c0e00c"><div class="ttname"><a href="big__384__28_8h.html#a2bac6adf71cf485e03e34f2900c0e00c">BIG_384_28_or</a></div><div class="ttdeci">void BIG_384_28_or(BIG_384_28 x, BIG_384_28 y, BIG_384_28 z)</div><div class="ttdoc">Set BIG to logical or of two BIGs - output normalised.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:371</div></div>
<div class="ttc" id="big__384__28_8h_html_a5c167fb2b00eccd42ce4ae9c796189e4"><div class="ttname"><a href="big__384__28_8h.html#a5c167fb2b00eccd42ce4ae9c796189e4">BIG_384_28_nbits</a></div><div class="ttdeci">int BIG_384_28_nbits(BIG_384_28 x)</div><div class="ttdoc">Calculate number of bits in a BIG - output normalised.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:1040</div></div>
<div class="ttc" id="big__384__28_8h_html_af1375dc3069a5b40e2a4721bc6c34ca7"><div class="ttname"><a href="big__384__28_8h.html#af1375dc3069a5b40e2a4721bc6c34ca7">BIG_384_28_rcopy</a></div><div class="ttdeci">void BIG_384_28_rcopy(BIG_384_28 x, const BIG_384_28 y)</div><div class="ttdoc">Copy BIG from Read-Only Memory to a BIG.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:239</div></div>
<div class="ttc" id="big__384__28_8h_html_a439daca6a2d884b15798c1e6d9a6ba4e"><div class="ttname"><a href="big__384__28_8h.html#a439daca6a2d884b15798c1e6d9a6ba4e">NLEN_384_28</a></div><div class="ttdeci">#define NLEN_384_28</div><div class="ttdef"><b>Definition:</b> big_384_28.h:40</div></div>
<div class="ttc" id="big__384__28_8h_html_ad08e2bf2a67f19eaab434ec546bb7ff6"><div class="ttname"><a href="big__384__28_8h.html#ad08e2bf2a67f19eaab434ec546bb7ff6">BIG_384_28_mod</a></div><div class="ttdeci">void BIG_384_28_mod(BIG_384_28 x, BIG_384_28 n)</div><div class="ttdoc">Reduce x mod n - input and output normalised.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:1082</div></div>
<div class="ttc" id="big__384__28_8h_html_a51b34c564e69a54e167e4327dc712219"><div class="ttname"><a href="big__384__28_8h.html#a51b34c564e69a54e167e4327dc712219">BIG_384_28_fromBytes</a></div><div class="ttdeci">void BIG_384_28_fromBytes(BIG_384_28 x, char *a)</div><div class="ttdoc">Convert to BIG number from byte array.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:155</div></div>
<div class="ttc" id="big__384__28_8h_html_a4ad8fd01de1709b61612fcc279274600"><div class="ttname"><a href="big__384__28_8h.html#a4ad8fd01de1709b61612fcc279274600">BIG_384_28_norm</a></div><div class="ttdeci">chunk BIG_384_28_norm(BIG_384_28 x)</div><div class="ttdoc">Normalizes a BIG number - output normalised.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:976</div></div>
<div class="ttc" id="big__384__28_8h_html_a4cb202b0eb07a78d009b729089742fea"><div class="ttname"><a href="big__384__28_8h.html#a4cb202b0eb07a78d009b729089742fea">BIG_384_28_dsub</a></div><div class="ttdeci">void BIG_384_28_dsub(DBIG_384_28 x, DBIG_384_28 y, DBIG_384_28 z)</div><div class="ttdoc">Set DBIG to difference of two DBIGs.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:413</div></div>
<div class="ttc" id="big__384__28_8h_html_a7fe701290d9d38d84514372f424187c5"><div class="ttname"><a href="big__384__28_8h.html#a7fe701290d9d38d84514372f424187c5">BIG_384_28_invmod2m</a></div><div class="ttdeci">void BIG_384_28_invmod2m(BIG_384_28 x)</div><div class="ttdoc">Set BIG to inverse mod 2^256.</div></div>
<div class="ttc" id="big__384__28_8h_html_a0c669c1e0764711db98f4690ab4ead02"><div class="ttname"><a href="big__384__28_8h.html#a0c669c1e0764711db98f4690ab4ead02">BIG_384_28_ddiv</a></div><div class="ttdeci">void BIG_384_28_ddiv(BIG_384_28 x, DBIG_384_28 y, BIG_384_28 n)</div><div class="ttdoc">x=y/n - output normalised</div><div class="ttdef"><b>Definition:</b> big_384_28.c:1149</div></div>
<div class="ttc" id="big__384__28_8h_html_ad9ec1f2757cac24535f8bdef1a7a39e8"><div class="ttname"><a href="big__384__28_8h.html#ad9ec1f2757cac24535f8bdef1a7a39e8">BIG_384_28_fshl</a></div><div class="ttdeci">int BIG_384_28_fshl(BIG_384_28 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_384_28.c:832</div></div>
<div class="ttc" id="big__384__28_8h_html_a7c2f771cf7b5dd17f8e1f05da8bf97a1"><div class="ttname"><a href="big__384__28_8h.html#a7c2f771cf7b5dd17f8e1f05da8bf97a1">BIG_384_28_cmove</a></div><div class="ttdeci">void BIG_384_28_cmove(BIG_384_28 x, BIG_384_28 y, int s)</div><div class="ttdoc">Conditional copy of BIG number.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:110</div></div>
<div class="ttc" id="config__big__384__28_8h_html_a63908e1d54e13f099cce3ef2abf90f96"><div class="ttname"><a href="config__big__384__28_8h.html#a63908e1d54e13f099cce3ef2abf90f96">BASEBITS_384_28</a></div><div class="ttdeci">#define BASEBITS_384_28</div><div class="ttdef"><b>Definition:</b> config_big_384_28.h:35</div></div>
<div class="ttc" id="big__384__28_8h_html_a42203ae1493bb5e1f84e2f93b44f543f"><div class="ttname"><a href="big__384__28_8h.html#a42203ae1493bb5e1f84e2f93b44f543f">BIG_384_28_dfromBytesLen</a></div><div class="ttdeci">void BIG_384_28_dfromBytesLen(DBIG_384_28 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_384_28.c:1485</div></div>
<div class="ttc" id="big__384__28_8h_html_a516ac3f0b90c3eae0d5021c8616b7368"><div class="ttname"><a href="big__384__28_8h.html#a516ac3f0b90c3eae0d5021c8616b7368">BIG_384_28_doutput</a></div><div class="ttdeci">void BIG_384_28_doutput(DBIG_384_28 x)</div><div class="ttdoc">Outputs a DBIG number to the console.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:190</div></div>
<div class="ttc" id="big__384__28_8h_html_ab1d79b56107d0bfe073c4dbec9edb424"><div class="ttname"><a href="big__384__28_8h.html#ab1d79b56107d0bfe073c4dbec9edb424">BIG_384_28_one</a></div><div class="ttdeci">void BIG_384_28_one(BIG_384_28 x)</div><div class="ttdoc">Set BIG to one (unity)</div><div class="ttdef"><b>Definition:</b> big_384_28.c:340</div></div>
<div class="ttc" id="big__384__28_8h_html_a16ee35f89cb5f1ddd2dd23ca3060b71e"><div class="ttname"><a href="big__384__28_8h.html#a16ee35f89cb5f1ddd2dd23ca3060b71e">BIG_384_28</a></div><div class="ttdeci">chunk BIG_384_28[NLEN_384_28]</div><div class="ttdef"><b>Definition:</b> big_384_28.h:58</div></div>
<div class="ttc" id="big__384__28_8h_html_ae43efdb25a16be101f8156b2047d7e9c"><div class="ttname"><a href="big__384__28_8h.html#ae43efdb25a16be101f8156b2047d7e9c">BIG_384_28_zero</a></div><div class="ttdeci">void BIG_384_28_zero(BIG_384_28 x)</div><div class="ttdoc">Set BIG to zero.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:319</div></div>
<div class="ttc" id="big__384__28_8h_html_ae71455123481ffaa1c7e08f81d155ff9"><div class="ttname"><a href="big__384__28_8h.html#ae71455123481ffaa1c7e08f81d155ff9">BIG_384_28_dcmove</a></div><div class="ttdeci">void BIG_384_28_dcmove(BIG_384_28 x, BIG_384_28 y, int s)</div><div class="ttdoc">Conditional copy of DBIG number.</div></div>
<div class="ttc" id="big__384__28_8h_html_afbc6201e5eae7949f8fdaca44dfc95b6"><div class="ttname"><a href="big__384__28_8h.html#afbc6201e5eae7949f8fdaca44dfc95b6">BIG_384_28_output</a></div><div class="ttdeci">void BIG_384_28_output(BIG_384_28 x)</div><div class="ttdoc">Outputs a BIG number to the console.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:55</div></div>
<div class="ttc" id="big__384__28_8h_html_a228697f5aeef97b347d5bd095cbed9bf"><div class="ttname"><a href="big__384__28_8h.html#a228697f5aeef97b347d5bd095cbed9bf">BIG_384_28_dec</a></div><div class="ttdeci">void BIG_384_28_dec(BIG_384_28 x, int i)</div><div class="ttdoc">Decrement BIG by a small integer - output not normalised.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:440</div></div>
<div class="ttc" id="big__384__28_8h_html_a52395d29456061e275f180bcbc0fa9d9"><div class="ttname"><a href="big__384__28_8h.html#a52395d29456061e275f180bcbc0fa9d9">BIG_384_28_sdcopy</a></div><div class="ttdeci">void BIG_384_28_sdcopy(BIG_384_28 x, DBIG_384_28 y)</div><div class="ttdoc">Copy lower half of DBIG to a BIG.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:294</div></div>
<div class="ttc" id="big__384__28_8h_html_a58341593cdb187626cb9ed9fc255c390"><div class="ttname"><a href="big__384__28_8h.html#a58341593cdb187626cb9ed9fc255c390">BIG_384_28_isunity</a></div><div class="ttdeci">int BIG_384_28_isunity(BIG_384_28 x)</div><div class="ttdoc">Tests for BIG equal to one.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:35</div></div>
<div class="ttc" id="big__384__28_8h_html_ac6c217fef49e386b85b023fe05f80723"><div class="ttname"><a href="big__384__28_8h.html#ac6c217fef49e386b85b023fe05f80723">BIG_384_28_mul</a></div><div class="ttdeci">void BIG_384_28_mul(DBIG_384_28 x, BIG_384_28 y, BIG_384_28 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_384_28.c:542</div></div>
<div class="ttc" id="big__384__28_8h_html_a1332067c6ddd966c3ee106ca9232bcd5"><div class="ttname"><a href="big__384__28_8h.html#a1332067c6ddd966c3ee106ca9232bcd5">BIG_384_28_bit</a></div><div class="ttdeci">int BIG_384_28_bit(BIG_384_28 x, int i)</div><div class="ttdoc">return i-th of BIG</div><div class="ttdef"><b>Definition:</b> big_384_28.c:1232</div></div>
<div class="ttc" id="big__384__28_8h_html_a8ecc6d852c9a8295de789234094b1dce"><div class="ttname"><a href="big__384__28_8h.html#a8ecc6d852c9a8295de789234094b1dce">DNLEN_384_28</a></div><div class="ttdeci">#define DNLEN_384_28</div><div class="ttdef"><b>Definition:</b> big_384_28.h:41</div></div>
<div class="ttc" id="big__384__28_8h_html_a9b5cd02ecfebe5b4d0f6ac1edac6c52c"><div class="ttname"><a href="big__384__28_8h.html#a9b5cd02ecfebe5b4d0f6ac1edac6c52c">BIG_384_28_dscopy</a></div><div class="ttdeci">void BIG_384_28_dscopy(DBIG_384_28 x, BIG_384_28 y)</div><div class="ttdoc">Copy BIG to lower half of DBIG.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:263</div></div>
<div class="ttc" id="big__384__28_8h_html_aa2d828ed693c2267db21030a7b8aa65f"><div class="ttname"><a href="big__384__28_8h.html#aa2d828ed693c2267db21030a7b8aa65f">BIG_384_28_comp</a></div><div class="ttdeci">int BIG_384_28_comp(BIG_384_28 x, BIG_384_28 y)</div><div class="ttdoc">Compares two BIG numbers. Inputs must be normalised externally.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:1014</div></div>
<div class="ttc" id="big__384__28_8h_html_a11b73740018af049295c35189bceac13"><div class="ttname"><a href="big__384__28_8h.html#a11b73740018af049295c35189bceac13">BIG_384_28_lastbits</a></div><div class="ttdeci">int BIG_384_28_lastbits(BIG_384_28 x, int n)</div><div class="ttdoc">return least significant bits of a BIG</div><div class="ttdef"><b>Definition:</b> big_384_28.c:1240</div></div>
<div class="ttc" id="big__384__28_8h_html_a47ca896b3c4555f90fd10841c9f87d03"><div class="ttname"><a href="big__384__28_8h.html#a47ca896b3c4555f90fd10841c9f87d03">BIG_384_28_pxmul</a></div><div class="ttdeci">void BIG_384_28_pxmul(DBIG_384_28 x, BIG_384_28 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_384_28.c:501</div></div>
<div class="ttc" id="big__384__28_8h_html_aee6f1279d5b892bfe71c18395de4c91b"><div class="ttname"><a href="big__384__28_8h.html#aee6f1279d5b892bfe71c18395de4c91b">DBIG_384_28</a></div><div class="ttdeci">chunk DBIG_384_28[DNLEN_384_28]</div><div class="ttdef"><b>Definition:</b> big_384_28.h:59</div></div>
<div class="ttc" id="big__384__28_8h_html_aef2b744cef6fe1696b79b2aa3fed8fb2"><div class="ttname"><a href="big__384__28_8h.html#aef2b744cef6fe1696b79b2aa3fed8fb2">BIG_384_28_dnorm</a></div><div class="ttdeci">void BIG_384_28_dnorm(DBIG_384_28 x)</div><div class="ttdoc">Normalizes a DBIG number - output normalised.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:995</div></div>
<div class="ttc" id="big__384__28_8h_html_a3ab047839afd602bbba5fa530f48a1f9"><div class="ttname"><a href="big__384__28_8h.html#a3ab047839afd602bbba5fa530f48a1f9">BIG_384_28_toBytes</a></div><div class="ttdeci">void BIG_384_28_toBytes(char *a, BIG_384_28 x)</div><div class="ttdoc">Convert from BIG number to byte array.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:141</div></div>
<div class="ttc" id="big__384__28_8h_html_ad2c01faa4c2e37c3b546d0a3213e2cd5"><div class="ttname"><a href="big__384__28_8h.html#ad2c01faa4c2e37c3b546d0a3213e2cd5">BIG_384_28_jacobi</a></div><div class="ttdeci">int BIG_384_28_jacobi(BIG_384_28 x, BIG_384_28 y)</div><div class="ttdoc">Calculate jacobi Symbol (x/y)</div><div class="ttdef"><b>Definition:</b> big_384_28.c:1354</div></div>
<div class="ttc" id="big__384__28_8h_html_a1668ae2de15408b596eea43adc6f9015"><div class="ttname"><a href="big__384__28_8h.html#a1668ae2de15408b596eea43adc6f9015">BIG_384_28_random</a></div><div class="ttdeci">void BIG_384_28_random(BIG_384_28 x, csprng *r)</div><div class="ttdoc">Create a random BIG from a random number generator.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:1248</div></div>
<div class="ttc" id="big__384__28_8h_html_a3303e969db79f8ea0c7b56a1beb2a79a"><div class="ttname"><a href="big__384__28_8h.html#a3303e969db79f8ea0c7b56a1beb2a79a">BIG_384_28_invmodp</a></div><div class="ttdeci">void BIG_384_28_invmodp(BIG_384_28 x, BIG_384_28 y, BIG_384_28 n)</div><div class="ttdoc">Calculate x=1/y mod n.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:1392</div></div>
<div class="ttc" id="big__384__28_8h_html_a84665e78dbc0947688151a4ac8dc9644"><div class="ttname"><a href="big__384__28_8h.html#a84665e78dbc0947688151a4ac8dc9644">BMASK_384_28</a></div><div class="ttdeci">#define BMASK_384_28</div><div class="ttdef"><b>Definition:</b> big_384_28.h:42</div></div>
<div class="ttc" id="big__384__28_8h_html_ade8e4549ea507d3e683fe81d4d400f71"><div class="ttname"><a href="big__384__28_8h.html#ade8e4549ea507d3e683fe81d4d400f71">BIG_384_28_shl</a></div><div class="ttdeci">void BIG_384_28_shl(BIG_384_28 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_384_28.c:813</div></div>
<div class="ttc" id="big__384__28_8h_html_ac436ebf172cfe996920945b3f1b7cb4a"><div class="ttname"><a href="big__384__28_8h.html#ac436ebf172cfe996920945b3f1b7cb4a">BIG_384_28_div3</a></div><div class="ttdeci">int BIG_384_28_div3(BIG_384_28 x)</div><div class="ttdoc">Divide BIG by 3 - output normalised.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:484</div></div>
<div class="ttc" id="big__384__28_8h_html_aff7c69eedbb24ec68e7ddf4db9acc4c4"><div class="ttname"><a href="big__384__28_8h.html#aff7c69eedbb24ec68e7ddf4db9acc4c4">BIG_384_28_parity</a></div><div class="ttdeci">int BIG_384_28_parity(BIG_384_28 x)</div><div class="ttdoc">return parity of BIG, that is the least significant bit</div><div class="ttdef"><b>Definition:</b> big_384_28.c:1225</div></div>
<div class="ttc" id="big__384__28_8h_html_a238e27e5b205b6181f5c718d12c26e00"><div class="ttname"><a href="big__384__28_8h.html#a238e27e5b205b6181f5c718d12c26e00">BIG_384_28_dzero</a></div><div class="ttdeci">void BIG_384_28_dzero(DBIG_384_28 x)</div><div class="ttdoc">Set DBIG to zero.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:329</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__384__28_8h_html_afacc56ed2d110adb76534f3835129f70"><div class="ttname"><a href="big__384__28_8h.html#afacc56ed2d110adb76534f3835129f70">BIG_384_28_drawoutput</a></div><div class="ttdeci">void BIG_384_28_drawoutput(DBIG_384_28 x)</div><div class="ttdoc">Outputs a DBIG number to the console.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:212</div></div>
<div class="ttc" id="big__384__28_8h_html_ac45376eaec2c8050f1375202e0976534"><div class="ttname"><a href="big__384__28_8h.html#ac45376eaec2c8050f1375202e0976534">BIG_384_28_dadd</a></div><div class="ttdeci">void BIG_384_28_dadd(DBIG_384_28 x, DBIG_384_28 y, DBIG_384_28 z)</div><div class="ttdoc">Set DBIG to sum of two DBIGs.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:426</div></div>
<div class="ttc" id="big__384__28_8h_html_ad9ca3ee5748f621f5e97876f57c3ce5c"><div class="ttname"><a href="big__384__28_8h.html#ad9ca3ee5748f621f5e97876f57c3ce5c">BIG_384_28_modmul</a></div><div class="ttdeci">void BIG_384_28_modmul(BIG_384_28 x, BIG_384_28 y, BIG_384_28 z, BIG_384_28 n)</div><div class="ttdoc">Calculate x=y*z mod n.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:1300</div></div>
<div class="ttc" id="big__384__28_8h_html_a09cb7359e8678a5ac2e7fc3e332eb29c"><div class="ttname"><a href="big__384__28_8h.html#a09cb7359e8678a5ac2e7fc3e332eb29c">BIG_384_28_cswap</a></div><div class="ttdeci">void BIG_384_28_cswap(BIG_384_28 x, BIG_384_28 y, int s)</div><div class="ttdoc">Conditional constant time swap of two BIG numbers.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:92</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="big__384__28_8h_html_a96499245fbc0e95cea2d5620a737fda6"><div class="ttname"><a href="big__384__28_8h.html#a96499245fbc0e95cea2d5620a737fda6">BIG_384_28_mod2m</a></div><div class="ttdeci">void BIG_384_28_mod2m(BIG_384_28 x, int m)</div><div class="ttdoc">Calculate x=x mod 2^m.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:1456</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__384__28_8h_html_a0b9f6d6a15963d0ca607e5143f726651"><div class="ttname"><a href="big__384__28_8h.html#a0b9f6d6a15963d0ca607e5143f726651">BIG_384_28_sqr</a></div><div class="ttdeci">void BIG_384_28_sqr(DBIG_384_28 x, BIG_384_28 y)</div><div class="ttdoc">Square BIG resulting in a DBIG - input normalised and output normalised.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:618</div></div>
<div class="ttc" id="big__384__28_8h_html_a63d3817c3c3bce6ac1c39c8b16fac06f"><div class="ttname"><a href="big__384__28_8h.html#a63d3817c3c3bce6ac1c39c8b16fac06f">BIG_384_28_copy</a></div><div class="ttdeci">void BIG_384_28_copy(BIG_384_28 x, BIG_384_28 y)</div><div class="ttdoc">Copy BIG to another BIG.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:227</div></div>
<div class="ttc" id="big__384__28_8h_html_a1a726364369270a9e29464eeb9aee469"><div class="ttname"><a href="big__384__28_8h.html#a1a726364369270a9e29464eeb9aee469">BIG_384_28_dsucopy</a></div><div class="ttdeci">void BIG_384_28_dsucopy(DBIG_384_28 x, BIG_384_28 y)</div><div class="ttdoc">Copy BIG to upper half of DBIG.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:280</div></div>
<div class="ttc" id="big__384__28_8h_html_a7add637ce6e6a22f580a621e454e2f1b"><div class="ttname"><a href="big__384__28_8h.html#a7add637ce6e6a22f580a621e454e2f1b">HBITS_384_28</a></div><div class="ttdeci">#define HBITS_384_28</div><div class="ttdef"><b>Definition:</b> big_384_28.h:45</div></div>
<div class="ttc" id="big__384__28_8h_html_af5726874f41c1bc21331297bdd12ad02"><div class="ttname"><a href="big__384__28_8h.html#af5726874f41c1bc21331297bdd12ad02">BIG_384_28_dmod</a></div><div class="ttdeci">void BIG_384_28_dmod(BIG_384_28 x, DBIG_384_28 y, BIG_384_28 n)</div><div class="ttdoc">x=y mod n - output normalised</div><div class="ttdef"><b>Definition:</b> big_384_28.c:1113</div></div>
<div class="ttc" id="big__384__28_8h_html_a847b33bcb40d3241e31b6ee96bd8f4c6"><div class="ttname"><a href="big__384__28_8h.html#a847b33bcb40d3241e31b6ee96bd8f4c6">BIG_384_28_monty</a></div><div class="ttdeci">void BIG_384_28_monty(BIG_384_28 a, BIG_384_28 md, chunk MC, DBIG_384_28 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_384_28.c:735</div></div>
<div class="ttc" id="big__384__28_8h_html_a2db1bbccaf315a380d68b89d82867077"><div class="ttname"><a href="big__384__28_8h.html#a2db1bbccaf315a380d68b89d82867077">BIG_384_28_modneg</a></div><div class="ttdeci">void BIG_384_28_modneg(BIG_384_28 x, BIG_384_28 y, BIG_384_28 n)</div><div class="ttdoc">Calculate x=-y mod n.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:1327</div></div>
<div class="ttc" id="big__384__28_8h_html_aa752852a23b3e0c59a7b664c0e117261"><div class="ttname"><a href="big__384__28_8h.html#aa752852a23b3e0c59a7b664c0e117261">BIG_384_28_moddiv</a></div><div class="ttdeci">void BIG_384_28_moddiv(BIG_384_28 x, BIG_384_28 y, BIG_384_28 z, BIG_384_28 n)</div><div class="ttdoc">Calculate x=y/z mod n.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:1337</div></div>
<div class="ttc" id="big__384__28_8h_html_afa77897ed052e7b53cf745c275bf7e31"><div class="ttname"><a href="big__384__28_8h.html#afa77897ed052e7b53cf745c275bf7e31">BIG_384_28_dshr</a></div><div class="ttdeci">void BIG_384_28_dshr(DBIG_384_28 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_384_28.c:918</div></div>
<div class="ttc" id="big__384__28_8h_html_aaae155a2c272e54cb6debaf4c22c752c"><div class="ttname"><a href="big__384__28_8h.html#aaae155a2c272e54cb6debaf4c22c752c">BIG_384_28_iszilch</a></div><div class="ttdeci">int BIG_384_28_iszilch(BIG_384_28 x)</div><div class="ttdoc">Tests for BIG equal to zero.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:26</div></div>
<div class="ttc" id="big__384__28_8h_html_a45c30f3703cec5ae3eb6de061012af88"><div class="ttname"><a href="big__384__28_8h.html#a45c30f3703cec5ae3eb6de061012af88">BIG_384_28_dmod2m</a></div><div class="ttdeci">void BIG_384_28_dmod2m(DBIG_384_28 x, int m)</div><div class="ttdoc">Calculate x=x mod 2^m.</div><div class="ttdef"><b>Definition:</b> big_384_28.c:1470</div></div>
<div class="ttc" id="big__384__28_8h_html_ad63df8e11b6f1cfeb7e9140cab9d561e"><div class="ttname"><a href="big__384__28_8h.html#ad63df8e11b6f1cfeb7e9140cab9d561e">BIG_384_28_pmul</a></div><div class="ttdeci">chunk BIG_384_28_pmul(BIG_384_28 x, BIG_384_28 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_384_28.c:465</div></div>
<div class="ttc" id="big__384__28_8h_html_adc8507bac205a5f0ccbac18de7b68ca1"><div class="ttname"><a href="big__384__28_8h.html#adc8507bac205a5f0ccbac18de7b68ca1">BIG_384_28_smul</a></div><div class="ttdeci">void BIG_384_28_smul(BIG_384_28 x, BIG_384_28 y, BIG_384_28 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_384_28.c:518</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.15
</small></address>
</body>
</html>