\hypertarget{mtprng_8h}{\section{include/beecrypt/mtprng.h File Reference} \label{mtprng_8h}\index{include/beecrypt/mtprng.\-h@{include/beecrypt/mtprng.\-h}} } Mersenne Twister pseudo-\/random number generator, headers. {\ttfamily \#include \char`\"{}beecrypt/beecrypt.\-h\char`\"{}}\\* Include dependency graph for mtprng.\-h\-: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{mtprng_8h__incl} \end{center} \end{figure} \subsection*{Data Structures} \begin{DoxyCompactItemize} \item struct \hyperlink{structmtprngParam}{mtprng\-Param} \end{DoxyCompactItemize} \subsection*{Macros} \begin{DoxyCompactItemize} \item \#define \hyperlink{mtprng_8h_a0240ac851181b84ac374872dc5434ee4}{N}~624 \item \#define \hyperlink{mtprng_8h_a52037c938e3c1b126c6277da5ca689d0}{M}~397 \item \#define \hyperlink{mtprng_8h_a97d832ae23af4f215e801e37e4f94254}{K}~0x9908\-B0\-D\-F\-U \end{DoxyCompactItemize} \subsection*{Functions} \begin{DoxyCompactItemize} \item int \hyperlink{mtprng_8h_abc42229f938343a9a249dadb941342d3}{mtprng\-Setup} (\hyperlink{structmtprngParam}{mtprng\-Param} $\ast$mp) \item int \hyperlink{mtprng_8h_a0ff59a5111ab0200f621fd7ce8072431}{mtprng\-Seed} (\hyperlink{structmtprngParam}{mtprng\-Param} $\ast$mp, const \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$data, size\-\_\-t size) \item int \hyperlink{mtprng_8h_aff9f04e1ad262942feb3ca3d15ef6014}{mtprng\-Next} (\hyperlink{structmtprngParam}{mtprng\-Param} $\ast$mp, \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$data, size\-\_\-t size) \item int \hyperlink{mtprng_8h_a9c709a818d9c14ef9eb1a6905ba8e229}{mtprng\-Cleanup} (\hyperlink{structmtprngParam}{mtprng\-Param} $\ast$mp) \end{DoxyCompactItemize} \subsection*{Variables} \begin{DoxyCompactItemize} \item const \hyperlink{structrandomGenerator}{random\-Generator} \hyperlink{mtprng_8h_ac6e2ab09b0510d3bf14fd2e0ff28c4d1}{mtprng} \end{DoxyCompactItemize} \subsection{Detailed Description} Mersenne Twister pseudo-\/random number generator, headers. \begin{DoxyAuthor}{Author} Bob Deblier \href{mailto:bob.deblier@telenet.be}{\tt bob.\-deblier@telenet.\-be} \end{DoxyAuthor} \subsection{Macro Definition Documentation} \hypertarget{mtprng_8h_a97d832ae23af4f215e801e37e4f94254}{\index{mtprng.\-h@{mtprng.\-h}!K@{K}} \index{K@{K}!mtprng.h@{mtprng.\-h}} \subsubsection[{K}]{\setlength{\rightskip}{0pt plus 5cm}\#define K~0x9908\-B0\-D\-F\-U}}\label{mtprng_8h_a97d832ae23af4f215e801e37e4f94254} \hypertarget{mtprng_8h_a52037c938e3c1b126c6277da5ca689d0}{\index{mtprng.\-h@{mtprng.\-h}!M@{M}} \index{M@{M}!mtprng.h@{mtprng.\-h}} \subsubsection[{M}]{\setlength{\rightskip}{0pt plus 5cm}\#define M~397}}\label{mtprng_8h_a52037c938e3c1b126c6277da5ca689d0} \hypertarget{mtprng_8h_a0240ac851181b84ac374872dc5434ee4}{\index{mtprng.\-h@{mtprng.\-h}!N@{N}} \index{N@{N}!mtprng.h@{mtprng.\-h}} \subsubsection[{N}]{\setlength{\rightskip}{0pt plus 5cm}\#define N~624}}\label{mtprng_8h_a0240ac851181b84ac374872dc5434ee4} \subsection{Function Documentation} \hypertarget{mtprng_8h_a9c709a818d9c14ef9eb1a6905ba8e229}{\index{mtprng.\-h@{mtprng.\-h}!mtprng\-Cleanup@{mtprng\-Cleanup}} \index{mtprng\-Cleanup@{mtprng\-Cleanup}!mtprng.h@{mtprng.\-h}} \subsubsection[{mtprng\-Cleanup}]{\setlength{\rightskip}{0pt plus 5cm}int mtprng\-Cleanup ( \begin{DoxyParamCaption} \item[{{\bf mtprng\-Param} $\ast$}]{mp} \end{DoxyParamCaption} )}}\label{mtprng_8h_a9c709a818d9c14ef9eb1a6905ba8e229} \hypertarget{mtprng_8h_aff9f04e1ad262942feb3ca3d15ef6014}{\index{mtprng.\-h@{mtprng.\-h}!mtprng\-Next@{mtprng\-Next}} \index{mtprng\-Next@{mtprng\-Next}!mtprng.h@{mtprng.\-h}} \subsubsection[{mtprng\-Next}]{\setlength{\rightskip}{0pt plus 5cm}int mtprng\-Next ( \begin{DoxyParamCaption} \item[{{\bf mtprng\-Param} $\ast$}]{mp, } \item[{{\bf byte} $\ast$}]{data, } \item[{size\-\_\-t}]{size} \end{DoxyParamCaption} )}}\label{mtprng_8h_aff9f04e1ad262942feb3ca3d15ef6014} \hypertarget{mtprng_8h_a0ff59a5111ab0200f621fd7ce8072431}{\index{mtprng.\-h@{mtprng.\-h}!mtprng\-Seed@{mtprng\-Seed}} \index{mtprng\-Seed@{mtprng\-Seed}!mtprng.h@{mtprng.\-h}} \subsubsection[{mtprng\-Seed}]{\setlength{\rightskip}{0pt plus 5cm}int mtprng\-Seed ( \begin{DoxyParamCaption} \item[{{\bf mtprng\-Param} $\ast$}]{mp, } \item[{const {\bf byte} $\ast$}]{data, } \item[{size\-\_\-t}]{size} \end{DoxyParamCaption} )}}\label{mtprng_8h_a0ff59a5111ab0200f621fd7ce8072431} \hypertarget{mtprng_8h_abc42229f938343a9a249dadb941342d3}{\index{mtprng.\-h@{mtprng.\-h}!mtprng\-Setup@{mtprng\-Setup}} \index{mtprng\-Setup@{mtprng\-Setup}!mtprng.h@{mtprng.\-h}} \subsubsection[{mtprng\-Setup}]{\setlength{\rightskip}{0pt plus 5cm}int mtprng\-Setup ( \begin{DoxyParamCaption} \item[{{\bf mtprng\-Param} $\ast$}]{mp} \end{DoxyParamCaption} )}}\label{mtprng_8h_abc42229f938343a9a249dadb941342d3} \subsection{Variable Documentation} \hypertarget{mtprng_8h_ac6e2ab09b0510d3bf14fd2e0ff28c4d1}{\index{mtprng.\-h@{mtprng.\-h}!mtprng@{mtprng}} \index{mtprng@{mtprng}!mtprng.h@{mtprng.\-h}} \subsubsection[{mtprng}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf random\-Generator} mtprng}}\label{mtprng_8h_ac6e2ab09b0510d3bf14fd2e0ff28c4d1}