\hypertarget{mpbarrett_8h}{ \section{include/beecrypt/mpbarrett.h File Reference} \label{mpbarrett_8h}\index{include/beecrypt/mpbarrett.h@{include/beecrypt/mpbarrett.h}} } Multi-\/precision integer routines using Barrett modular reduction, headers. {\ttfamily \#include \char`\"{}beecrypt/beecrypt.h\char`\"{}}\par {\ttfamily \#include \char`\"{}beecrypt/mpnumber.h\char`\"{}}\par {\ttfamily \#include $<$iostream$>$}\par Include dependency graph for mpbarrett.h: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=382pt]{mpbarrett_8h__incl} \end{center} \end{figure} \subsection*{Data Structures} \begin{DoxyCompactItemize} \item struct \hyperlink{structmpbarrett}{mpbarrett} \end{DoxyCompactItemize} \subsection*{Functions} \begin{DoxyCompactItemize} \item std::ostream \& \hyperlink{mpbarrett_8h_a8b5ea6b998f2f664e7ca0b7eb8a19764}{operator$<$$<$} (std::ostream \&, const \hyperlink{structmpbarrett}{mpbarrett} \&) \item void \hyperlink{mpbarrett_8h_a2cb3245cba623b268eefeba2562b686c}{mpbzero} (\hyperlink{structmpbarrett}{mpbarrett} $\ast$) \item void \hyperlink{mpbarrett_8h_ac8a47a06e2f6232b3fd69533a086fba0}{mpbinit} (\hyperlink{structmpbarrett}{mpbarrett} $\ast$, size\_\-t) \item void \hyperlink{mpbarrett_8h_a903d213a22f345aec24d8872735d0131}{mpbfree} (\hyperlink{structmpbarrett}{mpbarrett} $\ast$) \item void \hyperlink{mpbarrett_8h_a5f29ae1775c65551b8cd58592024ea20}{mpbcopy} (\hyperlink{structmpbarrett}{mpbarrett} $\ast$, const \hyperlink{structmpbarrett}{mpbarrett} $\ast$) \item void \hyperlink{mpbarrett_8h_a0d1872caaaefdd889a19bd5fa67a0fc1}{mpbwipe} (\hyperlink{structmpbarrett}{mpbarrett} $\ast$) \item void \hyperlink{mpbarrett_8h_a1e396835d7af12f2ff952647b55ff0ee}{mpbset} (\hyperlink{structmpbarrett}{mpbarrett} $\ast$, size\_\-t, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$) \item int \hyperlink{mpbarrett_8h_af48dcbea17b9f06355b42b75e81a7054}{mpbsetbin} (\hyperlink{structmpbarrett}{mpbarrett} $\ast$, const \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$, size\_\-t) \item int \hyperlink{mpbarrett_8h_ace8cd898e1343a22d98afc233572a0fc}{mpbsethex} (\hyperlink{structmpbarrett}{mpbarrett} $\ast$, const char $\ast$) \item void \hyperlink{mpbarrett_8h_a5a549b7b7df90e6927bacd705c9220be}{mpbsubone} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$) \item void \hyperlink{mpbarrett_8h_ac546653cde360c89c7dea1d5c4f40094}{mpbmu\_\-w} (\hyperlink{structmpbarrett}{mpbarrett} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$) \item void \hyperlink{mpbarrett_8h_a2d23a540ca6f4216c027b808213185c0}{mpbrnd\_\-w} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, \hyperlink{structrandomGeneratorContext}{randomGeneratorContext} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$) \item void \hyperlink{mpbarrett_8h_a6fa217de899b906d3aa40ea7c2ed5891}{mpbrndodd\_\-w} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, \hyperlink{structrandomGeneratorContext}{randomGeneratorContext} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$) \item void \hyperlink{mpbarrett_8h_a9492de347fb5b242472502299ce67e5a}{mpbrndinv\_\-w} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, \hyperlink{structrandomGeneratorContext}{randomGeneratorContext} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$) \item void \hyperlink{mpbarrett_8h_ae49c27b352c9b2c907eda34354b10035}{mpbneg\_\-w} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$) \item void \hyperlink{mpbarrett_8h_ad73f726b3528897091264fdd76d15ee4}{mpbmod\_\-w} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$) \item void \hyperlink{mpbarrett_8h_ad5a99debc7034f49aafe57d3075fe4d6}{mpbaddmod\_\-w} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, size\_\-t, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, size\_\-t, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$) \item void \hyperlink{mpbarrett_8h_a5eab5da91f043155a318869fe3ad24e6}{mpbsubmod\_\-w} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, size\_\-t, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, size\_\-t, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$) \item void \hyperlink{mpbarrett_8h_a5cf149f8736dcd3139a4f170365a9903}{mpbmulmod\_\-w} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, size\_\-t, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, size\_\-t, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$) \item void \hyperlink{mpbarrett_8h_aee467d6f13c6ad95819b1c9def96f106}{mpbsqrmod\_\-w} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, size\_\-t, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$) \item void \hyperlink{mpbarrett_8h_afe6128dc67017a718c417aaba2ac0f41}{mpbpowmod\_\-w} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, size\_\-t, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, size\_\-t, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$) \item void \hyperlink{mpbarrett_8h_a2375da0a1c4e25a603eb379d948bd465}{mpbpowmodsld\_\-w} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, size\_\-t, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$) \item void \hyperlink{mpbarrett_8h_a63275db3c0c56e0c3dd8f027aa8f5af9}{mpbtwopowmod\_\-w} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, size\_\-t, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$) \item void \hyperlink{mpbarrett_8h_abf155ee0726fb0d430e9d2a536f3cb04}{mpbsm2powmod} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$) \item void \hyperlink{mpbarrett_8h_a9b4552a7e98e7844f66d58384d53a0ae}{mpbsm3powmod} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$) \item int \hyperlink{mpbarrett_8h_ab564ee213b9f01c2036de49ed1658eb7}{mpbpprime\_\-w} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, \hyperlink{structrandomGeneratorContext}{randomGeneratorContext} $\ast$, int, \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$) \item void \hyperlink{mpbarrett_8h_a4c78166a4dd04182e571cc09ae3ad335}{mpbnrnd} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, \hyperlink{structrandomGeneratorContext}{randomGeneratorContext} $\ast$, \hyperlink{structmpnumber}{mpnumber} $\ast$) \item void \hyperlink{mpbarrett_8h_a72e3bf5b5a2b2c67d7bf19372dd42726}{mpbnmulmod} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, const \hyperlink{structmpnumber}{mpnumber} $\ast$, const \hyperlink{structmpnumber}{mpnumber} $\ast$, \hyperlink{structmpnumber}{mpnumber} $\ast$) \item void \hyperlink{mpbarrett_8h_a7361a50e6caa0fed5d48f2de9951d053}{mpbnsqrmod} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, const \hyperlink{structmpnumber}{mpnumber} $\ast$, \hyperlink{structmpnumber}{mpnumber} $\ast$) \item void \hyperlink{mpbarrett_8h_aabde8645de977a85fee0cd5f48889844}{mpbnpowmod} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, const \hyperlink{structmpnumber}{mpnumber} $\ast$, const \hyperlink{structmpnumber}{mpnumber} $\ast$, \hyperlink{structmpnumber}{mpnumber} $\ast$) \item void \hyperlink{mpbarrett_8h_ae107ede945d727eb61ea978df04c94a6}{mpbnpowmodsld} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$, const \hyperlink{api_8h_af807108d471a7c68e58df13068048e03}{mpw} $\ast$, const \hyperlink{structmpnumber}{mpnumber} $\ast$, \hyperlink{structmpnumber}{mpnumber} $\ast$) \item size\_\-t \hyperlink{mpbarrett_8h_a67d60cd53ec862f1f18304d3c8ac1652}{mpbbits} (const \hyperlink{structmpbarrett}{mpbarrett} $\ast$) \end{DoxyCompactItemize} \subsection{Detailed Description} Multi-\/precision integer routines using Barrett modular reduction, headers. \begin{DoxyAuthor}{Author} Bob Deblier $<$\href{mailto:bob.deblier@telenet.be}{\tt bob.deblier@telenet.be}$>$ \end{DoxyAuthor} \subsection{Function Documentation} \hypertarget{mpbarrett_8h_ad5a99debc7034f49aafe57d3075fe4d6}{ \index{mpbarrett.h@{mpbarrett.h}!mpbaddmod\_\-w@{mpbaddmod\_\-w}} \index{mpbaddmod\_\-w@{mpbaddmod\_\-w}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbaddmod\_\-w}]{\setlength{\rightskip}{0pt plus 5cm}void mpbaddmod\_\-w ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{size\_\-t}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{size\_\-t}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_ad5a99debc7034f49aafe57d3075fe4d6} \hypertarget{mpbarrett_8h_a67d60cd53ec862f1f18304d3c8ac1652}{ \index{mpbarrett.h@{mpbarrett.h}!mpbbits@{mpbbits}} \index{mpbbits@{mpbbits}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbbits}]{\setlength{\rightskip}{0pt plus 5cm}size\_\-t mpbbits ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_a67d60cd53ec862f1f18304d3c8ac1652} \hypertarget{mpbarrett_8h_a5f29ae1775c65551b8cd58592024ea20}{ \index{mpbarrett.h@{mpbarrett.h}!mpbcopy@{mpbcopy}} \index{mpbcopy@{mpbcopy}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbcopy}]{\setlength{\rightskip}{0pt plus 5cm}void mpbcopy ( \begin{DoxyParamCaption} \item[{{\bf mpbarrett} $\ast$}]{, } \item[{const {\bf mpbarrett} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_a5f29ae1775c65551b8cd58592024ea20} \hypertarget{mpbarrett_8h_a903d213a22f345aec24d8872735d0131}{ \index{mpbarrett.h@{mpbarrett.h}!mpbfree@{mpbfree}} \index{mpbfree@{mpbfree}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbfree}]{\setlength{\rightskip}{0pt plus 5cm}void mpbfree ( \begin{DoxyParamCaption} \item[{{\bf mpbarrett} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_a903d213a22f345aec24d8872735d0131} \hypertarget{mpbarrett_8h_ac8a47a06e2f6232b3fd69533a086fba0}{ \index{mpbarrett.h@{mpbarrett.h}!mpbinit@{mpbinit}} \index{mpbinit@{mpbinit}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbinit}]{\setlength{\rightskip}{0pt plus 5cm}void mpbinit ( \begin{DoxyParamCaption} \item[{{\bf mpbarrett} $\ast$}]{, } \item[{size\_\-t}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_ac8a47a06e2f6232b3fd69533a086fba0} \hypertarget{mpbarrett_8h_ad73f726b3528897091264fdd76d15ee4}{ \index{mpbarrett.h@{mpbarrett.h}!mpbmod\_\-w@{mpbmod\_\-w}} \index{mpbmod\_\-w@{mpbmod\_\-w}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbmod\_\-w}]{\setlength{\rightskip}{0pt plus 5cm}void mpbmod\_\-w ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_ad73f726b3528897091264fdd76d15ee4} \hypertarget{mpbarrett_8h_ac546653cde360c89c7dea1d5c4f40094}{ \index{mpbarrett.h@{mpbarrett.h}!mpbmu\_\-w@{mpbmu\_\-w}} \index{mpbmu\_\-w@{mpbmu\_\-w}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbmu\_\-w}]{\setlength{\rightskip}{0pt plus 5cm}void mpbmu\_\-w ( \begin{DoxyParamCaption} \item[{{\bf mpbarrett} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_ac546653cde360c89c7dea1d5c4f40094} \hypertarget{mpbarrett_8h_a5cf149f8736dcd3139a4f170365a9903}{ \index{mpbarrett.h@{mpbarrett.h}!mpbmulmod\_\-w@{mpbmulmod\_\-w}} \index{mpbmulmod\_\-w@{mpbmulmod\_\-w}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbmulmod\_\-w}]{\setlength{\rightskip}{0pt plus 5cm}void mpbmulmod\_\-w ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{size\_\-t}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{size\_\-t}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_a5cf149f8736dcd3139a4f170365a9903} \hypertarget{mpbarrett_8h_ae49c27b352c9b2c907eda34354b10035}{ \index{mpbarrett.h@{mpbarrett.h}!mpbneg\_\-w@{mpbneg\_\-w}} \index{mpbneg\_\-w@{mpbneg\_\-w}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbneg\_\-w}]{\setlength{\rightskip}{0pt plus 5cm}void mpbneg\_\-w ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_ae49c27b352c9b2c907eda34354b10035} \hypertarget{mpbarrett_8h_a72e3bf5b5a2b2c67d7bf19372dd42726}{ \index{mpbarrett.h@{mpbarrett.h}!mpbnmulmod@{mpbnmulmod}} \index{mpbnmulmod@{mpbnmulmod}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbnmulmod}]{\setlength{\rightskip}{0pt plus 5cm}void mpbnmulmod ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{const {\bf mpnumber} $\ast$}]{, } \item[{const {\bf mpnumber} $\ast$}]{, } \item[{{\bf mpnumber} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_a72e3bf5b5a2b2c67d7bf19372dd42726} \hypertarget{mpbarrett_8h_aabde8645de977a85fee0cd5f48889844}{ \index{mpbarrett.h@{mpbarrett.h}!mpbnpowmod@{mpbnpowmod}} \index{mpbnpowmod@{mpbnpowmod}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbnpowmod}]{\setlength{\rightskip}{0pt plus 5cm}void mpbnpowmod ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{const {\bf mpnumber} $\ast$}]{, } \item[{const {\bf mpnumber} $\ast$}]{, } \item[{{\bf mpnumber} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_aabde8645de977a85fee0cd5f48889844} \hypertarget{mpbarrett_8h_ae107ede945d727eb61ea978df04c94a6}{ \index{mpbarrett.h@{mpbarrett.h}!mpbnpowmodsld@{mpbnpowmodsld}} \index{mpbnpowmodsld@{mpbnpowmodsld}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbnpowmodsld}]{\setlength{\rightskip}{0pt plus 5cm}void mpbnpowmodsld ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{const {\bf mpnumber} $\ast$}]{, } \item[{{\bf mpnumber} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_ae107ede945d727eb61ea978df04c94a6} \hypertarget{mpbarrett_8h_a4c78166a4dd04182e571cc09ae3ad335}{ \index{mpbarrett.h@{mpbarrett.h}!mpbnrnd@{mpbnrnd}} \index{mpbnrnd@{mpbnrnd}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbnrnd}]{\setlength{\rightskip}{0pt plus 5cm}void mpbnrnd ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{{\bf randomGeneratorContext} $\ast$}]{, } \item[{{\bf mpnumber} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_a4c78166a4dd04182e571cc09ae3ad335} \hypertarget{mpbarrett_8h_a7361a50e6caa0fed5d48f2de9951d053}{ \index{mpbarrett.h@{mpbarrett.h}!mpbnsqrmod@{mpbnsqrmod}} \index{mpbnsqrmod@{mpbnsqrmod}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbnsqrmod}]{\setlength{\rightskip}{0pt plus 5cm}void mpbnsqrmod ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{const {\bf mpnumber} $\ast$}]{, } \item[{{\bf mpnumber} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_a7361a50e6caa0fed5d48f2de9951d053} \hypertarget{mpbarrett_8h_afe6128dc67017a718c417aaba2ac0f41}{ \index{mpbarrett.h@{mpbarrett.h}!mpbpowmod\_\-w@{mpbpowmod\_\-w}} \index{mpbpowmod\_\-w@{mpbpowmod\_\-w}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbpowmod\_\-w}]{\setlength{\rightskip}{0pt plus 5cm}void mpbpowmod\_\-w ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{size\_\-t}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{size\_\-t}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_afe6128dc67017a718c417aaba2ac0f41} \hypertarget{mpbarrett_8h_a2375da0a1c4e25a603eb379d948bd465}{ \index{mpbarrett.h@{mpbarrett.h}!mpbpowmodsld\_\-w@{mpbpowmodsld\_\-w}} \index{mpbpowmodsld\_\-w@{mpbpowmodsld\_\-w}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbpowmodsld\_\-w}]{\setlength{\rightskip}{0pt plus 5cm}void mpbpowmodsld\_\-w ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{size\_\-t}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_a2375da0a1c4e25a603eb379d948bd465} \hypertarget{mpbarrett_8h_ab564ee213b9f01c2036de49ed1658eb7}{ \index{mpbarrett.h@{mpbarrett.h}!mpbpprime\_\-w@{mpbpprime\_\-w}} \index{mpbpprime\_\-w@{mpbpprime\_\-w}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbpprime\_\-w}]{\setlength{\rightskip}{0pt plus 5cm}int mpbpprime\_\-w ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{{\bf randomGeneratorContext} $\ast$}]{, } \item[{int}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_ab564ee213b9f01c2036de49ed1658eb7} \hypertarget{mpbarrett_8h_a2d23a540ca6f4216c027b808213185c0}{ \index{mpbarrett.h@{mpbarrett.h}!mpbrnd\_\-w@{mpbrnd\_\-w}} \index{mpbrnd\_\-w@{mpbrnd\_\-w}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbrnd\_\-w}]{\setlength{\rightskip}{0pt plus 5cm}void mpbrnd\_\-w ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{{\bf randomGeneratorContext} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_a2d23a540ca6f4216c027b808213185c0} \hypertarget{mpbarrett_8h_a9492de347fb5b242472502299ce67e5a}{ \index{mpbarrett.h@{mpbarrett.h}!mpbrndinv\_\-w@{mpbrndinv\_\-w}} \index{mpbrndinv\_\-w@{mpbrndinv\_\-w}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbrndinv\_\-w}]{\setlength{\rightskip}{0pt plus 5cm}void mpbrndinv\_\-w ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{{\bf randomGeneratorContext} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_a9492de347fb5b242472502299ce67e5a} \hypertarget{mpbarrett_8h_a6fa217de899b906d3aa40ea7c2ed5891}{ \index{mpbarrett.h@{mpbarrett.h}!mpbrndodd\_\-w@{mpbrndodd\_\-w}} \index{mpbrndodd\_\-w@{mpbrndodd\_\-w}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbrndodd\_\-w}]{\setlength{\rightskip}{0pt plus 5cm}void mpbrndodd\_\-w ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{{\bf randomGeneratorContext} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_a6fa217de899b906d3aa40ea7c2ed5891} \hypertarget{mpbarrett_8h_a1e396835d7af12f2ff952647b55ff0ee}{ \index{mpbarrett.h@{mpbarrett.h}!mpbset@{mpbset}} \index{mpbset@{mpbset}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbset}]{\setlength{\rightskip}{0pt plus 5cm}void mpbset ( \begin{DoxyParamCaption} \item[{{\bf mpbarrett} $\ast$}]{, } \item[{size\_\-t}]{, } \item[{const {\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_a1e396835d7af12f2ff952647b55ff0ee} \hypertarget{mpbarrett_8h_af48dcbea17b9f06355b42b75e81a7054}{ \index{mpbarrett.h@{mpbarrett.h}!mpbsetbin@{mpbsetbin}} \index{mpbsetbin@{mpbsetbin}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbsetbin}]{\setlength{\rightskip}{0pt plus 5cm}int mpbsetbin ( \begin{DoxyParamCaption} \item[{{\bf mpbarrett} $\ast$}]{, } \item[{const {\bf byte} $\ast$}]{, } \item[{size\_\-t}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_af48dcbea17b9f06355b42b75e81a7054} \hypertarget{mpbarrett_8h_ace8cd898e1343a22d98afc233572a0fc}{ \index{mpbarrett.h@{mpbarrett.h}!mpbsethex@{mpbsethex}} \index{mpbsethex@{mpbsethex}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbsethex}]{\setlength{\rightskip}{0pt plus 5cm}int mpbsethex ( \begin{DoxyParamCaption} \item[{{\bf mpbarrett} $\ast$}]{, } \item[{const char $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_ace8cd898e1343a22d98afc233572a0fc} \hypertarget{mpbarrett_8h_abf155ee0726fb0d430e9d2a536f3cb04}{ \index{mpbarrett.h@{mpbarrett.h}!mpbsm2powmod@{mpbsm2powmod}} \index{mpbsm2powmod@{mpbsm2powmod}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbsm2powmod}]{\setlength{\rightskip}{0pt plus 5cm}void mpbsm2powmod ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{const {\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_abf155ee0726fb0d430e9d2a536f3cb04} \hypertarget{mpbarrett_8h_a9b4552a7e98e7844f66d58384d53a0ae}{ \index{mpbarrett.h@{mpbarrett.h}!mpbsm3powmod@{mpbsm3powmod}} \index{mpbsm3powmod@{mpbsm3powmod}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbsm3powmod}]{\setlength{\rightskip}{0pt plus 5cm}void mpbsm3powmod ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{const {\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_a9b4552a7e98e7844f66d58384d53a0ae} \hypertarget{mpbarrett_8h_aee467d6f13c6ad95819b1c9def96f106}{ \index{mpbarrett.h@{mpbarrett.h}!mpbsqrmod\_\-w@{mpbsqrmod\_\-w}} \index{mpbsqrmod\_\-w@{mpbsqrmod\_\-w}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbsqrmod\_\-w}]{\setlength{\rightskip}{0pt plus 5cm}void mpbsqrmod\_\-w ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{size\_\-t}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_aee467d6f13c6ad95819b1c9def96f106} \hypertarget{mpbarrett_8h_a5eab5da91f043155a318869fe3ad24e6}{ \index{mpbarrett.h@{mpbarrett.h}!mpbsubmod\_\-w@{mpbsubmod\_\-w}} \index{mpbsubmod\_\-w@{mpbsubmod\_\-w}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbsubmod\_\-w}]{\setlength{\rightskip}{0pt plus 5cm}void mpbsubmod\_\-w ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{size\_\-t}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{size\_\-t}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_a5eab5da91f043155a318869fe3ad24e6} \hypertarget{mpbarrett_8h_a5a549b7b7df90e6927bacd705c9220be}{ \index{mpbarrett.h@{mpbarrett.h}!mpbsubone@{mpbsubone}} \index{mpbsubone@{mpbsubone}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbsubone}]{\setlength{\rightskip}{0pt plus 5cm}void mpbsubone ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_a5a549b7b7df90e6927bacd705c9220be} \hypertarget{mpbarrett_8h_a63275db3c0c56e0c3dd8f027aa8f5af9}{ \index{mpbarrett.h@{mpbarrett.h}!mpbtwopowmod\_\-w@{mpbtwopowmod\_\-w}} \index{mpbtwopowmod\_\-w@{mpbtwopowmod\_\-w}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbtwopowmod\_\-w}]{\setlength{\rightskip}{0pt plus 5cm}void mpbtwopowmod\_\-w ( \begin{DoxyParamCaption} \item[{const {\bf mpbarrett} $\ast$}]{, } \item[{size\_\-t}]{, } \item[{const {\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{, } \item[{{\bf mpw} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_a63275db3c0c56e0c3dd8f027aa8f5af9} \hypertarget{mpbarrett_8h_a0d1872caaaefdd889a19bd5fa67a0fc1}{ \index{mpbarrett.h@{mpbarrett.h}!mpbwipe@{mpbwipe}} \index{mpbwipe@{mpbwipe}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbwipe}]{\setlength{\rightskip}{0pt plus 5cm}void mpbwipe ( \begin{DoxyParamCaption} \item[{{\bf mpbarrett} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_a0d1872caaaefdd889a19bd5fa67a0fc1} \hypertarget{mpbarrett_8h_a2cb3245cba623b268eefeba2562b686c}{ \index{mpbarrett.h@{mpbarrett.h}!mpbzero@{mpbzero}} \index{mpbzero@{mpbzero}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{mpbzero}]{\setlength{\rightskip}{0pt plus 5cm}void mpbzero ( \begin{DoxyParamCaption} \item[{{\bf mpbarrett} $\ast$}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_a2cb3245cba623b268eefeba2562b686c} \hypertarget{mpbarrett_8h_a8b5ea6b998f2f664e7ca0b7eb8a19764}{ \index{mpbarrett.h@{mpbarrett.h}!operator$<$$<$@{operator$<$$<$}} \index{operator$<$$<$@{operator$<$$<$}!mpbarrett.h@{mpbarrett.h}} \subsubsection[{operator$<$$<$}]{\setlength{\rightskip}{0pt plus 5cm}std::ostream\& operator$<$$<$ ( \begin{DoxyParamCaption} \item[{std::ostream \&}]{, } \item[{const {\bf mpbarrett} \&}]{} \end{DoxyParamCaption} )}} \label{mpbarrett_8h_a8b5ea6b998f2f664e7ca0b7eb8a19764}