Sophie

Sophie

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

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

\hypertarget{structdldp__p}{\section{dldp\-\_\-p Struct Reference}
\label{structdldp__p}\index{dldp\-\_\-p@{dldp\-\_\-p}}
}


Discrete Logarithm Domain Parameters over a prime field.  




{\ttfamily \#include $<$dldp.\-h$>$}



Collaboration diagram for dldp\-\_\-p\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=264pt]{structdldp__p__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structdldp__p_a97d96ed8078646594a94bfe7bc5d8bd4}{dldp\-\_\-p} ()
\item 
\hyperlink{structdldp__p_a0ade763f84f565c73a4b13b501d3c100}{dldp\-\_\-p} (const \hyperlink{structdldp__p}{dldp\-\_\-p} \&)
\item 
\hyperlink{structdldp__p_ac6f0d0c6832a2d7cf1ea539ca7cbb3a0}{$\sim$dldp\-\_\-p} ()
\end{DoxyCompactItemize}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structmpbarrett}{mpbarrett} \hyperlink{structdldp__p_a0b22119026036065c321efd6749060a8}{p}
\begin{DoxyCompactList}\small\item\em The prime. \end{DoxyCompactList}\item 
\hyperlink{structmpbarrett}{mpbarrett} \hyperlink{structdldp__p_a23989b1857b354b90f5300d083141914}{q}
\begin{DoxyCompactList}\small\item\em The cofactor. \end{DoxyCompactList}\item 
\hyperlink{structmpnumber}{mpnumber} \hyperlink{structdldp__p_a56fc6c3283f7eb1ab1ffd3864a278ab7}{r}
\item 
\hyperlink{structmpnumber}{mpnumber} \hyperlink{structdldp__p_a6336ee138a97160378b5c0385aa82482}{g}
\begin{DoxyCompactList}\small\item\em The generator. \end{DoxyCompactList}\item 
\hyperlink{structmpbarrett}{mpbarrett} \hyperlink{structdldp__p_a48b80339b040dc326b29bb7b69ca5cfb}{n}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Discrete Logarithm Domain Parameters over a prime field. 

For the variables in this structure $p=qr+1$; if $p=2q+1$ then $r=2$. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{structdldp__p_a97d96ed8078646594a94bfe7bc5d8bd4}{\index{dldp\-\_\-p@{dldp\-\_\-p}!dldp\-\_\-p@{dldp\-\_\-p}}
\index{dldp\-\_\-p@{dldp\-\_\-p}!dldp_p@{dldp\-\_\-p}}
\subsubsection[{dldp\-\_\-p}]{\setlength{\rightskip}{0pt plus 5cm}dldp\-\_\-p\-::dldp\-\_\-p (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{structdldp__p_a97d96ed8078646594a94bfe7bc5d8bd4}
\hypertarget{structdldp__p_a0ade763f84f565c73a4b13b501d3c100}{\index{dldp\-\_\-p@{dldp\-\_\-p}!dldp\-\_\-p@{dldp\-\_\-p}}
\index{dldp\-\_\-p@{dldp\-\_\-p}!dldp_p@{dldp\-\_\-p}}
\subsubsection[{dldp\-\_\-p}]{\setlength{\rightskip}{0pt plus 5cm}dldp\-\_\-p\-::dldp\-\_\-p (
\begin{DoxyParamCaption}
\item[{const {\bf dldp\-\_\-p} \&}]{}
\end{DoxyParamCaption}
)}}\label{structdldp__p_a0ade763f84f565c73a4b13b501d3c100}
\hypertarget{structdldp__p_ac6f0d0c6832a2d7cf1ea539ca7cbb3a0}{\index{dldp\-\_\-p@{dldp\-\_\-p}!$\sim$dldp\-\_\-p@{$\sim$dldp\-\_\-p}}
\index{$\sim$dldp\-\_\-p@{$\sim$dldp\-\_\-p}!dldp_p@{dldp\-\_\-p}}
\subsubsection[{$\sim$dldp\-\_\-p}]{\setlength{\rightskip}{0pt plus 5cm}dldp\-\_\-p\-::$\sim$dldp\-\_\-p (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{structdldp__p_ac6f0d0c6832a2d7cf1ea539ca7cbb3a0}


\subsection{Field Documentation}
\hypertarget{structdldp__p_a6336ee138a97160378b5c0385aa82482}{\index{dldp\-\_\-p@{dldp\-\_\-p}!g@{g}}
\index{g@{g}!dldp_p@{dldp\-\_\-p}}
\subsubsection[{g}]{\setlength{\rightskip}{0pt plus 5cm}dldp\-\_\-p\-::g}}\label{structdldp__p_a6336ee138a97160378b5c0385aa82482}


The generator. 

$g$ is either a generator of $\mathds{Z}^{*}_p$, or a generator of a cyclic subgroup $G$ of $\mathds{Z}^{*}_p$ of order $q$. \hypertarget{structdldp__p_a48b80339b040dc326b29bb7b69ca5cfb}{\index{dldp\-\_\-p@{dldp\-\_\-p}!n@{n}}
\index{n@{n}!dldp_p@{dldp\-\_\-p}}
\subsubsection[{n}]{\setlength{\rightskip}{0pt plus 5cm}dldp\-\_\-p\-::n}}\label{structdldp__p_a48b80339b040dc326b29bb7b69ca5cfb}
$n=p-1=qr$ \hypertarget{structdldp__p_a0b22119026036065c321efd6749060a8}{\index{dldp\-\_\-p@{dldp\-\_\-p}!p@{p}}
\index{p@{p}!dldp_p@{dldp\-\_\-p}}
\subsubsection[{p}]{\setlength{\rightskip}{0pt plus 5cm}dldp\-\_\-p\-::p}}\label{structdldp__p_a0b22119026036065c321efd6749060a8}


The prime. 

\hypertarget{structdldp__p_a23989b1857b354b90f5300d083141914}{\index{dldp\-\_\-p@{dldp\-\_\-p}!q@{q}}
\index{q@{q}!dldp_p@{dldp\-\_\-p}}
\subsubsection[{q}]{\setlength{\rightskip}{0pt plus 5cm}dldp\-\_\-p\-::q}}\label{structdldp__p_a23989b1857b354b90f5300d083141914}


The cofactor. 

$q$ is a prime divisor of $p-1$. \hypertarget{structdldp__p_a56fc6c3283f7eb1ab1ffd3864a278ab7}{\index{dldp\-\_\-p@{dldp\-\_\-p}!r@{r}}
\index{r@{r}!dldp_p@{dldp\-\_\-p}}
\subsubsection[{r}]{\setlength{\rightskip}{0pt plus 5cm}dldp\-\_\-p\-::r}}\label{structdldp__p_a56fc6c3283f7eb1ab1ffd3864a278ab7}
$p=qr+1$ 

The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
include/beecrypt/\hyperlink{dldp_8h}{dldp.\-h}\end{DoxyCompactItemize}