Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > e8773dc1178a3ee82e29ab36424dc729 > files > 701

libbeecrypt-devel-4.2.1-6.mga1.i586.rpm

<!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"/>
<title>BeeCrypt: include/beecrypt/mp.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">BeeCrypt&#160;<span id="projectnumber">4.2.1</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>include/beecrypt/mp.h</h1>  </div>
</div>
<div class="contents">
<a href="mp_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Copyright (c) 2002, 2003 Bob Deblier</span>
<a name="l00003"></a>00003 <span class="comment"> *</span>
<a name="l00004"></a>00004 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
<a name="l00005"></a>00005 <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span>
<a name="l00006"></a>00006 <span class="comment"> * License as published by the Free Software Foundation; either</span>
<a name="l00007"></a>00007 <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span>
<a name="l00008"></a>00008 <span class="comment"> *</span>
<a name="l00009"></a>00009 <span class="comment"> * This library is distributed in the hope that it will be useful,</span>
<a name="l00010"></a>00010 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00011"></a>00011 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00012"></a>00012 <span class="comment"> * Lesser General Public License for more details.</span>
<a name="l00013"></a>00013 <span class="comment"> *</span>
<a name="l00014"></a>00014 <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span>
<a name="l00015"></a>00015 <span class="comment"> * License along with this library; if not, write to the Free Software</span>
<a name="l00016"></a>00016 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</span>
<a name="l00017"></a>00017 <span class="comment"> *</span>
<a name="l00018"></a>00018 <span class="comment"> */</span>
<a name="l00019"></a>00019 
<a name="l00041"></a>00041 <span class="preprocessor">#ifndef _MP_H</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#define _MP_H</span>
<a name="l00043"></a>00043 <span class="preprocessor"></span>
<a name="l00044"></a>00044 <span class="preprocessor">#include &quot;beecrypt/api.h&quot;</span>
<a name="l00045"></a>00045 <span class="preprocessor">#include &quot;beecrypt/mpopt.h&quot;</span>
<a name="l00046"></a>00046 
<a name="l00047"></a><a class="code" href="mp_8h.html#a3317414bc77cc27f0c50d300fc93db7e">00047</a> <span class="preprocessor">#define MP_HWBITS   (MP_WBITS &gt;&gt; 1)</span>
<a name="l00048"></a><a class="code" href="mp_8h.html#ac32fb614379620608d1c733a79132cfa">00048</a> <span class="preprocessor"></span><span class="preprocessor">#define MP_WBYTES   (MP_WBITS &gt;&gt; 3)</span>
<a name="l00049"></a><a class="code" href="mp_8h.html#a3650f0cbb0aaa7100a4a7fba476920bf">00049</a> <span class="preprocessor"></span><span class="preprocessor">#define MP_WNIBBLES (MP_WBITS &gt;&gt; 2)</span>
<a name="l00050"></a>00050 <span class="preprocessor"></span>
<a name="l00051"></a>00051 <span class="preprocessor">#if (MP_WBITS == 64)</span>
<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor"># define MP_WORDS_TO_BITS(x)    ((x) &lt;&lt; 6)</span>
<a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor"># define MP_WORDS_TO_NIBBLES(x) ((x) &lt;&lt; 4)</span>
<a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor"># define MP_WORDS_TO_BYTES(x)   ((x) &lt;&lt; 3)</span>
<a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor"># define MP_BITS_TO_WORDS(x)    ((x) &gt;&gt; 6)</span>
<a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor"># define MP_NIBBLES_TO_WORDS(x) ((x) &gt;&gt; 4)</span>
<a name="l00057"></a>00057 <span class="preprocessor"></span><span class="preprocessor"># define MP_BYTES_TO_WORDS(x)   ((x) &gt;&gt; 3)</span>
<a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor">#elif (MP_WBITS == 32)</span>
<a name="l00059"></a><a class="code" href="mp_8h.html#a7a243883fb94433b237da964799fabcd">00059</a> <span class="preprocessor"></span><span class="preprocessor"># define MP_WORDS_TO_BITS(x)    ((x) &lt;&lt; 5)</span>
<a name="l00060"></a><a class="code" href="mp_8h.html#ab77b2dd70af10d0705b6048dc732a4dc">00060</a> <span class="preprocessor"></span><span class="preprocessor"># define MP_WORDS_TO_NIBBLES(x) ((x) &lt;&lt; 3)</span>
<a name="l00061"></a><a class="code" href="mp_8h.html#a337d99143ec5b28671099a5ea022f3b9">00061</a> <span class="preprocessor"></span><span class="preprocessor"># define MP_WORDS_TO_BYTES(x)   ((x) &lt;&lt; 2)</span>
<a name="l00062"></a><a class="code" href="mp_8h.html#ad05de288398b539cf645bec59d9f27e8">00062</a> <span class="preprocessor"></span><span class="preprocessor"># define MP_BITS_TO_WORDS(x)    ((x) &gt;&gt; 5) </span>
<a name="l00063"></a><a class="code" href="mp_8h.html#a65dc4dd0b6906f36f66e42a55097b8b1">00063</a> <span class="preprocessor"></span><span class="preprocessor"># define MP_NIBBLES_TO_WORDS(x) ((x) &gt;&gt; 3)</span>
<a name="l00064"></a><a class="code" href="mp_8h.html#a9b78d45cecc26f578dc32c4ae2c803dd">00064</a> <span class="preprocessor"></span><span class="preprocessor"># define MP_BYTES_TO_WORDS(x)   ((x) &gt;&gt; 2)</span>
<a name="l00065"></a>00065 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00066"></a>00066 <span class="preprocessor"></span><span class="preprocessor"># error</span>
<a name="l00067"></a>00067 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00068"></a>00068 <span class="preprocessor"></span>
<a name="l00069"></a><a class="code" href="mp_8h.html#a696235b870f5868d66258cbfc903affa">00069</a> <span class="preprocessor">#define MP_MSBMASK  (((mpw) 0x1) &lt;&lt; (MP_WBITS-1))</span>
<a name="l00070"></a><a class="code" href="mp_8h.html#a137aeb18139f4f7c871639eb67ecf7b9">00070</a> <span class="preprocessor"></span><span class="preprocessor">#define MP_LSBMASK   ((mpw) 0x1)</span>
<a name="l00071"></a><a class="code" href="mp_8h.html#af5466aa801f08b6c63e02f54cfc7106b">00071</a> <span class="preprocessor"></span><span class="preprocessor">#define MP_ALLMASK  ~((mpw) 0x0)</span>
<a name="l00072"></a>00072 <span class="preprocessor"></span>
<a name="l00073"></a>00073 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00074"></a>00074 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00075"></a>00075 <span class="preprocessor">#endif</span>
<a name="l00076"></a>00076 <span class="preprocessor"></span>
<a name="l00077"></a>00077 <span class="preprocessor">#ifndef ASM_MPCOPY</span>
<a name="l00078"></a><a class="code" href="mp_8h.html#afb750ee5bfe6cdd5a0ed87dccf981d80">00078</a> <span class="preprocessor"></span><span class="preprocessor"># define mpcopy(size, dst, src) memcpy(dst, src, MP_WORDS_TO_BYTES(size))</span>
<a name="l00079"></a>00079 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00080"></a>00080 <span class="preprocessor"></span><a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00081"></a>00081 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#afb750ee5bfe6cdd5a0ed87dccf981d80">mpcopy</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* dest, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* src);
<a name="l00082"></a>00082 <span class="preprocessor">#endif</span>
<a name="l00083"></a>00083 <span class="preprocessor"></span>
<a name="l00084"></a>00084 <span class="preprocessor">#ifndef ASM_MPMOVE</span>
<a name="l00085"></a><a class="code" href="mp_8h.html#abddd3139e57f9db0c67a896024bc9684">00085</a> <span class="preprocessor"></span><span class="preprocessor"># define mpmove(size, dst, src) memmove(dst, src, MP_WORDS_TO_BYTES(size))</span>
<a name="l00086"></a>00086 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00087"></a>00087 <span class="preprocessor"></span><a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00088"></a>00088 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#abddd3139e57f9db0c67a896024bc9684">mpmove</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* dest, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* src);
<a name="l00089"></a>00089 <span class="preprocessor">#endif</span>
<a name="l00090"></a>00090 <span class="preprocessor"></span>
<a name="l00096"></a>00096 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00097"></a>00097 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#ae9fd060d4b6ce84404107a1523f34276" title="This function zeroes a multi-precision integer of a given size.">mpzero</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00098"></a>00098 
<a name="l00106"></a>00106 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00107"></a>00107 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#a1624fb65f4a9cac6f6246d64bb0189ea" title="This function fills each word of a multi-precision integer with a given value.">mpfill</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a> fill);
<a name="l00108"></a>00108 
<a name="l00116"></a>00116 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00117"></a>00117 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#a70c9ff9c0f765307214fb28d22cc2c23" title="This functions tests if a multi-precision integer is odd.">mpodd</a> (<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00118"></a>00118 
<a name="l00126"></a>00126 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00127"></a>00127 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#ab0520c67c603a7e32c9eeb6a39a02595" title="This function tests if a multi-precision integer is even.">mpeven</a>(<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00128"></a>00128 
<a name="l00136"></a>00136 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00137"></a>00137 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#aa849fd262347ab62ea3b1bf4afbf7c7c" title="This function tests if a multi-precision integer is zero.">mpz</a>  (<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00138"></a>00138 
<a name="l00146"></a>00146 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00147"></a>00147 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#ade7306885f5508bc52954f6be8820558" title="This function tests if a multi-precision integer is not zero.">mpnz</a> (<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00148"></a>00148 
<a name="l00158"></a>00158 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00159"></a>00159 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#ae801d1996190439b2cf80548f6a03a31" title="This function tests if two multi-precision integers of the same size are equal.">mpeq</a> (<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00160"></a>00160 
<a name="l00170"></a>00170 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00171"></a>00171 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#ae661ccc4c37b796f4671f882e71c9cc4" title="This function tests if two multi-precision integers of the same size differ.">mpne</a> (<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00172"></a>00172 
<a name="l00183"></a>00183 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00184"></a>00184 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#ae4905ad4ef2bb6b7e8a2aa79460041c6" title="This function tests if the first of two multi-precision integers of the same size is greater than the...">mpgt</a> (<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00185"></a>00185 
<a name="l00196"></a>00196 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00197"></a>00197 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#af4e3a7316789993b73b2289bf34c837b" title="This function tests if the first of two multi-precision integers of the same size is less than the se...">mplt</a> (<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00198"></a>00198 
<a name="l00209"></a>00209 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00210"></a>00210 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#ae01843e52c6a0b0c28c345d8040670dc" title="This function tests if the first of two multi-precision integers of the same size is greater than or ...">mpge</a> (<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00211"></a>00211 
<a name="l00222"></a>00222 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00223"></a>00223 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#af987c3b7b75fc0eae1f97aab58888006" title="This function tests if the first of two multi-precision integers of the same size is less than or equ...">mple</a> (<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00224"></a>00224 
<a name="l00233"></a>00233 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00234"></a>00234 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#acc8c19971240f6ea22f6b81c1db3553b" title="This function performs a comparison of two multi-precision integers of the same size.">mpcmp</a>(<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00235"></a>00235 
<a name="l00246"></a>00246 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00247"></a>00247 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#af51c09b612e8033399cff6febdb9b505" title="This function tests if two multi-precision integers of different size are equal.">mpeqx</a>(<span class="keywordtype">size_t</span> xsize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keywordtype">size_t</span> ysize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00248"></a>00248 
<a name="l00259"></a>00259 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00260"></a>00260 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#abecba2b8f414da05ee7c9959ac72acb1" title="This function tests if two multi-precision integers of different size are equal.">mpnex</a>(<span class="keywordtype">size_t</span> xsize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keywordtype">size_t</span> ysize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00261"></a>00261 
<a name="l00273"></a>00273 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00274"></a>00274 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#ae2a7b28715b9a820ceda11b77d901953" title="This function tests if the first of two multi-precision integers of different size is greater than th...">mpgtx</a>(<span class="keywordtype">size_t</span> xsize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keywordtype">size_t</span> ysize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00275"></a>00275 
<a name="l00287"></a>00287 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00288"></a>00288 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#a2d772e5778ec336da5a56302f21786a0" title="This function tests if the first of two multi-precision integers of different size is less than the s...">mpltx</a>(<span class="keywordtype">size_t</span> xsize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keywordtype">size_t</span> ysize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00289"></a>00289 
<a name="l00301"></a>00301 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00302"></a>00302 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#a01b1186616ddfd912772cddce1fc292b" title="This function tests if the first of two multi-precision integers of different size is greater than or...">mpgex</a>(<span class="keywordtype">size_t</span> xsize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keywordtype">size_t</span> ysize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00303"></a>00303 
<a name="l00315"></a>00315 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00316"></a>00316 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#adbd7f836f9246cf904207315c346a56c" title="This function tests if the first of two multi-precision integers of different size is less than or eq...">mplex</a>(<span class="keywordtype">size_t</span> xsize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keywordtype">size_t</span> ysize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00317"></a>00317 
<a name="l00326"></a>00326 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00327"></a>00327 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#ac0b786d9f5d016b2d0d06b22d6f89862" title="This function performs a comparison of two multi-precision integers of the different size...">mpcmpx</a>(<span class="keywordtype">size_t</span> xsize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keywordtype">size_t</span> ysize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00328"></a>00328 
<a name="l00337"></a>00337 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00338"></a>00338 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#ae9ab3d1ce03ffda281d610fd8123b06e" title="This functions tests if the value of a multi-precision integer is equal to one.">mpisone</a>(<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00339"></a>00339 
<a name="l00348"></a>00348 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00349"></a>00349 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#a0605a0ef9815dce0cf2743aafdac03e6" title="This function tests if the value of a multi-precision integer is equal to two.">mpistwo</a>(<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00350"></a>00350 
<a name="l00359"></a>00359 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00360"></a>00360 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#af1f8a61b04fe27911d51aec0c6468238" title="This function tests if the value of a multi-precision integer is less than or equal to one...">mpleone</a>(<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00361"></a>00361 
<a name="l00371"></a>00371 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00372"></a>00372 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#a75df6af46d913aad6f591583683d04e7" title="This function tests if multi-precision integer x is equal to y minus one.">mpeqmone</a>(<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00373"></a>00373 
<a name="l00382"></a>00382 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00383"></a>00383 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#a12d85e63b1d9f4d68909c51890ef0738" title="This function tests if the most significant bit of a multi-precision integer is set.">mpmsbset</a>(<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00384"></a>00384 
<a name="l00393"></a>00393 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00394"></a>00394 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#a84c1045a3fe0074b8b954679bcee62de" title="This function tests if the leiast significant bit of a multi-precision integer is set...">mplsbset</a>(<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00395"></a>00395 
<a name="l00402"></a>00402 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00403"></a>00403 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#ab3a5821696b1b13a84d6648332ba6cf7" title="This function sets the most significant bit of a multi-precision integer.">mpsetmsb</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00404"></a>00404 
<a name="l00411"></a>00411 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00412"></a>00412 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#ac4ccde3ff8c2aac9e324fb0832e28e1a" title="This function sets the least significant bit of a multi-precision integer.">mpsetlsb</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00413"></a>00413 
<a name="l00420"></a>00420 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00421"></a>00421 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#a298b2af39ad306efab02829d83d86b4b" title="This function clears the most significant bit of a multi-precision integer.">mpclrmsb</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00422"></a>00422 
<a name="l00429"></a>00429 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00430"></a>00430 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#afa0eacfccee374f6e7d4bdf388ddca01" title="This function clears the least significant bit of a multi-precision integer.">mpclrlsb</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00431"></a>00431 
<a name="l00439"></a>00439 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00440"></a>00440 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#a13f975884c63ac0be76d2b444a7c6eb4" title="This function computes the bit-wise AND of two multi-precision integers. Modifies xdata...">mpand</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00441"></a>00441 
<a name="l00449"></a>00449 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00450"></a>00450 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#aa1baaac1e8919a218b2369355a8c1c63" title="This function computes the bit-wise OR of two multi-precision integers. Modifies xdata.">mpor</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00451"></a>00451 
<a name="l00459"></a>00459 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00460"></a>00460 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#a6373a586b0e90cb78179143c89de4132" title="This function computes the bit-wise XOR of two multi-precision integers. Modifies xdata...">mpxor</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00461"></a>00461 
<a name="l00467"></a>00467 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00468"></a>00468 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#ad0c8185589374810679c5a0cbbe3e0ca" title="This function flips all bits of a multi-precision integer.">mpnot</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00469"></a>00469 
<a name="l00478"></a>00478 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00479"></a>00479 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#ad9f0efe339edc592551911ba2216e8cd" title="This function sets the value of a multi-precision integer to the given word. The given value is copie...">mpsetw</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a> y);
<a name="l00480"></a>00480 
<a name="l00489"></a>00489 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00490"></a>00490 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#aa6dec413795f2d0138d09cb640dc81df" title="This function sets the value of a multi-precision integer to the given word. The given value is copie...">mpsetws</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keywordtype">size_t</span> y);
<a name="l00491"></a>00491 
<a name="l00501"></a>00501 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00502"></a>00502 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#af94f0424014578a78d77c2084f3f3d5d" title="This function set the value of the first multi-precision integer to the second, truncating the most s...">mpsetx</a>(<span class="keywordtype">size_t</span> xsize, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keywordtype">size_t</span> ysize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00503"></a>00503 
<a name="l00512"></a>00512 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00513"></a>00513 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#ad2926f765db1823a1d17a285d97e9ced" title="This function adds one word to a multi-precision integer. The performed operation is in pseudocode: x...">mpaddw</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a> y);
<a name="l00514"></a>00514 
<a name="l00523"></a>00523 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00524"></a>00524 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#a3dad536563420e9c1f4445a08f37c681" title="This function adds two multi-precision integers of equal size. The performed operation is in pseudoco...">mpadd</a> (<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00525"></a>00525 
<a name="l00535"></a>00535 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00536"></a>00536 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#a101cb432729cd51b2a922ea4ec2281af" title="This function adds two multi-precision integers of different size. The performed operation in pseudoc...">mpaddx</a>(<span class="keywordtype">size_t</span> xsize, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keywordtype">size_t</span> ysize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00537"></a>00537 
<a name="l00546"></a>00546 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00547"></a>00547 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#a5814eb1185a0dc05da2f86323f5c8978" title="This function subtracts one word to a multi-precision integer. The performed operation in pseudocode:...">mpsubw</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a> y);
<a name="l00548"></a>00548 
<a name="l00557"></a>00557 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00558"></a>00558 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#a49e790df163e11d7230d81bbc8d5fde2" title="This function subtracts two multi-precision integers of equal size. The performed operation in pseudo...">mpsub</a> (<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00559"></a>00559 
<a name="l00569"></a>00569 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00570"></a>00570 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#ae77b6a530198f3d8b3d9005b7cbcc0e5" title="This function subtracts two multi-precision integers of different size. The performed operation in ps...">mpsubx</a>(<span class="keywordtype">size_t</span> xsize, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keywordtype">size_t</span> ysize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00571"></a>00571 
<a name="l00572"></a>00572 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00573"></a>00573 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#ac7f624f09b82cc0451fd76932564a69e">mpmultwo</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00574"></a>00574 
<a name="l00580"></a>00580 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00581"></a>00581 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#a5f26c9e232c74bacea5ae785692de1d4" title="This function negates a multi-precision integer.">mpneg</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00582"></a>00582 
<a name="l00589"></a>00589 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00590"></a>00590 <span class="keywordtype">size_t</span> <a class="code" href="mp_8h.html#a5847c378eda16688587b23753b65e972" title="This function returns the true size of a multi-precision integer, after stripping leading zero words...">mpsize</a>(<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00591"></a>00591 
<a name="l00598"></a>00598 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00599"></a>00599 <span class="keywordtype">size_t</span> <a class="code" href="mp_8h.html#abf18ad28b007603fdcc1d4c3695056e0" title="This function returns the number of significant bits in a multi-precision integer.">mpbits</a>(<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00600"></a>00600 
<a name="l00601"></a>00601 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00602"></a>00602 <span class="keywordtype">size_t</span> <a class="code" href="mp_8h.html#a49ae96d66620926a51acc81e915696e5">mpmszcnt</a>(<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00603"></a>00603 
<a name="l00604"></a>00604 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00605"></a>00605 <span class="keywordtype">size_t</span> <a class="code" href="mp_8h.html#a4a0a37729f64e516b74d3689db90eaf8">mplszcnt</a>(<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00606"></a>00606 
<a name="l00607"></a>00607 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00608"></a>00608 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#aa458547531ad86f7304d1beab35a5e7e">mplshift</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data, <span class="keywordtype">size_t</span> count);
<a name="l00609"></a>00609 
<a name="l00610"></a>00610 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00611"></a>00611 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#acbbc33f1d523347abbea10b755822c05">mprshift</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data, <span class="keywordtype">size_t</span> count);
<a name="l00612"></a>00612 
<a name="l00613"></a>00613 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00614"></a>00614 <span class="keywordtype">size_t</span> <a class="code" href="mp_8h.html#a2ce894dd95d1f2e82a8afcc75fffaa9c">mprshiftlsz</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00615"></a>00615 
<a name="l00616"></a>00616 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00617"></a>00617 <span class="keywordtype">size_t</span> <a class="code" href="mp_8h.html#a0b54adf94eaee674a4e3490b30a2f954">mpnorm</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00618"></a>00618 
<a name="l00619"></a>00619 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00620"></a>00620 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#a9bb92b1971621bcb54326369dc641ecf">mpdivtwo</a> (<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00621"></a>00621 
<a name="l00622"></a>00622 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00623"></a>00623 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#a9267926999bef7cfae96f50ec8fa7bd6">mpsdivtwo</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00624"></a>00624 
<a name="l00639"></a>00639 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00640"></a>00640 <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a> <a class="code" href="mp_8h.html#a659c97a015a63a4405c9a45e6a1b49e6" title="This function performs a multi-precision multiply-setup.">mpsetmul</a>   (<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* result, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a> y);
<a name="l00641"></a>00641 
<a name="l00655"></a>00655 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00656"></a>00656 <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a> <a class="code" href="mp_8h.html#af6319411048f3dd303dfc3297b7c304f" title="This function performs a mult-precision multiply-accumulate.">mpaddmul</a>   (<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* result, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a> y);
<a name="l00657"></a>00657 
<a name="l00662"></a>00662 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00663"></a>00663 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#a5891518a4754596508b8ba8002499714" title="This function is used in the calculation of a multi-precision squaring.">mpaddsqrtrc</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* result, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00664"></a>00664 
<a name="l00668"></a>00668 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00669"></a>00669 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#aa936396b75b6e41298482020363c2a94" title="This function computes a full multi-precision product.">mpmul</a>(<a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* result, <span class="keywordtype">size_t</span> xsize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keywordtype">size_t</span> ysize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata);
<a name="l00670"></a>00670 
<a name="l00674"></a>00674 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00675"></a>00675 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#a7703ab7d9b0b2b4f1ebc6f7415029c9b" title="This function computes a full multi-precision square.">mpsqr</a>(<a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* result, <span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00676"></a>00676 
<a name="l00677"></a>00677 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00678"></a>00678 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#a599e5e794ea7df612bbdeba64cbddf12">mpgcd_w</a>(<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* result, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* wksp);
<a name="l00679"></a>00679 
<a name="l00680"></a>00680 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00681"></a>00681 <span class="keywordtype">int</span>  <a class="code" href="mp_8h.html#a872a570802ee8bbf3dc24df3361dcbc4">mpextgcd_w</a>(<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* result, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* wksp);
<a name="l00682"></a>00682 
<a name="l00683"></a>00683 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00684"></a>00684 <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a> <a class="code" href="mp_8h.html#a0f56eafb94580fd8d838ae86a3a4e6f7">mppndiv</a>(<a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a> xhi, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a> xlo, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a> y);
<a name="l00685"></a>00685 
<a name="l00686"></a>00686 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00687"></a>00687 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#a8a0e5d0430ecb60521593164a766294b">mpmod</a> (<a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* result, <span class="keywordtype">size_t</span> xsize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keywordtype">size_t</span> ysize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*ydata, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* wksp);
<a name="l00688"></a>00688 
<a name="l00689"></a>00689 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00690"></a>00690 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#af2f708ed3c44a665a0024b11dc8e2817">mpndivmod</a>(<a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* result, <span class="keywordtype">size_t</span> xsize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* xdata, <span class="keywordtype">size_t</span> ysize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* ydata, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* wksp);
<a name="l00691"></a>00691 
<a name="l00692"></a>00692 <span class="comment">/*</span>
<a name="l00693"></a>00693 <span class="comment"> * Output Routines</span>
<a name="l00694"></a>00694 <span class="comment"> */</span>
<a name="l00695"></a>00695 
<a name="l00696"></a>00696 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00697"></a>00697 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#ac1b16cee4b287487d5fde0f423b1f8e5">mpprint</a>(<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00698"></a>00698 
<a name="l00699"></a>00699 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00700"></a>00700 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#ae3dcf4ff639792019af97bfb9585107a">mpprintln</a>(<span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00701"></a>00701 
<a name="l00702"></a>00702 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00703"></a>00703 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#a9d9d384955be2de91d8edcfc368e7079">mpfprint</a>(FILE* f, <span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00704"></a>00704 
<a name="l00705"></a>00705 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00706"></a>00706 <span class="keywordtype">void</span> <a class="code" href="mp_8h.html#acc68e89bb559d3e271fef4400be91db0">mpfprintln</a>(FILE* f, <span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* data);
<a name="l00707"></a>00707 
<a name="l00708"></a>00708 <span class="comment">/*</span>
<a name="l00709"></a>00709 <span class="comment"> * Conversion Routines</span>
<a name="l00710"></a>00710 <span class="comment"> */</span>
<a name="l00711"></a>00711 
<a name="l00712"></a>00712 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00713"></a>00713 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#ae82af22d91fe3e6a94cd649ab4bc7b3c">i2osp</a>(<a class="code" href="api_8h.html#ab8ef12fab634c171394422d0ee8baf94">byte</a>* osdata, <span class="keywordtype">size_t</span> ossize, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* idata, <span class="keywordtype">size_t</span> isize);
<a name="l00714"></a>00714 
<a name="l00715"></a>00715 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00716"></a>00716 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#a2e26b9c3109b8a41a8c87bcfe1dfbfc8">os2ip</a>(<a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* idata, <span class="keywordtype">size_t</span> isize, <span class="keyword">const</span> <a class="code" href="api_8h.html#ab8ef12fab634c171394422d0ee8baf94">byte</a>* osdata, <span class="keywordtype">size_t</span> ossize);
<a name="l00717"></a>00717 
<a name="l00718"></a>00718 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00719"></a>00719 <span class="keywordtype">int</span> <a class="code" href="mp_8h.html#a75f587dd2a2c286258832da478297c7b">hs2ip</a>(<a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>* idata, <span class="keywordtype">size_t</span> isize, <span class="keyword">const</span> <span class="keywordtype">char</span>* hsdata, <span class="keywordtype">size_t</span> hssize);
<a name="l00720"></a>00720 
<a name="l00721"></a>00721 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00722"></a>00722 <span class="preprocessor"></span>}
<a name="l00723"></a>00723 <span class="preprocessor">#endif</span>
<a name="l00724"></a>00724 <span class="preprocessor"></span>
<a name="l00725"></a>00725 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Sun Apr 10 2011 20:49:30 for BeeCrypt by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>