-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathbig__integer__gmp_8h_source.html
More file actions
executable file
·293 lines (291 loc) · 73.9 KB
/
big__integer__gmp_8h_source.html
File metadata and controls
executable file
·293 lines (291 loc) · 73.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
<!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.6"/>
<title>SeComLib: big_integer_gmp.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/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script src="http://cdn.mathjax.org/mathjax/latest/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="projectlogo"><img alt="Logo" src="TUDelft.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">SeComLib
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>File Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Pages</a></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_4270bfced15e0e73154b13468c7c9ad9.html">core</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">big_integer_gmp.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="big__integer__gmp_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> <span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">SeComLib</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">Copyright 2012-2013 TU Delft, Information Security & Privacy Lab (http://isplab.tudelft.nl/)</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"></span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">Contributors:</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">Inald Lagendijk (R.L.Lagendijk@TUDelft.nl)</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">Mihai Todor (todormihai@gmail.com)</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">Thijs Veugen (P.J.M.Veugen@tudelft.nl)</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">Zekeriya Erkin (z.erkin@tudelft.nl)</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"></span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">Licensed under the Apache License, Version 2.0 (the "License");</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">you may not use this file except in compliance with the License.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">You may obtain a copy of the License at</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"></span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"></span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">distributed under the License is distributed on an "AS IS" BASIS,</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment">See the License for the specific language governing permissions and</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">limitations under the License.</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">*/</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#ifndef BIG_INTEGER_GMP_HEADER_GUARD</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor"></span><span class="preprocessor">#define BIG_INTEGER_GMP_HEADER_GUARD</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor"></span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "<a class="code" href="big__integer__base_8h.html">big_integer_base.h</a>"</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment">//include C++ headers</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include <iostream></span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include <string></span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include <stdexcept></span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment">//include 3rd party library headers</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#if defined(LIB_GMP)</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor"></span><span class="preprocessor"> #if defined(_WIN32)</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor"></span><span class="preprocessor"> #pragma warning(push)</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor"></span><span class="preprocessor"> #pragma warning(disable: 4127)//disable "warning C4127: conditional expression is constant"</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor"></span><span class="preprocessor"> #pragma warning(disable: 4146)//disable "warning C4146: unary minus operator applied to unsigned type, result still unsigned"</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor"></span><span class="preprocessor"> #include "gmp/gmp.h"</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor"> #pragma warning(pop)//restore warnings</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor"></span><span class="preprocessor"> #else</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor"></span><span class="preprocessor"> #include "gmp.h"</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor"> #endif</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor"></span><span class="preprocessor">#elif defined(LIB_MPIR)</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor"></span><span class="preprocessor"> #if defined(_WIN32)</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor"></span><span class="preprocessor"> #pragma warning(push)</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor"></span><span class="preprocessor"> #pragma warning(disable: 4127)//disable "warning C4127: conditional expression is constant"</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="preprocessor"></span><span class="preprocessor"> #include "mpir/mpir.h"</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="preprocessor"> #pragma warning(pop)//restore warnings</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="preprocessor"></span><span class="preprocessor"> #else</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="preprocessor"></span><span class="preprocessor"> #include "mpir.h"</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="preprocessor"> #endif</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="preprocessor"></span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="keyword">namespace </span>SeComLib {</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="keyword">namespace </span>Core {</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="big__integer__gmp_8h.html#ae9bb3293794e26e11a7f66d053e8af75"> 70</a></span> <span class="preprocessor"> #define MILLER_RABIN_PRIMALITY_TEST_COUNT 10</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="preprocessor"></span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="comment">//forward-declare the GMP random provider wrapper</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keyword">class </span>RandomProviderGmp;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html"> 78</a></span>  <span class="keyword">class </span><a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html">BigIntegerGmp</a> {</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#abce24c12dde2a242c1cffcaba0e938e8"> 81</a></span>  <span class="keyword">typedef</span> mpz_t <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#abce24c12dde2a242c1cffcaba0e938e8">BigIntegerType</a>;</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ac81355b3539ce70ebcfaef14137884de"> 84</a></span>  <span class="keyword">typedef</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_random_provider_gmp.html">RandomProviderGmp</a> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ac81355b3539ce70ebcfaef14137884de">RandomGeneratorImpl</a>;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#aa16f4c5a23e1b8719a491fd3936dc8ef">Initialize</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input);</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#aa16f4c5a23e1b8719a491fd3936dc8ef">Initialize</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &value);</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#aa16f4c5a23e1b8719a491fd3936dc8ef">Initialize</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <span class="keywordtype">long</span> value);</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#aa16f4c5a23e1b8719a491fd3936dc8ef">Initialize</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> value);</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#aa16f4c5a23e1b8719a491fd3936dc8ef">Initialize</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <span class="keywordtype">double</span> value, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &scaling, <span class="keyword">const</span> <span class="keywordtype">bool</span> truncate = <span class="keyword">false</span>);</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#aa16f4c5a23e1b8719a491fd3936dc8ef">Initialize</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <span class="keywordtype">double</span> value, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> numberOfDigits, <span class="keyword">const</span> <span class="keywordtype">bool</span> truncate = <span class="keyword">false</span>);</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#aa16f4c5a23e1b8719a491fd3936dc8ef">Initialize</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> std::string &value, <span class="keyword">const</span> <span class="keywordtype">int</span> base = 0);</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#af7c54b731c21638d00ebfd850297ae47">Destroy</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input);</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a772dbce23339c000d43afd015ae81149">Set</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &value);</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a772dbce23339c000d43afd015ae81149">Set</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <span class="keywordtype">long</span> value);</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a772dbce23339c000d43afd015ae81149">Set</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> value);</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a5ca18c0587ef9fc29da31006273ee340">InvertSign</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input);</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ae6730045428ebfba9af36f2ec22a0324">Add</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &rhs);</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ae6730045428ebfba9af36f2ec22a0324">Add</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <span class="keyword">const</span> <span class="keywordtype">long</span> rhs);</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ae6730045428ebfba9af36f2ec22a0324">Add</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> rhs);</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ac72b3d7d049b39ab5721b4fc46b8412c">Subtract</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &rhs);</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ac72b3d7d049b39ab5721b4fc46b8412c">Subtract</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <span class="keyword">const</span> <span class="keywordtype">long</span> rhs);</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ac72b3d7d049b39ab5721b4fc46b8412c">Subtract</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> rhs);</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a362311a431a4fedbe133b0514895ba40">Multiply</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &rhs);</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a362311a431a4fedbe133b0514895ba40">Multiply</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <span class="keyword">const</span> <span class="keywordtype">long</span> rhs);</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a362311a431a4fedbe133b0514895ba40">Multiply</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> rhs);</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a028ff57df6fa5b8f8b022c5e8ed00d50">Divide</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &rhs);</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a028ff57df6fa5b8f8b022c5e8ed00d50">Divide</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <span class="keyword">const</span> <span class="keywordtype">long</span> rhs);</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a028ff57df6fa5b8f8b022c5e8ed00d50">Divide</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> rhs);</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ad1bce7a5c83f8a63c57cc50a22b78270">Modulo</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &n);</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ad1bce7a5c83f8a63c57cc50a22b78270">Modulo</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <span class="keywordtype">long</span> n);</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ad1bce7a5c83f8a63c57cc50a22b78270">Modulo</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> n);</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a9cd263aa652dd4332e9e1a01a8555498">Compare</a> (<span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &rhs);</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a9cd263aa652dd4332e9e1a01a8555498">Compare</a> (<span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <span class="keyword">const</span> <span class="keywordtype">long</span> rhs);</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a9cd263aa652dd4332e9e1a01a8555498">Compare</a> (<span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> rhs);</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> </div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ae507a566c3f7fe76e0d24ab549e6ddc9">RightShift</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> numberOfBits);</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a9afd7580098d337a1e8d4a24ae5e8fe0">LeftShift</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> numberOfBits);</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a32ef1b0adba25a9d1bdf26fdde0040d2">InvertBits</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input);</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#aaf30c8967d2518a1e1573cc9274c26f8">BitwiseAnd</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &rhs);</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a01bb5aa30e3544dcad467532cb686a02">BitwiseOr</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &rhs);</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a443332861b5c98a3d18a20fd99184173">BitwiseXor</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &rhs);</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a584b49914f865fb1279a678e9770857e">GetNextPrime</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input);</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#acc4df615d4eab90f6416792d88c70802">IsPrime</a> (<span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input);</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a1f74116d4b15c2d8da7b3babcf3cbecf">SetBit</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <span class="keywordtype">size_t</span> index);</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a0b1fff90d882f62e0948ad1e4657689c">GetBit</a> (<span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <span class="keywordtype">size_t</span> index);</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> </div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keyword">static</span> <span class="keywordtype">size_t</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ad85ca9752e7ef3321751b2b4ace6c428">GetSize</a> (<span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> base = 2);</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> </div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a2110e62acd540e0ff35126a789467b38">Abs</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input);</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> </div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#aebcbddb05050cc4422b88382d0f5c9f4">Pow</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &power);</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#aebcbddb05050cc4422b88382d0f5c9f4">Pow</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <span class="keywordtype">long</span> power);</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#aebcbddb05050cc4422b88382d0f5c9f4">Pow</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> power);</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ab0d44ae9b9f8daa4f01e95e8867ac75e">PowModN</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &power, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &n);</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ab0d44ae9b9f8daa4f01e95e8867ac75e">PowModN</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <span class="keywordtype">long</span> power, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &n);</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ab0d44ae9b9f8daa4f01e95e8867ac75e">PowModN</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> power, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &n);</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span> </div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a0df65c758830c8f494904d1a9898b48a">InvertModN</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &n);</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> </div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a12aee9f6d8b8b03771de134bb2bdb976">Swap</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &rhs);</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a082a6128c8fb447c53ef0765d414f7b8">Gcd</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &rhs);</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ad8d7bba3c5dac7a6e05aff97f6e22807">Lcm</a> (<a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &output, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &lhs, <span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &rhs);</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span> </div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keyword">static</span> std::string <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#add0e58795ab148da548fa53fb88a86ee">ToString</a> (<span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> base = 2);</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="keyword">static</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a6c35288ebc1b110d5bffe78a94a453cc">ToUnsignedLong</a> (<span class="keyword">const</span> <a class="code" href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">BigIntegerBase<BigIntegerGmp></a> &input);</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  };</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> </div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> </div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> }<span class="comment">//namespace Core</span></div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span> }<span class="comment">//namespace SeComLib</span></div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> </div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> <span class="preprocessor">#endif//BIG_INTEGER_GMP_HEADER_GUARD</span></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_ad1bce7a5c83f8a63c57cc50a22b78270"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ad1bce7a5c83f8a63c57cc50a22b78270">SeComLib::Core::BigIntegerGmp::Modulo</a></div><div class="ttdeci">static void Modulo(BigIntegerBase< BigIntegerGmp > &output, const BigIntegerBase< BigIntegerGmp > &input, const BigIntegerBase< BigIntegerGmp > &n)</div><div class="ttdoc">Computes input mod n. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00417">big_integer_gmp.cpp:417</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_ad8d7bba3c5dac7a6e05aff97f6e22807"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ad8d7bba3c5dac7a6e05aff97f6e22807">SeComLib::Core::BigIntegerGmp::Lcm</a></div><div class="ttdeci">static void Lcm(BigIntegerBase< BigIntegerGmp > &output, const BigIntegerBase< BigIntegerGmp > &lhs, const BigIntegerBase< BigIntegerGmp > &rhs)</div><div class="ttdoc">Computes the least common multiple of lhs and rhs. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00814">big_integer_gmp.cpp:814</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_a9afd7580098d337a1e8d4a24ae5e8fe0"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a9afd7580098d337a1e8d4a24ae5e8fe0">SeComLib::Core::BigIntegerGmp::LeftShift</a></div><div class="ttdeci">static void LeftShift(BigIntegerBase< BigIntegerGmp > &output, const BigIntegerBase< BigIntegerGmp > &input, const unsigned long numberOfBits)</div><div class="ttdoc">Bitwise left shift input by numberOfBits. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00471">big_integer_gmp.cpp:471</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_random_provider_gmp_html"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_random_provider_gmp.html">SeComLib::Core::RandomProviderGmp</a></div><div class="ttdoc">Wrapper for the required GMP library random number specific functions. </div><div class="ttdef"><b>Definition:</b> <a href="random__provider__gmp_8h_source.html#l00050">random_provider_gmp.h:50</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_a082a6128c8fb447c53ef0765d414f7b8"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a082a6128c8fb447c53ef0765d414f7b8">SeComLib::Core::BigIntegerGmp::Gcd</a></div><div class="ttdeci">static void Gcd(BigIntegerBase< BigIntegerGmp > &output, const BigIntegerBase< BigIntegerGmp > &lhs, const BigIntegerBase< BigIntegerGmp > &rhs)</div><div class="ttdoc">Computes the greatest common divisor of lhs and rhs. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00798">big_integer_gmp.cpp:798</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_a12aee9f6d8b8b03771de134bb2bdb976"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a12aee9f6d8b8b03771de134bb2bdb976">SeComLib::Core::BigIntegerGmp::Swap</a></div><div class="ttdeci">static void Swap(BigIntegerBase< BigIntegerGmp > &lhs, BigIntegerBase< BigIntegerGmp > &rhs)</div><div class="ttdoc">Swaps lhs with rhs efficiently. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00781">big_integer_gmp.cpp:781</a></div></div>
<div class="ttc" id="big__integer__base_8h_html"><div class="ttname"><a href="big__integer__base_8h.html">big_integer_base.h</a></div><div class="ttdoc">Definition of class BigIntegerBase. </div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_ac81355b3539ce70ebcfaef14137884de"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ac81355b3539ce70ebcfaef14137884de">SeComLib::Core::BigIntegerGmp::RandomGeneratorImpl</a></div><div class="ttdeci">RandomProviderGmp RandomGeneratorImpl</div><div class="ttdoc">Generic alias required by BigIntegerBase to grant the GMP random provider wrapper access to its priva...</div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8h_source.html#l00084">big_integer_gmp.h:84</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_a0df65c758830c8f494904d1a9898b48a"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a0df65c758830c8f494904d1a9898b48a">SeComLib::Core::BigIntegerGmp::InvertModN</a></div><div class="ttdeci">static void InvertModN(BigIntegerBase< BigIntegerGmp > &output, const BigIntegerBase< BigIntegerGmp > &input, const BigIntegerBase< BigIntegerGmp > &n)</div><div class="ttdoc">Inverts input modulo n. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00771">big_integer_gmp.cpp:771</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_af7c54b731c21638d00ebfd850297ae47"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#af7c54b731c21638d00ebfd850297ae47">SeComLib::Core::BigIntegerGmp::Destroy</a></div><div class="ttdeci">static void Destroy(BigIntegerBase< BigIntegerGmp > &input)</div><div class="ttdoc">Destroys the underlying data from input. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00241">big_integer_gmp.cpp:241</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_a0b1fff90d882f62e0948ad1e4657689c"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a0b1fff90d882f62e0948ad1e4657689c">SeComLib::Core::BigIntegerGmp::GetBit</a></div><div class="ttdeci">static int GetBit(const BigIntegerBase< BigIntegerGmp > &input, const size_t index)</div><div class="ttdoc">Returns the bit specified by index. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00598">big_integer_gmp.cpp:598</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_ac72b3d7d049b39ab5721b4fc46b8412c"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ac72b3d7d049b39ab5721b4fc46b8412c">SeComLib::Core::BigIntegerGmp::Subtract</a></div><div class="ttdeci">static void Subtract(BigIntegerBase< BigIntegerGmp > &output, const BigIntegerBase< BigIntegerGmp > &lhs, const BigIntegerBase< BigIntegerGmp > &rhs)</div><div class="ttdoc">Subtracts rhs from lhs. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00314">big_integer_gmp.cpp:314</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_aebcbddb05050cc4422b88382d0f5c9f4"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#aebcbddb05050cc4422b88382d0f5c9f4">SeComLib::Core::BigIntegerGmp::Pow</a></div><div class="ttdeci">static void Pow(BigIntegerBase< BigIntegerGmp > &output, const BigIntegerBase< BigIntegerGmp > &input, const BigIntegerBase< BigIntegerGmp > &power)</div><div class="ttdoc">Raises input to the specified power. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00646">big_integer_gmp.cpp:646</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_aa16f4c5a23e1b8719a491fd3936dc8ef"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#aa16f4c5a23e1b8719a491fd3936dc8ef">SeComLib::Core::BigIntegerGmp::Initialize</a></div><div class="ttdeci">static void Initialize(BigIntegerBase< BigIntegerGmp > &input)</div><div class="ttdoc">Initializes the underlying data from input. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00042">big_integer_gmp.cpp:42</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_a443332861b5c98a3d18a20fd99184173"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a443332861b5c98a3d18a20fd99184173">SeComLib::Core::BigIntegerGmp::BitwiseXor</a></div><div class="ttdeci">static void BitwiseXor(BigIntegerBase< BigIntegerGmp > &output, const BigIntegerBase< BigIntegerGmp > &lhs, const BigIntegerBase< BigIntegerGmp > &rhs)</div><div class="ttdoc">Computes lhs bitwise exclusive OR rhs. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00533">big_integer_gmp.cpp:533</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_a01bb5aa30e3544dcad467532cb686a02"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a01bb5aa30e3544dcad467532cb686a02">SeComLib::Core::BigIntegerGmp::BitwiseOr</a></div><div class="ttdeci">static void BitwiseOr(BigIntegerBase< BigIntegerGmp > &output, const BigIntegerBase< BigIntegerGmp > &lhs, const BigIntegerBase< BigIntegerGmp > &rhs)</div><div class="ttdoc">Computes lhs bitwise inclusive OR rhs. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00524">big_integer_gmp.cpp:524</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_a5ca18c0587ef9fc29da31006273ee340"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a5ca18c0587ef9fc29da31006273ee340">SeComLib::Core::BigIntegerGmp::InvertSign</a></div><div class="ttdeci">static void InvertSign(BigIntegerBase< BigIntegerGmp > &output, const BigIntegerBase< BigIntegerGmp > &input)</div><div class="ttdoc">Inverts the sign of input. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00273">big_integer_gmp.cpp:273</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_ae507a566c3f7fe76e0d24ab549e6ddc9"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ae507a566c3f7fe76e0d24ab549e6ddc9">SeComLib::Core::BigIntegerGmp::RightShift</a></div><div class="ttdeci">static void RightShift(BigIntegerBase< BigIntegerGmp > &output, const BigIntegerBase< BigIntegerGmp > &input, const unsigned long numberOfBits)</div><div class="ttdoc">Bitwise right shift input by numberOfBits. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00462">big_integer_gmp.cpp:462</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_a2110e62acd540e0ff35126a789467b38"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a2110e62acd540e0ff35126a789467b38">SeComLib::Core::BigIntegerGmp::Abs</a></div><div class="ttdeci">static void Abs(BigIntegerBase< BigIntegerGmp > &output, const BigIntegerBase< BigIntegerGmp > &input)</div><div class="ttdoc">Computes the absolute value of input. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00634">big_integer_gmp.cpp:634</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_ad85ca9752e7ef3321751b2b4ace6c428"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ad85ca9752e7ef3321751b2b4ace6c428">SeComLib::Core::BigIntegerGmp::GetSize</a></div><div class="ttdeci">static size_t GetSize(const BigIntegerBase< BigIntegerGmp > &input, const unsigned int base=2)</div><div class="ttdoc">Gets the length of the integer in the specified base. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00625">big_integer_gmp.cpp:625</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_acc4df615d4eab90f6416792d88c70802"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#acc4df615d4eab90f6416792d88c70802">SeComLib::Core::BigIntegerGmp::IsPrime</a></div><div class="ttdeci">static bool IsPrime(const BigIntegerBase< BigIntegerGmp > &input)</div><div class="ttdoc">Tests if input is a prime number. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00575">big_integer_gmp.cpp:575</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_a32ef1b0adba25a9d1bdf26fdde0040d2"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a32ef1b0adba25a9d1bdf26fdde0040d2">SeComLib::Core::BigIntegerGmp::InvertBits</a></div><div class="ttdeci">static void InvertBits(BigIntegerBase< BigIntegerGmp > &output, const BigIntegerBase< BigIntegerGmp > &input)</div><div class="ttdoc">Computes one's complement of input. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00506">big_integer_gmp.cpp:506</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_ae6730045428ebfba9af36f2ec22a0324"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ae6730045428ebfba9af36f2ec22a0324">SeComLib::Core::BigIntegerGmp::Add</a></div><div class="ttdeci">static void Add(BigIntegerBase< BigIntegerGmp > &output, const BigIntegerBase< BigIntegerGmp > &lhs, const BigIntegerBase< BigIntegerGmp > &rhs)</div><div class="ttdoc">Adds lhs and rhs. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00282">big_integer_gmp.cpp:282</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_add0e58795ab148da548fa53fb88a86ee"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#add0e58795ab148da548fa53fb88a86ee">SeComLib::Core::BigIntegerGmp::ToString</a></div><div class="ttdeci">static std::string ToString(const BigIntegerBase< BigIntegerGmp > &input, const unsigned int base=2)</div><div class="ttdoc">Convert input to std::string in the specified base. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00842">big_integer_gmp.cpp:842</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_ab0d44ae9b9f8daa4f01e95e8867ac75e"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#ab0d44ae9b9f8daa4f01e95e8867ac75e">SeComLib::Core::BigIntegerGmp::PowModN</a></div><div class="ttdeci">static void PowModN(BigIntegerBase< BigIntegerGmp > &output, const BigIntegerBase< BigIntegerGmp > &input, const BigIntegerBase< BigIntegerGmp > &power, const BigIntegerBase< BigIntegerGmp > &n)</div><div class="ttdoc">Raises input to the specified power modulo n. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00702">big_integer_gmp.cpp:702</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_a362311a431a4fedbe133b0514895ba40"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a362311a431a4fedbe133b0514895ba40">SeComLib::Core::BigIntegerGmp::Multiply</a></div><div class="ttdeci">static void Multiply(BigIntegerBase< BigIntegerGmp > &output, const BigIntegerBase< BigIntegerGmp > &lhs, const BigIntegerBase< BigIntegerGmp > &rhs)</div><div class="ttdoc">Multiplies lhs with rhs. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00346">big_integer_gmp.cpp:346</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_a028ff57df6fa5b8f8b022c5e8ed00d50"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a028ff57df6fa5b8f8b022c5e8ed00d50">SeComLib::Core::BigIntegerGmp::Divide</a></div><div class="ttdeci">static void Divide(BigIntegerBase< BigIntegerGmp > &output, const BigIntegerBase< BigIntegerGmp > &lhs, const BigIntegerBase< BigIntegerGmp > &rhs)</div><div class="ttdoc">Divides lhs by rhs. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00375">big_integer_gmp.cpp:375</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_abce24c12dde2a242c1cffcaba0e938e8"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#abce24c12dde2a242c1cffcaba0e938e8">SeComLib::Core::BigIntegerGmp::BigIntegerType</a></div><div class="ttdeci">mpz_t BigIntegerType</div><div class="ttdoc">Generic alias required by BigIntegerBase to define the underlying data member. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8h_source.html#l00081">big_integer_gmp.h:81</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_a772dbce23339c000d43afd015ae81149"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a772dbce23339c000d43afd015ae81149">SeComLib::Core::BigIntegerGmp::Set</a></div><div class="ttdeci">static void Set(BigIntegerBase< BigIntegerGmp > &input, const BigIntegerBase< BigIntegerGmp > &value)</div><div class="ttdoc">Sets input to the specified BigInteger value. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00249">big_integer_gmp.cpp:249</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_a584b49914f865fb1279a678e9770857e"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a584b49914f865fb1279a678e9770857e">SeComLib::Core::BigIntegerGmp::GetNextPrime</a></div><div class="ttdeci">static void GetNextPrime(BigIntegerBase< BigIntegerGmp > &output, const BigIntegerBase< BigIntegerGmp > &input)</div><div class="ttdoc">Computes the first prime greater than the current instance. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00548">big_integer_gmp.cpp:548</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_aaf30c8967d2518a1e1573cc9274c26f8"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#aaf30c8967d2518a1e1573cc9274c26f8">SeComLib::Core::BigIntegerGmp::BitwiseAnd</a></div><div class="ttdeci">static void BitwiseAnd(BigIntegerBase< BigIntegerGmp > &output, const BigIntegerBase< BigIntegerGmp > &lhs, const BigIntegerBase< BigIntegerGmp > &rhs)</div><div class="ttdoc">Computes lhs bitwise AND rhs. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00515">big_integer_gmp.cpp:515</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html">SeComLib::Core::BigIntegerGmp</a></div><div class="ttdoc">Wrapper class for the most common functions related to the mpz_t datatype of the GMP library...</div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8h_source.html#l00078">big_integer_gmp.h:78</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_base_html"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_base.html">SeComLib::Core::BigIntegerBase</a></div><div class="ttdoc">Template class which adds syntactic sugar to big integer operations. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__base_8h_source.html#l00047">big_integer_base.h:47</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_a6c35288ebc1b110d5bffe78a94a453cc"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a6c35288ebc1b110d5bffe78a94a453cc">SeComLib::Core::BigIntegerGmp::ToUnsignedLong</a></div><div class="ttdeci">static unsigned long ToUnsignedLong(const BigIntegerBase< BigIntegerGmp > &input)</div><div class="ttdoc">Convert input to unsigned long. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00870">big_integer_gmp.cpp:870</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_a9cd263aa652dd4332e9e1a01a8555498"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a9cd263aa652dd4332e9e1a01a8555498">SeComLib::Core::BigIntegerGmp::Compare</a></div><div class="ttdeci">static int Compare(const BigIntegerBase< BigIntegerGmp > &lhs, const BigIntegerBase< BigIntegerGmp > &rhs)</div><div class="ttdoc">Compares lhs to rhs. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00480">big_integer_gmp.cpp:480</a></div></div>
<div class="ttc" id="class_se_com_lib_1_1_core_1_1_big_integer_gmp_html_a1f74116d4b15c2d8da7b3babcf3cbecf"><div class="ttname"><a href="class_se_com_lib_1_1_core_1_1_big_integer_gmp.html#a1f74116d4b15c2d8da7b3babcf3cbecf">SeComLib::Core::BigIntegerGmp::SetBit</a></div><div class="ttdeci">static void SetBit(BigIntegerBase< BigIntegerGmp > &input, const size_t index)</div><div class="ttdoc">Sets a bit in input at the specified index. </div><div class="ttdef"><b>Definition:</b> <a href="big__integer__gmp_8cpp_source.html#l00587">big_integer_gmp.cpp:587</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jan 27 2014 01:04:37 for SeComLib by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>