Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > d1d38291248b5ff58339d3d2ddb22ecd > files > 1277

lib64beecrypt-devel-4.2.1-13.mga4.x86_64.rpm

\hypertarget{mpnumber_8h}{\section{include/beecrypt/mpnumber.h File Reference}
\label{mpnumber_8h}\index{include/beecrypt/mpnumber.\-h@{include/beecrypt/mpnumber.\-h}}
}


Multi-\/precision numbers, headers.  


{\ttfamily \#include \char`\"{}beecrypt/mp.\-h\char`\"{}}\\*
{\ttfamily \#include $<$iostream$>$}\\*
Include dependency graph for mpnumber.\-h\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{mpnumber_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{mpnumber_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structmpnumber}{mpnumber}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
std\-::ostream \& \hyperlink{mpnumber_8h_a7c48796d0f54a3c414a7f3bb1209adff}{operator$<$$<$} (std\-::ostream \&, const \hyperlink{structmpnumber}{mpnumber} \&)
\item 
void \hyperlink{mpnumber_8h_ab10e053ce1a03a31b50a7563e497c651}{mpnzero} (\hyperlink{structmpnumber}{mpnumber} $\ast$)
\item 
void \hyperlink{mpnumber_8h_a949e420af8d1b3e62921b46d3dd33b51}{mpnsize} (\hyperlink{structmpnumber}{mpnumber} $\ast$, size\-\_\-t)
\item 
void \hyperlink{mpnumber_8h_a10958ebf47a5004acfadb97220eb741e}{mpninit} (\hyperlink{structmpnumber}{mpnumber} $\ast$, size\-\_\-t, const \hyperlink{api_8h_a8de7ba63f011c81fa7f87724104d774b}{mpw} $\ast$)
\item 
void \hyperlink{mpnumber_8h_ae8fdc7c3fee91e59e53ec1b5c8ce6ff4}{mpnfree} (\hyperlink{structmpnumber}{mpnumber} $\ast$)
\item 
void \hyperlink{mpnumber_8h_adb7a699fe4d2492a4506190914c7ec70}{mpncopy} (\hyperlink{structmpnumber}{mpnumber} $\ast$, const \hyperlink{structmpnumber}{mpnumber} $\ast$)
\item 
void \hyperlink{mpnumber_8h_a2fb16d3498ebee9bf612855bb0561893}{mpnwipe} (\hyperlink{structmpnumber}{mpnumber} $\ast$)
\item 
void \hyperlink{mpnumber_8h_a4c508f093709b8ca98de950f772f2246}{mpnset} (\hyperlink{structmpnumber}{mpnumber} $\ast$, size\-\_\-t, const \hyperlink{api_8h_a8de7ba63f011c81fa7f87724104d774b}{mpw} $\ast$)
\item 
void \hyperlink{mpnumber_8h_a29b97206187276a45c70c02948c164ab}{mpnsetw} (\hyperlink{structmpnumber}{mpnumber} $\ast$, \hyperlink{api_8h_a8de7ba63f011c81fa7f87724104d774b}{mpw})
\item 
int \hyperlink{mpnumber_8h_a21405e032490a57ff939b27e5e9d910a}{mpnsetbin} (\hyperlink{structmpnumber}{mpnumber} $\ast$, const \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$, size\-\_\-t)
\item 
int \hyperlink{mpnumber_8h_a3035f0352c8e460ff36e887d9eb3a0c5}{mpnsethex} (\hyperlink{structmpnumber}{mpnumber} $\ast$, const char $\ast$)
\item 
int \hyperlink{mpnumber_8h_a96d2d5a97a2c6be7cc0c13e1da74eb99}{mpninv} (\hyperlink{structmpnumber}{mpnumber} $\ast$, const \hyperlink{structmpnumber}{mpnumber} $\ast$, const \hyperlink{structmpnumber}{mpnumber} $\ast$)
\item 
size\-\_\-t \hyperlink{mpnumber_8h_a088eade8638a15003d866ddf05ca4789}{mpntrbits} (\hyperlink{structmpnumber}{mpnumber} $\ast$, size\-\_\-t)
\begin{DoxyCompactList}\small\item\em Truncate the mpnumber to the specified number of (least significant) bits. \end{DoxyCompactList}\item 
size\-\_\-t \hyperlink{mpnumber_8h_a703940241c36506f0faa7a16b13a6450}{mpnbits} (const \hyperlink{structmpnumber}{mpnumber} $\ast$)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Multi-\/precision numbers, headers. \begin{DoxyAuthor}{Author}
Bob Deblier \href{mailto:bob.deblier@telenet.be}{\tt bob.\-deblier@telenet.\-be} 
\end{DoxyAuthor}


\subsection{Function Documentation}
\hypertarget{mpnumber_8h_a703940241c36506f0faa7a16b13a6450}{\index{mpnumber.\-h@{mpnumber.\-h}!mpnbits@{mpnbits}}
\index{mpnbits@{mpnbits}!mpnumber.h@{mpnumber.\-h}}
\subsubsection[{mpnbits}]{\setlength{\rightskip}{0pt plus 5cm}size\-\_\-t mpnbits (
\begin{DoxyParamCaption}
\item[{const {\bf mpnumber} $\ast$}]{}
\end{DoxyParamCaption}
)}}\label{mpnumber_8h_a703940241c36506f0faa7a16b13a6450}
\hypertarget{mpnumber_8h_adb7a699fe4d2492a4506190914c7ec70}{\index{mpnumber.\-h@{mpnumber.\-h}!mpncopy@{mpncopy}}
\index{mpncopy@{mpncopy}!mpnumber.h@{mpnumber.\-h}}
\subsubsection[{mpncopy}]{\setlength{\rightskip}{0pt plus 5cm}void mpncopy (
\begin{DoxyParamCaption}
\item[{{\bf mpnumber} $\ast$}]{, }
\item[{const {\bf mpnumber} $\ast$}]{}
\end{DoxyParamCaption}
)}}\label{mpnumber_8h_adb7a699fe4d2492a4506190914c7ec70}
\hypertarget{mpnumber_8h_ae8fdc7c3fee91e59e53ec1b5c8ce6ff4}{\index{mpnumber.\-h@{mpnumber.\-h}!mpnfree@{mpnfree}}
\index{mpnfree@{mpnfree}!mpnumber.h@{mpnumber.\-h}}
\subsubsection[{mpnfree}]{\setlength{\rightskip}{0pt plus 5cm}void mpnfree (
\begin{DoxyParamCaption}
\item[{{\bf mpnumber} $\ast$}]{}
\end{DoxyParamCaption}
)}}\label{mpnumber_8h_ae8fdc7c3fee91e59e53ec1b5c8ce6ff4}
\hypertarget{mpnumber_8h_a10958ebf47a5004acfadb97220eb741e}{\index{mpnumber.\-h@{mpnumber.\-h}!mpninit@{mpninit}}
\index{mpninit@{mpninit}!mpnumber.h@{mpnumber.\-h}}
\subsubsection[{mpninit}]{\setlength{\rightskip}{0pt plus 5cm}void mpninit (
\begin{DoxyParamCaption}
\item[{{\bf mpnumber} $\ast$}]{, }
\item[{size\-\_\-t}]{, }
\item[{const {\bf mpw} $\ast$}]{}
\end{DoxyParamCaption}
)}}\label{mpnumber_8h_a10958ebf47a5004acfadb97220eb741e}
\hypertarget{mpnumber_8h_a96d2d5a97a2c6be7cc0c13e1da74eb99}{\index{mpnumber.\-h@{mpnumber.\-h}!mpninv@{mpninv}}
\index{mpninv@{mpninv}!mpnumber.h@{mpnumber.\-h}}
\subsubsection[{mpninv}]{\setlength{\rightskip}{0pt plus 5cm}int mpninv (
\begin{DoxyParamCaption}
\item[{{\bf mpnumber} $\ast$}]{, }
\item[{const {\bf mpnumber} $\ast$}]{, }
\item[{const {\bf mpnumber} $\ast$}]{}
\end{DoxyParamCaption}
)}}\label{mpnumber_8h_a96d2d5a97a2c6be7cc0c13e1da74eb99}
\hypertarget{mpnumber_8h_a4c508f093709b8ca98de950f772f2246}{\index{mpnumber.\-h@{mpnumber.\-h}!mpnset@{mpnset}}
\index{mpnset@{mpnset}!mpnumber.h@{mpnumber.\-h}}
\subsubsection[{mpnset}]{\setlength{\rightskip}{0pt plus 5cm}void mpnset (
\begin{DoxyParamCaption}
\item[{{\bf mpnumber} $\ast$}]{, }
\item[{size\-\_\-t}]{, }
\item[{const {\bf mpw} $\ast$}]{}
\end{DoxyParamCaption}
)}}\label{mpnumber_8h_a4c508f093709b8ca98de950f772f2246}
\hypertarget{mpnumber_8h_a21405e032490a57ff939b27e5e9d910a}{\index{mpnumber.\-h@{mpnumber.\-h}!mpnsetbin@{mpnsetbin}}
\index{mpnsetbin@{mpnsetbin}!mpnumber.h@{mpnumber.\-h}}
\subsubsection[{mpnsetbin}]{\setlength{\rightskip}{0pt plus 5cm}int mpnsetbin (
\begin{DoxyParamCaption}
\item[{{\bf mpnumber} $\ast$}]{, }
\item[{const {\bf byte} $\ast$}]{, }
\item[{size\-\_\-t}]{}
\end{DoxyParamCaption}
)}}\label{mpnumber_8h_a21405e032490a57ff939b27e5e9d910a}
\hypertarget{mpnumber_8h_a3035f0352c8e460ff36e887d9eb3a0c5}{\index{mpnumber.\-h@{mpnumber.\-h}!mpnsethex@{mpnsethex}}
\index{mpnsethex@{mpnsethex}!mpnumber.h@{mpnumber.\-h}}
\subsubsection[{mpnsethex}]{\setlength{\rightskip}{0pt plus 5cm}int mpnsethex (
\begin{DoxyParamCaption}
\item[{{\bf mpnumber} $\ast$}]{, }
\item[{const char $\ast$}]{}
\end{DoxyParamCaption}
)}}\label{mpnumber_8h_a3035f0352c8e460ff36e887d9eb3a0c5}
\hypertarget{mpnumber_8h_a29b97206187276a45c70c02948c164ab}{\index{mpnumber.\-h@{mpnumber.\-h}!mpnsetw@{mpnsetw}}
\index{mpnsetw@{mpnsetw}!mpnumber.h@{mpnumber.\-h}}
\subsubsection[{mpnsetw}]{\setlength{\rightskip}{0pt plus 5cm}void mpnsetw (
\begin{DoxyParamCaption}
\item[{{\bf mpnumber} $\ast$}]{, }
\item[{{\bf mpw}}]{}
\end{DoxyParamCaption}
)}}\label{mpnumber_8h_a29b97206187276a45c70c02948c164ab}
\hypertarget{mpnumber_8h_a949e420af8d1b3e62921b46d3dd33b51}{\index{mpnumber.\-h@{mpnumber.\-h}!mpnsize@{mpnsize}}
\index{mpnsize@{mpnsize}!mpnumber.h@{mpnumber.\-h}}
\subsubsection[{mpnsize}]{\setlength{\rightskip}{0pt plus 5cm}void mpnsize (
\begin{DoxyParamCaption}
\item[{{\bf mpnumber} $\ast$}]{, }
\item[{size\-\_\-t}]{}
\end{DoxyParamCaption}
)}}\label{mpnumber_8h_a949e420af8d1b3e62921b46d3dd33b51}
\hypertarget{mpnumber_8h_a088eade8638a15003d866ddf05ca4789}{\index{mpnumber.\-h@{mpnumber.\-h}!mpntrbits@{mpntrbits}}
\index{mpntrbits@{mpntrbits}!mpnumber.h@{mpnumber.\-h}}
\subsubsection[{mpntrbits}]{\setlength{\rightskip}{0pt plus 5cm}size\-\_\-t mpntrbits (
\begin{DoxyParamCaption}
\item[{{\bf mpnumber} $\ast$}]{, }
\item[{size\-\_\-t}]{}
\end{DoxyParamCaption}
)}}\label{mpnumber_8h_a088eade8638a15003d866ddf05ca4789}


Truncate the mpnumber to the specified number of (least significant) bits. 

\hypertarget{mpnumber_8h_a2fb16d3498ebee9bf612855bb0561893}{\index{mpnumber.\-h@{mpnumber.\-h}!mpnwipe@{mpnwipe}}
\index{mpnwipe@{mpnwipe}!mpnumber.h@{mpnumber.\-h}}
\subsubsection[{mpnwipe}]{\setlength{\rightskip}{0pt plus 5cm}void mpnwipe (
\begin{DoxyParamCaption}
\item[{{\bf mpnumber} $\ast$}]{}
\end{DoxyParamCaption}
)}}\label{mpnumber_8h_a2fb16d3498ebee9bf612855bb0561893}
\hypertarget{mpnumber_8h_ab10e053ce1a03a31b50a7563e497c651}{\index{mpnumber.\-h@{mpnumber.\-h}!mpnzero@{mpnzero}}
\index{mpnzero@{mpnzero}!mpnumber.h@{mpnumber.\-h}}
\subsubsection[{mpnzero}]{\setlength{\rightskip}{0pt plus 5cm}void mpnzero (
\begin{DoxyParamCaption}
\item[{{\bf mpnumber} $\ast$}]{}
\end{DoxyParamCaption}
)}}\label{mpnumber_8h_ab10e053ce1a03a31b50a7563e497c651}
\hypertarget{mpnumber_8h_a7c48796d0f54a3c414a7f3bb1209adff}{\index{mpnumber.\-h@{mpnumber.\-h}!operator$<$$<$@{operator$<$$<$}}
\index{operator$<$$<$@{operator$<$$<$}!mpnumber.h@{mpnumber.\-h}}
\subsubsection[{operator$<$$<$}]{\setlength{\rightskip}{0pt plus 5cm}std\-::ostream\& operator$<$$<$ (
\begin{DoxyParamCaption}
\item[{std\-::ostream \&}]{, }
\item[{const {\bf mpnumber} \&}]{}
\end{DoxyParamCaption}
)}}\label{mpnumber_8h_a7c48796d0f54a3c414a7f3bb1209adff}