Sophie

Sophie

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

libbeecrypt-devel-4.2.1-6.mga1.i586.rpm

\hypertarget{dldp_8h}{
\section{include/beecrypt/dldp.h File Reference}
\label{dldp_8h}\index{include/beecrypt/dldp.h@{include/beecrypt/dldp.h}}
}


Discrete Logarithm domain parameters, headers.  


{\ttfamily \#include \char`\"{}beecrypt/mpbarrett.h\char`\"{}}\par
Include dependency graph for dldp.h:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=196pt]{dldp_8h__incl}
\end{center}
\end{figure}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structdldp__p}{dldp\_\-p}
\begin{DoxyCompactList}\small\item\em Discrete Logarithm Domain Parameters over a prime field. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{dldp_8h_a370b4cb101375cf9ddc12d5f03fa8117}{dldp\_\-pInit} (\hyperlink{structdldp__p}{dldp\_\-p} $\ast$)
\item 
int \hyperlink{dldp_8h_a015e2c66fc42c4f5ade233b3bf225ce3}{dldp\_\-pFree} (\hyperlink{structdldp__p}{dldp\_\-p} $\ast$)
\item 
int \hyperlink{dldp_8h_a5fdd1c1a8f2232f5e1b7db8b68fa0b2a}{dldp\_\-pCopy} (\hyperlink{structdldp__p}{dldp\_\-p} $\ast$, const \hyperlink{structdldp__p}{dldp\_\-p} $\ast$)
\item 
int \hyperlink{dldp_8h_a3a3dfa79f5775cf9cb21c53749c98e5f}{dldp\_\-pPrivate} (const \hyperlink{structdldp__p}{dldp\_\-p} $\ast$, \hyperlink{structrandomGeneratorContext}{randomGeneratorContext} $\ast$, \hyperlink{structmpnumber}{mpnumber} $\ast$)
\item 
int \hyperlink{dldp_8h_abf3a3b417f49959fc08aa74bd619a7da}{dldp\_\-pPrivate\_\-s} (const \hyperlink{structdldp__p}{dldp\_\-p} $\ast$, \hyperlink{structrandomGeneratorContext}{randomGeneratorContext} $\ast$, \hyperlink{structmpnumber}{mpnumber} $\ast$, size\_\-t)
\item 
int \hyperlink{dldp_8h_af375a17e0d23dbbb97417a40c8341423}{dldp\_\-pPublic} (const \hyperlink{structdldp__p}{dldp\_\-p} $\ast$, const \hyperlink{structmpnumber}{mpnumber} $\ast$, \hyperlink{structmpnumber}{mpnumber} $\ast$)
\item 
int \hyperlink{dldp_8h_a30729037aed67858f5a262a4ad580030}{dldp\_\-pPair} (const \hyperlink{structdldp__p}{dldp\_\-p} $\ast$, \hyperlink{structrandomGeneratorContext}{randomGeneratorContext} $\ast$, \hyperlink{structmpnumber}{mpnumber} $\ast$x, \hyperlink{structmpnumber}{mpnumber} $\ast$y)
\item 
int \hyperlink{dldp_8h_a9564264e664580fb650cc368ad6c28a1}{dldp\_\-pPair\_\-s} (const \hyperlink{structdldp__p}{dldp\_\-p} $\ast$, \hyperlink{structrandomGeneratorContext}{randomGeneratorContext} $\ast$, \hyperlink{structmpnumber}{mpnumber} $\ast$x, \hyperlink{structmpnumber}{mpnumber} $\ast$y, size\_\-t)
\item 
int \hyperlink{dldp_8h_ae750cb3291d690ad8937ddd240d2756b}{dldp\_\-pEqual} (const \hyperlink{structdldp__p}{dldp\_\-p} $\ast$, const \hyperlink{structdldp__p}{dldp\_\-p} $\ast$)
\item 
int \hyperlink{dldp_8h_a3780524c2167b0fad7388af3f92ade7f}{dldp\_\-pgoqMake} (\hyperlink{structdldp__p}{dldp\_\-p} $\ast$, \hyperlink{structrandomGeneratorContext}{randomGeneratorContext} $\ast$, size\_\-t, size\_\-t, int)
\item 
int \hyperlink{dldp_8h_ac844b51530e2f21ff57b8e2fa4027ec8}{dldp\_\-pgoqMakeSafe} (\hyperlink{structdldp__p}{dldp\_\-p} $\ast$, \hyperlink{structrandomGeneratorContext}{randomGeneratorContext} $\ast$, size\_\-t)
\item 
int \hyperlink{dldp_8h_a047044237de8e5bd20076cca7e773847}{dldp\_\-pgoqGenerator} (\hyperlink{structdldp__p}{dldp\_\-p} $\ast$, \hyperlink{structrandomGeneratorContext}{randomGeneratorContext} $\ast$)
\item 
int \hyperlink{dldp_8h_a66900209941a3082c41311be2c49dcf6}{dldp\_\-pgoqValidate} (const \hyperlink{structdldp__p}{dldp\_\-p} $\ast$, \hyperlink{structrandomGeneratorContext}{randomGeneratorContext} $\ast$, int)
\item 
int \hyperlink{dldp_8h_a2915ddec2f6ef94e2aaa00a06cd15389}{dldp\_\-pgonMake} (\hyperlink{structdldp__p}{dldp\_\-p} $\ast$, \hyperlink{structrandomGeneratorContext}{randomGeneratorContext} $\ast$, size\_\-t, size\_\-t)
\item 
int \hyperlink{dldp_8h_a0ea5a5bba6b5cc123f70040fac2f5db8}{dldp\_\-pgonMakeSafe} (\hyperlink{structdldp__p}{dldp\_\-p} $\ast$, \hyperlink{structrandomGeneratorContext}{randomGeneratorContext} $\ast$, size\_\-t)
\item 
int \hyperlink{dldp_8h_ac7579974c014a92101a24aaa9b61df03}{dldp\_\-pgonGenerator} (\hyperlink{structdldp__p}{dldp\_\-p} $\ast$, \hyperlink{structrandomGeneratorContext}{randomGeneratorContext} $\ast$)
\item 
int \hyperlink{dldp_8h_af5eef8de7d1725a72684cd6500b17f90}{dldp\_\-pgonValidate} (const \hyperlink{structdldp__p}{dldp\_\-p} $\ast$, \hyperlink{structrandomGeneratorContext}{randomGeneratorContext} $\ast$)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Discrete Logarithm domain parameters, headers. \begin{DoxyAuthor}{Author}
Bob Deblier $<$\href{mailto:bob.deblier@telenet.be}{\tt bob.deblier@telenet.be}$>$ 
\end{DoxyAuthor}


\subsection{Function Documentation}
\hypertarget{dldp_8h_a5fdd1c1a8f2232f5e1b7db8b68fa0b2a}{
\index{dldp.h@{dldp.h}!dldp\_\-pCopy@{dldp\_\-pCopy}}
\index{dldp\_\-pCopy@{dldp\_\-pCopy}!dldp.h@{dldp.h}}
\subsubsection[{dldp\_\-pCopy}]{\setlength{\rightskip}{0pt plus 5cm}int dldp\_\-pCopy (
\begin{DoxyParamCaption}
\item[{{\bf dldp\_\-p} $\ast$}]{, }
\item[{const {\bf dldp\_\-p} $\ast$}]{}
\end{DoxyParamCaption}
)}}
\label{dldp_8h_a5fdd1c1a8f2232f5e1b7db8b68fa0b2a}
\hypertarget{dldp_8h_ae750cb3291d690ad8937ddd240d2756b}{
\index{dldp.h@{dldp.h}!dldp\_\-pEqual@{dldp\_\-pEqual}}
\index{dldp\_\-pEqual@{dldp\_\-pEqual}!dldp.h@{dldp.h}}
\subsubsection[{dldp\_\-pEqual}]{\setlength{\rightskip}{0pt plus 5cm}int dldp\_\-pEqual (
\begin{DoxyParamCaption}
\item[{const {\bf dldp\_\-p} $\ast$}]{, }
\item[{const {\bf dldp\_\-p} $\ast$}]{}
\end{DoxyParamCaption}
)}}
\label{dldp_8h_ae750cb3291d690ad8937ddd240d2756b}
\hypertarget{dldp_8h_a015e2c66fc42c4f5ade233b3bf225ce3}{
\index{dldp.h@{dldp.h}!dldp\_\-pFree@{dldp\_\-pFree}}
\index{dldp\_\-pFree@{dldp\_\-pFree}!dldp.h@{dldp.h}}
\subsubsection[{dldp\_\-pFree}]{\setlength{\rightskip}{0pt plus 5cm}int dldp\_\-pFree (
\begin{DoxyParamCaption}
\item[{{\bf dldp\_\-p} $\ast$}]{}
\end{DoxyParamCaption}
)}}
\label{dldp_8h_a015e2c66fc42c4f5ade233b3bf225ce3}
\hypertarget{dldp_8h_ac7579974c014a92101a24aaa9b61df03}{
\index{dldp.h@{dldp.h}!dldp\_\-pgonGenerator@{dldp\_\-pgonGenerator}}
\index{dldp\_\-pgonGenerator@{dldp\_\-pgonGenerator}!dldp.h@{dldp.h}}
\subsubsection[{dldp\_\-pgonGenerator}]{\setlength{\rightskip}{0pt plus 5cm}int dldp\_\-pgonGenerator (
\begin{DoxyParamCaption}
\item[{{\bf dldp\_\-p} $\ast$}]{, }
\item[{{\bf randomGeneratorContext} $\ast$}]{}
\end{DoxyParamCaption}
)}}
\label{dldp_8h_ac7579974c014a92101a24aaa9b61df03}
\hypertarget{dldp_8h_a2915ddec2f6ef94e2aaa00a06cd15389}{
\index{dldp.h@{dldp.h}!dldp\_\-pgonMake@{dldp\_\-pgonMake}}
\index{dldp\_\-pgonMake@{dldp\_\-pgonMake}!dldp.h@{dldp.h}}
\subsubsection[{dldp\_\-pgonMake}]{\setlength{\rightskip}{0pt plus 5cm}int dldp\_\-pgonMake (
\begin{DoxyParamCaption}
\item[{{\bf dldp\_\-p} $\ast$}]{, }
\item[{{\bf randomGeneratorContext} $\ast$}]{, }
\item[{size\_\-t}]{, }
\item[{size\_\-t}]{}
\end{DoxyParamCaption}
)}}
\label{dldp_8h_a2915ddec2f6ef94e2aaa00a06cd15389}
\hypertarget{dldp_8h_a0ea5a5bba6b5cc123f70040fac2f5db8}{
\index{dldp.h@{dldp.h}!dldp\_\-pgonMakeSafe@{dldp\_\-pgonMakeSafe}}
\index{dldp\_\-pgonMakeSafe@{dldp\_\-pgonMakeSafe}!dldp.h@{dldp.h}}
\subsubsection[{dldp\_\-pgonMakeSafe}]{\setlength{\rightskip}{0pt plus 5cm}int dldp\_\-pgonMakeSafe (
\begin{DoxyParamCaption}
\item[{{\bf dldp\_\-p} $\ast$}]{, }
\item[{{\bf randomGeneratorContext} $\ast$}]{, }
\item[{size\_\-t}]{}
\end{DoxyParamCaption}
)}}
\label{dldp_8h_a0ea5a5bba6b5cc123f70040fac2f5db8}
\hypertarget{dldp_8h_af5eef8de7d1725a72684cd6500b17f90}{
\index{dldp.h@{dldp.h}!dldp\_\-pgonValidate@{dldp\_\-pgonValidate}}
\index{dldp\_\-pgonValidate@{dldp\_\-pgonValidate}!dldp.h@{dldp.h}}
\subsubsection[{dldp\_\-pgonValidate}]{\setlength{\rightskip}{0pt plus 5cm}int dldp\_\-pgonValidate (
\begin{DoxyParamCaption}
\item[{const {\bf dldp\_\-p} $\ast$}]{, }
\item[{{\bf randomGeneratorContext} $\ast$}]{}
\end{DoxyParamCaption}
)}}
\label{dldp_8h_af5eef8de7d1725a72684cd6500b17f90}
\hypertarget{dldp_8h_a047044237de8e5bd20076cca7e773847}{
\index{dldp.h@{dldp.h}!dldp\_\-pgoqGenerator@{dldp\_\-pgoqGenerator}}
\index{dldp\_\-pgoqGenerator@{dldp\_\-pgoqGenerator}!dldp.h@{dldp.h}}
\subsubsection[{dldp\_\-pgoqGenerator}]{\setlength{\rightskip}{0pt plus 5cm}int dldp\_\-pgoqGenerator (
\begin{DoxyParamCaption}
\item[{{\bf dldp\_\-p} $\ast$}]{, }
\item[{{\bf randomGeneratorContext} $\ast$}]{}
\end{DoxyParamCaption}
)}}
\label{dldp_8h_a047044237de8e5bd20076cca7e773847}
\hypertarget{dldp_8h_a3780524c2167b0fad7388af3f92ade7f}{
\index{dldp.h@{dldp.h}!dldp\_\-pgoqMake@{dldp\_\-pgoqMake}}
\index{dldp\_\-pgoqMake@{dldp\_\-pgoqMake}!dldp.h@{dldp.h}}
\subsubsection[{dldp\_\-pgoqMake}]{\setlength{\rightskip}{0pt plus 5cm}int dldp\_\-pgoqMake (
\begin{DoxyParamCaption}
\item[{{\bf dldp\_\-p} $\ast$}]{, }
\item[{{\bf randomGeneratorContext} $\ast$}]{, }
\item[{size\_\-t}]{, }
\item[{size\_\-t}]{, }
\item[{int}]{}
\end{DoxyParamCaption}
)}}
\label{dldp_8h_a3780524c2167b0fad7388af3f92ade7f}
\hypertarget{dldp_8h_ac844b51530e2f21ff57b8e2fa4027ec8}{
\index{dldp.h@{dldp.h}!dldp\_\-pgoqMakeSafe@{dldp\_\-pgoqMakeSafe}}
\index{dldp\_\-pgoqMakeSafe@{dldp\_\-pgoqMakeSafe}!dldp.h@{dldp.h}}
\subsubsection[{dldp\_\-pgoqMakeSafe}]{\setlength{\rightskip}{0pt plus 5cm}int dldp\_\-pgoqMakeSafe (
\begin{DoxyParamCaption}
\item[{{\bf dldp\_\-p} $\ast$}]{, }
\item[{{\bf randomGeneratorContext} $\ast$}]{, }
\item[{size\_\-t}]{}
\end{DoxyParamCaption}
)}}
\label{dldp_8h_ac844b51530e2f21ff57b8e2fa4027ec8}
\hypertarget{dldp_8h_a66900209941a3082c41311be2c49dcf6}{
\index{dldp.h@{dldp.h}!dldp\_\-pgoqValidate@{dldp\_\-pgoqValidate}}
\index{dldp\_\-pgoqValidate@{dldp\_\-pgoqValidate}!dldp.h@{dldp.h}}
\subsubsection[{dldp\_\-pgoqValidate}]{\setlength{\rightskip}{0pt plus 5cm}int dldp\_\-pgoqValidate (
\begin{DoxyParamCaption}
\item[{const {\bf dldp\_\-p} $\ast$}]{, }
\item[{{\bf randomGeneratorContext} $\ast$}]{, }
\item[{int}]{}
\end{DoxyParamCaption}
)}}
\label{dldp_8h_a66900209941a3082c41311be2c49dcf6}
\hypertarget{dldp_8h_a370b4cb101375cf9ddc12d5f03fa8117}{
\index{dldp.h@{dldp.h}!dldp\_\-pInit@{dldp\_\-pInit}}
\index{dldp\_\-pInit@{dldp\_\-pInit}!dldp.h@{dldp.h}}
\subsubsection[{dldp\_\-pInit}]{\setlength{\rightskip}{0pt plus 5cm}int dldp\_\-pInit (
\begin{DoxyParamCaption}
\item[{{\bf dldp\_\-p} $\ast$}]{}
\end{DoxyParamCaption}
)}}
\label{dldp_8h_a370b4cb101375cf9ddc12d5f03fa8117}
\hypertarget{dldp_8h_a30729037aed67858f5a262a4ad580030}{
\index{dldp.h@{dldp.h}!dldp\_\-pPair@{dldp\_\-pPair}}
\index{dldp\_\-pPair@{dldp\_\-pPair}!dldp.h@{dldp.h}}
\subsubsection[{dldp\_\-pPair}]{\setlength{\rightskip}{0pt plus 5cm}int dldp\_\-pPair (
\begin{DoxyParamCaption}
\item[{const {\bf dldp\_\-p} $\ast$}]{, }
\item[{{\bf randomGeneratorContext} $\ast$}]{, }
\item[{{\bf mpnumber} $\ast$}]{x, }
\item[{{\bf mpnumber} $\ast$}]{y}
\end{DoxyParamCaption}
)}}
\label{dldp_8h_a30729037aed67858f5a262a4ad580030}
\hypertarget{dldp_8h_a9564264e664580fb650cc368ad6c28a1}{
\index{dldp.h@{dldp.h}!dldp\_\-pPair\_\-s@{dldp\_\-pPair\_\-s}}
\index{dldp\_\-pPair\_\-s@{dldp\_\-pPair\_\-s}!dldp.h@{dldp.h}}
\subsubsection[{dldp\_\-pPair\_\-s}]{\setlength{\rightskip}{0pt plus 5cm}int dldp\_\-pPair\_\-s (
\begin{DoxyParamCaption}
\item[{const {\bf dldp\_\-p} $\ast$}]{, }
\item[{{\bf randomGeneratorContext} $\ast$}]{, }
\item[{{\bf mpnumber} $\ast$}]{x, }
\item[{{\bf mpnumber} $\ast$}]{y, }
\item[{size\_\-t}]{}
\end{DoxyParamCaption}
)}}
\label{dldp_8h_a9564264e664580fb650cc368ad6c28a1}
\hypertarget{dldp_8h_a3a3dfa79f5775cf9cb21c53749c98e5f}{
\index{dldp.h@{dldp.h}!dldp\_\-pPrivate@{dldp\_\-pPrivate}}
\index{dldp\_\-pPrivate@{dldp\_\-pPrivate}!dldp.h@{dldp.h}}
\subsubsection[{dldp\_\-pPrivate}]{\setlength{\rightskip}{0pt plus 5cm}int dldp\_\-pPrivate (
\begin{DoxyParamCaption}
\item[{const {\bf dldp\_\-p} $\ast$}]{, }
\item[{{\bf randomGeneratorContext} $\ast$}]{, }
\item[{{\bf mpnumber} $\ast$}]{}
\end{DoxyParamCaption}
)}}
\label{dldp_8h_a3a3dfa79f5775cf9cb21c53749c98e5f}
\hypertarget{dldp_8h_abf3a3b417f49959fc08aa74bd619a7da}{
\index{dldp.h@{dldp.h}!dldp\_\-pPrivate\_\-s@{dldp\_\-pPrivate\_\-s}}
\index{dldp\_\-pPrivate\_\-s@{dldp\_\-pPrivate\_\-s}!dldp.h@{dldp.h}}
\subsubsection[{dldp\_\-pPrivate\_\-s}]{\setlength{\rightskip}{0pt plus 5cm}int dldp\_\-pPrivate\_\-s (
\begin{DoxyParamCaption}
\item[{const {\bf dldp\_\-p} $\ast$}]{, }
\item[{{\bf randomGeneratorContext} $\ast$}]{, }
\item[{{\bf mpnumber} $\ast$}]{, }
\item[{size\_\-t}]{}
\end{DoxyParamCaption}
)}}
\label{dldp_8h_abf3a3b417f49959fc08aa74bd619a7da}
\hypertarget{dldp_8h_af375a17e0d23dbbb97417a40c8341423}{
\index{dldp.h@{dldp.h}!dldp\_\-pPublic@{dldp\_\-pPublic}}
\index{dldp\_\-pPublic@{dldp\_\-pPublic}!dldp.h@{dldp.h}}
\subsubsection[{dldp\_\-pPublic}]{\setlength{\rightskip}{0pt plus 5cm}int dldp\_\-pPublic (
\begin{DoxyParamCaption}
\item[{const {\bf dldp\_\-p} $\ast$}]{, }
\item[{const {\bf mpnumber} $\ast$}]{, }
\item[{{\bf mpnumber} $\ast$}]{}
\end{DoxyParamCaption}
)}}
\label{dldp_8h_af375a17e0d23dbbb97417a40c8341423}