\hypertarget{mpprime_8h}{\section{include/beecrypt/mpprime.h File Reference} \label{mpprime_8h}\index{include/beecrypt/mpprime.\-h@{include/beecrypt/mpprime.\-h}} } Multi-\/precision primes, headers. {\ttfamily \#include \char`\"{}beecrypt/mpbarrett.\-h\char`\"{}}\\* Include dependency graph for mpprime.\-h\-: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{mpprime_8h__incl} \end{center} \end{figure} \subsection*{Macros} \begin{DoxyCompactItemize} \item \#define \hyperlink{mpprime_8h_a7daa7fd04f3b63f9774ce97a9468fd9d}{S\-M\-A\-L\-L\-\_\-\-P\-R\-I\-M\-E\-S\-\_\-\-P\-R\-O\-D\-U\-C\-T\-\_\-\-M\-A\-X}~32 \end{DoxyCompactItemize} \subsection*{Functions} \begin{DoxyCompactItemize} \item int \hyperlink{mpprime_8h_a7bcb398c2487155c991cb55f26a0d23c}{mpptrials} (size\-\_\-t) \item int \hyperlink{mpprime_8h_aaee03f9c7b9c663969dd14b7cb3690e8}{mppmilrab\-\_\-w} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, \hyperlink{structrandomGeneratorContext}{random\-Generator\-Context} $\ast$, int, \hyperlink{api_8h_a8de7ba63f011c81fa7f87724104d774b}{mpw} $\ast$) \item int \hyperlink{mpprime_8h_a7d5238704b72f6e4de3ff1eddde3563b}{mpprnd\-\_\-w} (\hyperlink{structmpbarrett}{mpbarrett} $\ast$, \hyperlink{structrandomGeneratorContext}{random\-Generator\-Context} $\ast$, size\-\_\-t, int, const \hyperlink{structmpnumber}{mpnumber} $\ast$, \hyperlink{api_8h_a8de7ba63f011c81fa7f87724104d774b}{mpw} $\ast$) \item int \hyperlink{mpprime_8h_aac811307331c5bd67270260a9167fc01}{mpprndr\-\_\-w} (\hyperlink{structmpbarrett}{mpbarrett} $\ast$, \hyperlink{structrandomGeneratorContext}{random\-Generator\-Context} $\ast$, size\-\_\-t, int, const \hyperlink{structmpnumber}{mpnumber} $\ast$, const \hyperlink{structmpnumber}{mpnumber} $\ast$, const \hyperlink{structmpnumber}{mpnumber} $\ast$, \hyperlink{api_8h_a8de7ba63f011c81fa7f87724104d774b}{mpw} $\ast$) \item void \hyperlink{mpprime_8h_a678db39ae8db291faf9acdadb9be569b}{mpprndsafe\-\_\-w} (\hyperlink{structmpbarrett}{mpbarrett} $\ast$, \hyperlink{structrandomGeneratorContext}{random\-Generator\-Context} $\ast$, size\-\_\-t, int, \hyperlink{api_8h_a8de7ba63f011c81fa7f87724104d774b}{mpw} $\ast$) \item void \hyperlink{mpprime_8h_aff4939f16261738513073b46f8eecd57}{mpprndcon\-\_\-w} (\hyperlink{structmpbarrett}{mpbarrett} $\ast$, \hyperlink{structrandomGeneratorContext}{random\-Generator\-Context} $\ast$, size\-\_\-t, int, const \hyperlink{structmpnumber}{mpnumber} $\ast$, const \hyperlink{structmpnumber}{mpnumber} $\ast$, const \hyperlink{structmpnumber}{mpnumber} $\ast$, \hyperlink{structmpnumber}{mpnumber} $\ast$, \hyperlink{api_8h_a8de7ba63f011c81fa7f87724104d774b}{mpw} $\ast$) \item void \hyperlink{mpprime_8h_a849d21e9717678e3888bff073525824e}{mpprndconone\-\_\-w} (\hyperlink{structmpbarrett}{mpbarrett} $\ast$, \hyperlink{structrandomGeneratorContext}{random\-Generator\-Context} $\ast$, size\-\_\-t, int, const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, const \hyperlink{structmpnumber}{mpnumber} $\ast$, \hyperlink{structmpnumber}{mpnumber} $\ast$, int, \hyperlink{api_8h_a8de7ba63f011c81fa7f87724104d774b}{mpw} $\ast$) \end{DoxyCompactItemize} \subsection*{Variables} \begin{DoxyCompactItemize} \item \hyperlink{api_8h_a8de7ba63f011c81fa7f87724104d774b}{mpw} $\ast$ \hyperlink{mpprime_8h_a0cc985fd65e1e4b4e7017322c76780c4}{mpspprod} \mbox{[}\hyperlink{mpprime_8h_a7daa7fd04f3b63f9774ce97a9468fd9d}{S\-M\-A\-L\-L\-\_\-\-P\-R\-I\-M\-E\-S\-\_\-\-P\-R\-O\-D\-U\-C\-T\-\_\-\-M\-A\-X}\mbox{]} \end{DoxyCompactItemize} \subsection{Detailed Description} Multi-\/precision primes, headers. \begin{DoxyAuthor}{Author} Bob Deblier \href{mailto:bob.deblier@telenet.be}{\tt bob.\-deblier@telenet.\-be} \end{DoxyAuthor} \subsection{Macro Definition Documentation} \hypertarget{mpprime_8h_a7daa7fd04f3b63f9774ce97a9468fd9d}{\index{mpprime.\-h@{mpprime.\-h}!S\-M\-A\-L\-L\-\_\-\-P\-R\-I\-M\-E\-S\-\_\-\-P\-R\-O\-D\-U\-C\-T\-\_\-\-M\-A\-X@{S\-M\-A\-L\-L\-\_\-\-P\-R\-I\-M\-E\-S\-\_\-\-P\-R\-O\-D\-U\-C\-T\-\_\-\-M\-A\-X}} \index{S\-M\-A\-L\-L\-\_\-\-P\-R\-I\-M\-E\-S\-\_\-\-P\-R\-O\-D\-U\-C\-T\-\_\-\-M\-A\-X@{S\-M\-A\-L\-L\-\_\-\-P\-R\-I\-M\-E\-S\-\_\-\-P\-R\-O\-D\-U\-C\-T\-\_\-\-M\-A\-X}!mpprime.h@{mpprime.\-h}} \subsubsection[{S\-M\-A\-L\-L\-\_\-\-P\-R\-I\-M\-E\-S\-\_\-\-P\-R\-O\-D\-U\-C\-T\-\_\-\-M\-A\-X}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\-M\-A\-L\-L\-\_\-\-P\-R\-I\-M\-E\-S\-\_\-\-P\-R\-O\-D\-U\-C\-T\-\_\-\-M\-A\-X~32}}\label{mpprime_8h_a7daa7fd04f3b63f9774ce97a9468fd9d} \subsection{Function Documentation} \hypertarget{mpprime_8h_aaee03f9c7b9c663969dd14b7cb3690e8}{\index{mpprime.\-h@{mpprime.\-h}!mppmilrab\-\_\-w@{mppmilrab\-\_\-w}} \index{mppmilrab\-\_\-w@{mppmilrab\-\_\-w}!mpprime.h@{mpprime.\-h}} \subsubsection[{mppmilrab\-\_\-w}]{\setlength{\rightskip}{0pt plus 5cm}int mppmilrab\-\_\-w ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{{\bf random\-Generator\-Context} $\ast$}]{, } \item[{int}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}}\label{mpprime_8h_aaee03f9c7b9c663969dd14b7cb3690e8} \hypertarget{mpprime_8h_a7d5238704b72f6e4de3ff1eddde3563b}{\index{mpprime.\-h@{mpprime.\-h}!mpprnd\-\_\-w@{mpprnd\-\_\-w}} \index{mpprnd\-\_\-w@{mpprnd\-\_\-w}!mpprime.h@{mpprime.\-h}} \subsubsection[{mpprnd\-\_\-w}]{\setlength{\rightskip}{0pt plus 5cm}int mpprnd\-\_\-w ( \begin{DoxyParamCaption} \item[{{\bf mpbarrett} $\ast$}]{, } \item[{{\bf random\-Generator\-Context} $\ast$}]{, } \item[{size\-\_\-t}]{, } \item[{int}]{, } \item[{const {\bf mpnumber} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}}\label{mpprime_8h_a7d5238704b72f6e4de3ff1eddde3563b} \hypertarget{mpprime_8h_aff4939f16261738513073b46f8eecd57}{\index{mpprime.\-h@{mpprime.\-h}!mpprndcon\-\_\-w@{mpprndcon\-\_\-w}} \index{mpprndcon\-\_\-w@{mpprndcon\-\_\-w}!mpprime.h@{mpprime.\-h}} \subsubsection[{mpprndcon\-\_\-w}]{\setlength{\rightskip}{0pt plus 5cm}void mpprndcon\-\_\-w ( \begin{DoxyParamCaption} \item[{{\bf mpbarrett} $\ast$}]{, } \item[{{\bf random\-Generator\-Context} $\ast$}]{, } \item[{size\-\_\-t}]{, } \item[{int}]{, } \item[{const {\bf mpnumber} $\ast$}]{, } \item[{const {\bf mpnumber} $\ast$}]{, } \item[{const {\bf mpnumber} $\ast$}]{, } \item[{{\bf mpnumber} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}}\label{mpprime_8h_aff4939f16261738513073b46f8eecd57} \hypertarget{mpprime_8h_a849d21e9717678e3888bff073525824e}{\index{mpprime.\-h@{mpprime.\-h}!mpprndconone\-\_\-w@{mpprndconone\-\_\-w}} \index{mpprndconone\-\_\-w@{mpprndconone\-\_\-w}!mpprime.h@{mpprime.\-h}} \subsubsection[{mpprndconone\-\_\-w}]{\setlength{\rightskip}{0pt plus 5cm}void mpprndconone\-\_\-w ( \begin{DoxyParamCaption} \item[{{\bf mpbarrett} $\ast$}]{, } \item[{{\bf random\-Generator\-Context} $\ast$}]{, } \item[{size\-\_\-t}]{, } \item[{int}]{, } \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{const {\bf mpnumber} $\ast$}]{, } \item[{{\bf mpnumber} $\ast$}]{, } \item[{int}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}}\label{mpprime_8h_a849d21e9717678e3888bff073525824e} \hypertarget{mpprime_8h_aac811307331c5bd67270260a9167fc01}{\index{mpprime.\-h@{mpprime.\-h}!mpprndr\-\_\-w@{mpprndr\-\_\-w}} \index{mpprndr\-\_\-w@{mpprndr\-\_\-w}!mpprime.h@{mpprime.\-h}} \subsubsection[{mpprndr\-\_\-w}]{\setlength{\rightskip}{0pt plus 5cm}int mpprndr\-\_\-w ( \begin{DoxyParamCaption} \item[{{\bf mpbarrett} $\ast$}]{, } \item[{{\bf random\-Generator\-Context} $\ast$}]{, } \item[{size\-\_\-t}]{, } \item[{int}]{, } \item[{const {\bf mpnumber} $\ast$}]{, } \item[{const {\bf mpnumber} $\ast$}]{, } \item[{const {\bf mpnumber} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}}\label{mpprime_8h_aac811307331c5bd67270260a9167fc01} \hypertarget{mpprime_8h_a678db39ae8db291faf9acdadb9be569b}{\index{mpprime.\-h@{mpprime.\-h}!mpprndsafe\-\_\-w@{mpprndsafe\-\_\-w}} \index{mpprndsafe\-\_\-w@{mpprndsafe\-\_\-w}!mpprime.h@{mpprime.\-h}} \subsubsection[{mpprndsafe\-\_\-w}]{\setlength{\rightskip}{0pt plus 5cm}void mpprndsafe\-\_\-w ( \begin{DoxyParamCaption} \item[{{\bf mpbarrett} $\ast$}]{, } \item[{{\bf random\-Generator\-Context} $\ast$}]{, } \item[{size\-\_\-t}]{, } \item[{int}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}}\label{mpprime_8h_a678db39ae8db291faf9acdadb9be569b} \hypertarget{mpprime_8h_a7bcb398c2487155c991cb55f26a0d23c}{\index{mpprime.\-h@{mpprime.\-h}!mpptrials@{mpptrials}} \index{mpptrials@{mpptrials}!mpprime.h@{mpprime.\-h}} \subsubsection[{mpptrials}]{\setlength{\rightskip}{0pt plus 5cm}int mpptrials ( \begin{DoxyParamCaption} \item[{size\-\_\-t}]{} \end{DoxyParamCaption} )}}\label{mpprime_8h_a7bcb398c2487155c991cb55f26a0d23c} \subsection{Variable Documentation} \hypertarget{mpprime_8h_a0cc985fd65e1e4b4e7017322c76780c4}{\index{mpprime.\-h@{mpprime.\-h}!mpspprod@{mpspprod}} \index{mpspprod@{mpspprod}!mpprime.h@{mpprime.\-h}} \subsubsection[{mpspprod}]{\setlength{\rightskip}{0pt plus 5cm}{\bf mpw}$\ast$ mpspprod\mbox{[}{\bf S\-M\-A\-L\-L\-\_\-\-P\-R\-I\-M\-E\-S\-\_\-\-P\-R\-O\-D\-U\-C\-T\-\_\-\-M\-A\-X}\mbox{]}}}\label{mpprime_8h_a0cc985fd65e1e4b4e7017322c76780c4}