\hypertarget{structrsakp}{\section{rsakp Struct Reference} \label{structrsakp}\index{rsakp@{rsakp}} } R\-S\-A keypair. {\ttfamily \#include $<$rsakp.\-h$>$} Collaboration diagram for rsakp\-: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=264pt]{structrsakp__coll__graph} \end{center} \end{figure} \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \hyperlink{structrsakp_a125e34c0f6e5566ccfb91b7f64d763c4}{rsakp} () \item \hyperlink{structrsakp_a9e89588c9fddae15bcc06c1ea523f67b}{rsakp} (const \hyperlink{structrsakp}{rsakp} \&) \item \hyperlink{structrsakp_a19a2f701d58fd4546f81c2f89c2136ff}{$\sim$rsakp} () \end{DoxyCompactItemize} \subsection*{Data Fields} \begin{DoxyCompactItemize} \item \hyperlink{structmpbarrett}{mpbarrett} \hyperlink{structrsakp_adbc15b4210d17c77cc254fb6b1b27c11}{n} \begin{DoxyCompactList}\small\item\em The modulus. \end{DoxyCompactList}\item \hyperlink{structmpnumber}{mpnumber} \hyperlink{structrsakp_ab7ca6e4f3264e46ae514ccb604440567}{e} \begin{DoxyCompactList}\small\item\em The public exponent. \end{DoxyCompactList}\item \hyperlink{structmpnumber}{mpnumber} \hyperlink{structrsakp_a19d133f074c21ffd28a95ba1e5e74b61}{d} \begin{DoxyCompactList}\small\item\em The private exponent. \end{DoxyCompactList}\item \hyperlink{structmpbarrett}{mpbarrett} \hyperlink{structrsakp_adb3c0bb13f27ff87c07940bc1fc3b605}{p} \begin{DoxyCompactList}\small\item\em The first prime factor of the modulus. \end{DoxyCompactList}\item \hyperlink{structmpbarrett}{mpbarrett} \hyperlink{structrsakp_afd7877e66f5b03e87fc769d494d8bd8b}{q} \begin{DoxyCompactList}\small\item\em The second prime factor of the modulus. \end{DoxyCompactList}\item \hyperlink{structmpnumber}{mpnumber} \hyperlink{structrsakp_a5472e50eafbe0568429de42a93cca49d}{dp} \begin{DoxyCompactList}\small\item\em the first prime coefficient. $dp=d\ \textrm{mod}\ (p-1)$ \end{DoxyCompactList}\item \hyperlink{structmpnumber}{mpnumber} \hyperlink{structrsakp_a1c585943f9bf7c3500da5da6e753c317}{dq} \begin{DoxyCompactList}\small\item\em the second prime coefficient. $dq=d\ \textrm{mod}\ (q-1)$ \end{DoxyCompactList}\item \hyperlink{structmpnumber}{mpnumber} \hyperlink{structrsakp_a4ca9ef5c555e914582cdd560e8c5aca0}{qi} \begin{DoxyCompactList}\small\item\em the crt coefficient. $qi=q^{-1}\ \textrm{mod}\ p$ \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection{Detailed Description} R\-S\-A keypair. \subsection{Constructor \& Destructor Documentation} \hypertarget{structrsakp_a125e34c0f6e5566ccfb91b7f64d763c4}{\index{rsakp@{rsakp}!rsakp@{rsakp}} \index{rsakp@{rsakp}!rsakp@{rsakp}} \subsubsection[{rsakp}]{\setlength{\rightskip}{0pt plus 5cm}rsakp\-::rsakp ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )}}\label{structrsakp_a125e34c0f6e5566ccfb91b7f64d763c4} \hypertarget{structrsakp_a9e89588c9fddae15bcc06c1ea523f67b}{\index{rsakp@{rsakp}!rsakp@{rsakp}} \index{rsakp@{rsakp}!rsakp@{rsakp}} \subsubsection[{rsakp}]{\setlength{\rightskip}{0pt plus 5cm}rsakp\-::rsakp ( \begin{DoxyParamCaption} \item[{const {\bf rsakp} \&}]{} \end{DoxyParamCaption} )}}\label{structrsakp_a9e89588c9fddae15bcc06c1ea523f67b} \hypertarget{structrsakp_a19a2f701d58fd4546f81c2f89c2136ff}{\index{rsakp@{rsakp}!$\sim$rsakp@{$\sim$rsakp}} \index{$\sim$rsakp@{$\sim$rsakp}!rsakp@{rsakp}} \subsubsection[{$\sim$rsakp}]{\setlength{\rightskip}{0pt plus 5cm}rsakp\-::$\sim$rsakp ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )}}\label{structrsakp_a19a2f701d58fd4546f81c2f89c2136ff} \subsection{Field Documentation} \hypertarget{structrsakp_a19d133f074c21ffd28a95ba1e5e74b61}{\index{rsakp@{rsakp}!d@{d}} \index{d@{d}!rsakp@{rsakp}} \subsubsection[{d}]{\setlength{\rightskip}{0pt plus 5cm}rsakp\-::d}}\label{structrsakp_a19d133f074c21ffd28a95ba1e5e74b61} The private exponent. \hypertarget{structrsakp_a5472e50eafbe0568429de42a93cca49d}{\index{rsakp@{rsakp}!dp@{dp}} \index{dp@{dp}!rsakp@{rsakp}} \subsubsection[{dp}]{\setlength{\rightskip}{0pt plus 5cm}rsakp\-::dp}}\label{structrsakp_a5472e50eafbe0568429de42a93cca49d} the first prime coefficient. $dp=d\ \textrm{mod}\ (p-1)$ \hypertarget{structrsakp_a1c585943f9bf7c3500da5da6e753c317}{\index{rsakp@{rsakp}!dq@{dq}} \index{dq@{dq}!rsakp@{rsakp}} \subsubsection[{dq}]{\setlength{\rightskip}{0pt plus 5cm}rsakp\-::dq}}\label{structrsakp_a1c585943f9bf7c3500da5da6e753c317} the second prime coefficient. $dq=d\ \textrm{mod}\ (q-1)$ \hypertarget{structrsakp_ab7ca6e4f3264e46ae514ccb604440567}{\index{rsakp@{rsakp}!e@{e}} \index{e@{e}!rsakp@{rsakp}} \subsubsection[{e}]{\setlength{\rightskip}{0pt plus 5cm}rsakp\-::e}}\label{structrsakp_ab7ca6e4f3264e46ae514ccb604440567} The public exponent. \hypertarget{structrsakp_adbc15b4210d17c77cc254fb6b1b27c11}{\index{rsakp@{rsakp}!n@{n}} \index{n@{n}!rsakp@{rsakp}} \subsubsection[{n}]{\setlength{\rightskip}{0pt plus 5cm}rsakp\-::n}}\label{structrsakp_adbc15b4210d17c77cc254fb6b1b27c11} The modulus. $n=pq$ \hypertarget{structrsakp_adb3c0bb13f27ff87c07940bc1fc3b605}{\index{rsakp@{rsakp}!p@{p}} \index{p@{p}!rsakp@{rsakp}} \subsubsection[{p}]{\setlength{\rightskip}{0pt plus 5cm}rsakp\-::p}}\label{structrsakp_adb3c0bb13f27ff87c07940bc1fc3b605} The first prime factor of the modulus. \hypertarget{structrsakp_afd7877e66f5b03e87fc769d494d8bd8b}{\index{rsakp@{rsakp}!q@{q}} \index{q@{q}!rsakp@{rsakp}} \subsubsection[{q}]{\setlength{\rightskip}{0pt plus 5cm}rsakp\-::q}}\label{structrsakp_afd7877e66f5b03e87fc769d494d8bd8b} The second prime factor of the modulus. \hypertarget{structrsakp_a4ca9ef5c555e914582cdd560e8c5aca0}{\index{rsakp@{rsakp}!qi@{qi}} \index{qi@{qi}!rsakp@{rsakp}} \subsubsection[{qi}]{\setlength{\rightskip}{0pt plus 5cm}rsakp\-::qi}}\label{structrsakp_a4ca9ef5c555e914582cdd560e8c5aca0} the crt coefficient. $qi=q^{-1}\ \textrm{mod}\ p$ The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize} \item include/beecrypt/\hyperlink{rsakp_8h}{rsakp.\-h}\end{DoxyCompactItemize}