Sophie

Sophie

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

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/mpbarrett.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/mpbarrett.h</h1>  </div>
</div>
<div class="contents">
<a href="mpbarrett_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) 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="l00026"></a>00026 <span class="preprocessor">#ifndef _MPBARRETT_H</span>
<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor">#define _MPBARRETT_H</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &quot;beecrypt/beecrypt.h&quot;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &quot;beecrypt/mpnumber.h&quot;</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor"># include &lt;iostream&gt;</span>
<a name="l00034"></a>00034 <span class="preprocessor">#endif</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span>
<a name="l00036"></a>00036 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00037"></a><a class="code" href="structmpbarrett.html">00037</a> <span class="preprocessor"></span><span class="keyword">struct </span><a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a> <a class="code" href="structmpbarrett.html">mpbarrett</a>
<a name="l00038"></a>00038 #else
<a name="l00039"></a>00039 struct _mpbarrett
<a name="l00040"></a>00040 #endif
<a name="l00041"></a>00041 {
<a name="l00042"></a><a class="code" href="structmpbarrett.html#a3aa3cca49a55420c4b91e6720cb48eb3">00042</a>     <span class="keywordtype">size_t</span>  <a class="code" href="structmpbarrett.html#a3aa3cca49a55420c4b91e6720cb48eb3">size</a>;
<a name="l00043"></a><a class="code" href="structmpbarrett.html#a86711e6df7f6992e733b9d6c70f07053">00043</a>     <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*    <a class="code" href="structmpbarrett.html#a86711e6df7f6992e733b9d6c70f07053">modl</a>;   <span class="comment">/* (size) words */</span>
<a name="l00044"></a><a class="code" href="structmpbarrett.html#ab1cb7b0f54017785001f379812fb4953">00044</a>     <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*    <a class="code" href="structmpbarrett.html#ab1cb7b0f54017785001f379812fb4953">mu</a>;     <span class="comment">/* (size+1) words */</span>
<a name="l00045"></a>00045 
<a name="l00046"></a>00046 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00047"></a>00047 <span class="preprocessor"></span>    <a class="code" href="structmpbarrett.html">mpbarrett</a>();
<a name="l00048"></a>00048     <a class="code" href="structmpbarrett.html">mpbarrett</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>&amp;);
<a name="l00049"></a>00049     ~<a class="code" href="structmpbarrett.html">mpbarrett</a>();
<a name="l00050"></a>00050                                                                                 
<a name="l00051"></a>00051     <span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>&amp;);
<a name="l00052"></a>00052 
<a name="l00053"></a>00053     <span class="keywordtype">void</span> wipe();
<a name="l00054"></a>00054 
<a name="l00055"></a>00055     <span class="keywordtype">size_t</span> bitlength() <span class="keyword">const</span>;
<a name="l00056"></a>00056 <span class="preprocessor">#endif</span>
<a name="l00057"></a>00057 <span class="preprocessor"></span>};
<a name="l00058"></a>00058 
<a name="l00059"></a>00059 <span class="preprocessor">#ifndef __cplusplus</span>
<a name="l00060"></a>00060 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>_mpbarrett <a class="code" href="structmpbarrett.html">mpbarrett</a>;
<a name="l00061"></a>00061 <span class="preprocessor">#else</span>
<a name="l00062"></a>00062 <span class="preprocessor"></span><a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00063"></a>00063 std::ostream&amp; <a class="code" href="mpbarrett_8h.html#a8b5ea6b998f2f664e7ca0b7eb8a19764">operator&lt;&lt;</a>(std::ostream&amp;, <span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>&amp;);
<a name="l00064"></a>00064 <span class="preprocessor">#endif</span>
<a name="l00065"></a>00065 <span class="preprocessor"></span>
<a name="l00066"></a>00066 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00067"></a>00067 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00068"></a>00068 <span class="preprocessor">#endif</span>
<a name="l00069"></a>00069 <span class="preprocessor"></span>
<a name="l00070"></a>00070 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00071"></a>00071 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#a2cb3245cba623b268eefeba2562b686c">mpbzero</a>(<a class="code" href="structmpbarrett.html">mpbarrett</a>*);
<a name="l00072"></a>00072 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00073"></a>00073 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#ac8a47a06e2f6232b3fd69533a086fba0">mpbinit</a>(<a class="code" href="structmpbarrett.html">mpbarrett</a>*, <span class="keywordtype">size_t</span>);
<a name="l00074"></a>00074 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00075"></a>00075 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#a903d213a22f345aec24d8872735d0131">mpbfree</a>(<a class="code" href="structmpbarrett.html">mpbarrett</a>*);
<a name="l00076"></a>00076 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00077"></a>00077 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#a5f29ae1775c65551b8cd58592024ea20">mpbcopy</a>(<a class="code" href="structmpbarrett.html">mpbarrett</a>*, <span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*);
<a name="l00078"></a>00078 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00079"></a>00079 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#a0d1872caaaefdd889a19bd5fa67a0fc1">mpbwipe</a>(<a class="code" href="structmpbarrett.html">mpbarrett</a>*);
<a name="l00080"></a>00080 
<a name="l00081"></a>00081 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00082"></a>00082 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#a1e396835d7af12f2ff952647b55ff0ee">mpbset</a>(<a class="code" href="structmpbarrett.html">mpbarrett</a>*, <span class="keywordtype">size_t</span>, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*);
<a name="l00083"></a>00083 
<a name="l00084"></a>00084 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00085"></a>00085 <span class="keywordtype">int</span> <a class="code" href="mpbarrett_8h.html#af48dcbea17b9f06355b42b75e81a7054">mpbsetbin</a>(<a class="code" href="structmpbarrett.html">mpbarrett</a>*, <span class="keyword">const</span> <a class="code" href="api_8h.html#ab8ef12fab634c171394422d0ee8baf94">byte</a>*, <span class="keywordtype">size_t</span>);
<a name="l00086"></a>00086 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00087"></a>00087 <span class="keywordtype">int</span> <a class="code" href="mpbarrett_8h.html#ace8cd898e1343a22d98afc233572a0fc">mpbsethex</a>(<a class="code" href="structmpbarrett.html">mpbarrett</a>*, <span class="keyword">const</span> <span class="keywordtype">char</span>*);
<a name="l00088"></a>00088 
<a name="l00089"></a>00089 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00090"></a>00090 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#a5a549b7b7df90e6927bacd705c9220be">mpbsubone</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*);
<a name="l00091"></a>00091 
<a name="l00092"></a>00092 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00093"></a>00093 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#ac546653cde360c89c7dea1d5c4f40094">mpbmu_w</a>(<a class="code" href="structmpbarrett.html">mpbarrett</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*);
<a name="l00094"></a>00094 
<a name="l00095"></a>00095 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00096"></a>00096 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#a2d23a540ca6f4216c027b808213185c0">mpbrnd_w</a>   (<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <a class="code" href="structrandomGeneratorContext.html">randomGeneratorContext</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*);
<a name="l00097"></a>00097 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00098"></a>00098 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#a6fa217de899b906d3aa40ea7c2ed5891">mpbrndodd_w</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <a class="code" href="structrandomGeneratorContext.html">randomGeneratorContext</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*);
<a name="l00099"></a>00099 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00100"></a>00100 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#a9492de347fb5b242472502299ce67e5a">mpbrndinv_w</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <a class="code" href="structrandomGeneratorContext.html">randomGeneratorContext</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*);
<a name="l00101"></a>00101 
<a name="l00102"></a>00102 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00103"></a>00103 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#ae49c27b352c9b2c907eda34354b10035">mpbneg_w</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*);
<a name="l00104"></a>00104 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00105"></a>00105 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#ad73f726b3528897091264fdd76d15ee4">mpbmod_w</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*);
<a name="l00106"></a>00106 
<a name="l00107"></a>00107 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00108"></a>00108 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#ad5a99debc7034f49aafe57d3075fe4d6">mpbaddmod_w</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <span class="keywordtype">size_t</span>, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <span class="keywordtype">size_t</span>, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*);
<a name="l00109"></a>00109 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00110"></a>00110 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#a5eab5da91f043155a318869fe3ad24e6">mpbsubmod_w</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <span class="keywordtype">size_t</span>, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <span class="keywordtype">size_t</span>, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*);
<a name="l00111"></a>00111 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00112"></a>00112 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#a5cf149f8736dcd3139a4f170365a9903">mpbmulmod_w</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <span class="keywordtype">size_t</span>, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <span class="keywordtype">size_t</span>, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*);
<a name="l00113"></a>00113 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00114"></a>00114 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#aee467d6f13c6ad95819b1c9def96f106">mpbsqrmod_w</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <span class="keywordtype">size_t</span>, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*);
<a name="l00115"></a>00115 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00116"></a>00116 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#afe6128dc67017a718c417aaba2ac0f41">mpbpowmod_w</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <span class="keywordtype">size_t</span>, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <span class="keywordtype">size_t</span>, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*);
<a name="l00117"></a>00117 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00118"></a>00118 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#a2375da0a1c4e25a603eb379d948bd465">mpbpowmodsld_w</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <span class="keywordtype">size_t</span>, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*);
<a name="l00119"></a>00119 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00120"></a>00120 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#a63275db3c0c56e0c3dd8f027aa8f5af9">mpbtwopowmod_w</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <span class="keywordtype">size_t</span>, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*);
<a name="l00121"></a>00121 
<a name="l00122"></a>00122 <span class="comment">/* To be added:</span>
<a name="l00123"></a>00123 <span class="comment"> * simultaneous multiple exponentiation, for use in dsa and elgamal signature verification</span>
<a name="l00124"></a>00124 <span class="comment"> */</span>
<a name="l00125"></a>00125 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00126"></a>00126 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#abf155ee0726fb0d430e9d2a536f3cb04">mpbsm2powmod</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*);
<a name="l00127"></a>00127 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00128"></a>00128 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#a9b4552a7e98e7844f66d58384d53a0ae">mpbsm3powmod</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*);
<a name="l00129"></a>00129 
<a name="l00130"></a>00130 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00131"></a>00131 <span class="keywordtype">int</span>  <a class="code" href="mpbarrett_8h.html#ab564ee213b9f01c2036de49ed1658eb7">mpbpprime_w</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <a class="code" href="structrandomGeneratorContext.html">randomGeneratorContext</a>*, <span class="keywordtype">int</span>, <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*);
<a name="l00132"></a>00132 
<a name="l00133"></a>00133 <span class="comment">/* the next routines take mpnumbers as parameters */</span>
<a name="l00134"></a>00134 
<a name="l00135"></a>00135 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00136"></a>00136 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#a4c78166a4dd04182e571cc09ae3ad335">mpbnrnd</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <a class="code" href="structrandomGeneratorContext.html">randomGeneratorContext</a>*, <a class="code" href="structmpnumber.html">mpnumber</a>*);
<a name="l00137"></a>00137 
<a name="l00138"></a>00138 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00139"></a>00139 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#a72e3bf5b5a2b2c67d7bf19372dd42726">mpbnmulmod</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <span class="keyword">const</span> <a class="code" href="structmpnumber.html">mpnumber</a>*, <span class="keyword">const</span> <a class="code" href="structmpnumber.html">mpnumber</a>*, <a class="code" href="structmpnumber.html">mpnumber</a>*);
<a name="l00140"></a>00140 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00141"></a>00141 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#a7361a50e6caa0fed5d48f2de9951d053">mpbnsqrmod</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <span class="keyword">const</span> <a class="code" href="structmpnumber.html">mpnumber</a>*, <a class="code" href="structmpnumber.html">mpnumber</a>*);
<a name="l00142"></a>00142 
<a name="l00143"></a>00143 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00144"></a>00144 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#aabde8645de977a85fee0cd5f48889844">mpbnpowmod</a>   (<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <span class="keyword">const</span> <a class="code" href="structmpnumber.html">mpnumber</a>*, <span class="keyword">const</span> <a class="code" href="structmpnumber.html">mpnumber</a>*, <a class="code" href="structmpnumber.html">mpnumber</a>*);
<a name="l00145"></a>00145 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00146"></a>00146 <span class="keywordtype">void</span> <a class="code" href="mpbarrett_8h.html#ae107ede945d727eb61ea978df04c94a6">mpbnpowmodsld</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*, <span class="keyword">const</span> <a class="code" href="api_8h.html#af807108d471a7c68e58df13068048e03">mpw</a>*, <span class="keyword">const</span> <a class="code" href="structmpnumber.html">mpnumber</a>*, <a class="code" href="structmpnumber.html">mpnumber</a>*);
<a name="l00147"></a>00147 
<a name="l00148"></a>00148 <a class="code" href="api_8h.html#a4f699d64328623c51b22f3b3f1ff4150">BEECRYPTAPI</a>
<a name="l00149"></a>00149 <span class="keywordtype">size_t</span> <a class="code" href="mpbarrett_8h.html#a67d60cd53ec862f1f18304d3c8ac1652">mpbbits</a>(<span class="keyword">const</span> <a class="code" href="structmpbarrett.html">mpbarrett</a>*);
<a name="l00150"></a>00150 
<a name="l00151"></a>00151 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00152"></a>00152 <span class="preprocessor"></span>}
<a name="l00153"></a>00153 <span class="preprocessor">#endif</span>
<a name="l00154"></a>00154 <span class="preprocessor"></span>
<a name="l00155"></a>00155 <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>