Sophie

Sophie

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

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

\hypertarget{structblockCipher}{\section{block\-Cipher Struct Reference}
\label{structblockCipher}\index{block\-Cipher@{block\-Cipher}}
}


Holds information and pointers to code specific to each cipher.  




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



Collaboration diagram for block\-Cipher\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=279pt]{structblockCipher__coll__graph}
\end{center}
\end{figure}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
const char $\ast$ \hyperlink{structblockCipher_a6c9f539d9632b00c9b98228539254833}{name}
\begin{DoxyCompactList}\small\item\em The blockcipher's name. \end{DoxyCompactList}\item 
const size\-\_\-t \hyperlink{structblockCipher_ae9acc23b1b4742e15acf95c44675fe42}{paramsize}
\begin{DoxyCompactList}\small\item\em The size of the parameters required by this cipher, in bytes. \end{DoxyCompactList}\item 
const size\-\_\-t \hyperlink{structblockCipher_a8d6c03e6f997f3ad8e8a5e2b315ca805}{blocksize}
\begin{DoxyCompactList}\small\item\em The size of one block of data, in bytes. \end{DoxyCompactList}\item 
const size\-\_\-t \hyperlink{structblockCipher_a3500d157e1433ee5cbf9e9dfbe7b10f1}{keybitsmin}
\begin{DoxyCompactList}\small\item\em The minimum number of key bits. \end{DoxyCompactList}\item 
const size\-\_\-t \hyperlink{structblockCipher_ad42cb478c58af64dd55ba34bea672aea}{keybitsmax}
\begin{DoxyCompactList}\small\item\em The maximum number of key bits. \end{DoxyCompactList}\item 
const size\-\_\-t \hyperlink{structblockCipher_ad4251f30dce3bb56c6d6d4af5effce21}{keybitsinc}
\begin{DoxyCompactList}\small\item\em The allowed increment in key bits between min and max. \end{DoxyCompactList}\item 
const \hyperlink{group__BC__m_ga4bb0a804ab2c38ac56120f1cd35600b3}{block\-Cipher\-Setup} \hyperlink{structblockCipher_a103ff53ae70c8b181770b5605d23ab80}{setup}
\begin{DoxyCompactList}\small\item\em Pointer to the cipher's setup function. \end{DoxyCompactList}\item 
const \hyperlink{group__BC__m_ga40aeffa20f977393fbf10378ef466c25}{block\-Cipher\-Set\-I\-V} \hyperlink{structblockCipher_aada7de9cfffbc798465d99a63b4981c6}{setiv}
\begin{DoxyCompactList}\small\item\em Pointer to the cipher's initialization vector setup function. \end{DoxyCompactList}\item 
const \hyperlink{group__BC__m_gae6164c8a42013a0b3aadba1bccd416af}{block\-Cipher\-Set\-C\-T\-R} \hyperlink{structblockCipher_aedabefbac9018470145c344b463669de}{setctr}
\begin{DoxyCompactList}\small\item\em Pointer to the cipher's ctr setup function. \end{DoxyCompactList}\item 
const \hyperlink{beecrypt_8h_a94e1fe0182e49b4fb388d08c93fc1a2c}{block\-Cipher\-Feedback} \hyperlink{structblockCipher_acd180c9ad40ef38241a66607ecdb19c7}{getfb}
\begin{DoxyCompactList}\small\item\em Pointer to the cipher's feedback-\/returning function. \end{DoxyCompactList}\item 
const \hyperlink{structblockCipherRaw}{block\-Cipher\-Raw} \hyperlink{structblockCipher_a66034965bc9ae136e6dc224c10b84e71}{raw}
\begin{DoxyCompactList}\small\item\em The cipher's raw functions. \end{DoxyCompactList}\item 
const \hyperlink{structblockCipherMode}{block\-Cipher\-Mode} \hyperlink{structblockCipher_ac1f9c47f7b594006a4d66955dc81bfd9}{ecb}
\begin{DoxyCompactList}\small\item\em The cipher's E\-C\-B functions. \end{DoxyCompactList}\item 
const \hyperlink{structblockCipherMode}{block\-Cipher\-Mode} \hyperlink{structblockCipher_a6fdc2e832bdc281af527640ddb2cb639}{cbc}
\begin{DoxyCompactList}\small\item\em The cipher's C\-B\-C functions. \end{DoxyCompactList}\item 
const \hyperlink{structblockCipherMode}{block\-Cipher\-Mode} \hyperlink{structblockCipher_a26c65493883b6ae3437d31c5ce433245}{ctr}
\begin{DoxyCompactList}\small\item\em The cipher's C\-T\-R functions. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Holds information and pointers to code specific to each cipher. 

Specific block ciphers {\itshape may} be written to be multithread-\/safe. 

\subsection{Field Documentation}
\hypertarget{structblockCipher_a8d6c03e6f997f3ad8e8a5e2b315ca805}{\index{block\-Cipher@{block\-Cipher}!blocksize@{blocksize}}
\index{blocksize@{blocksize}!blockCipher@{block\-Cipher}}
\subsubsection[{blocksize}]{\setlength{\rightskip}{0pt plus 5cm}block\-Cipher\-::blocksize}}\label{structblockCipher_a8d6c03e6f997f3ad8e8a5e2b315ca805}


The size of one block of data, in bytes. 

\hypertarget{structblockCipher_a6fdc2e832bdc281af527640ddb2cb639}{\index{block\-Cipher@{block\-Cipher}!cbc@{cbc}}
\index{cbc@{cbc}!blockCipher@{block\-Cipher}}
\subsubsection[{cbc}]{\setlength{\rightskip}{0pt plus 5cm}block\-Cipher\-::cbc}}\label{structblockCipher_a6fdc2e832bdc281af527640ddb2cb639}


The cipher's C\-B\-C functions. 

\hypertarget{structblockCipher_a26c65493883b6ae3437d31c5ce433245}{\index{block\-Cipher@{block\-Cipher}!ctr@{ctr}}
\index{ctr@{ctr}!blockCipher@{block\-Cipher}}
\subsubsection[{ctr}]{\setlength{\rightskip}{0pt plus 5cm}block\-Cipher\-::ctr}}\label{structblockCipher_a26c65493883b6ae3437d31c5ce433245}


The cipher's C\-T\-R functions. 

\hypertarget{structblockCipher_ac1f9c47f7b594006a4d66955dc81bfd9}{\index{block\-Cipher@{block\-Cipher}!ecb@{ecb}}
\index{ecb@{ecb}!blockCipher@{block\-Cipher}}
\subsubsection[{ecb}]{\setlength{\rightskip}{0pt plus 5cm}block\-Cipher\-::ecb}}\label{structblockCipher_ac1f9c47f7b594006a4d66955dc81bfd9}


The cipher's E\-C\-B functions. 

\hypertarget{structblockCipher_acd180c9ad40ef38241a66607ecdb19c7}{\index{block\-Cipher@{block\-Cipher}!getfb@{getfb}}
\index{getfb@{getfb}!blockCipher@{block\-Cipher}}
\subsubsection[{getfb}]{\setlength{\rightskip}{0pt plus 5cm}block\-Cipher\-::getfb}}\label{structblockCipher_acd180c9ad40ef38241a66607ecdb19c7}


Pointer to the cipher's feedback-\/returning function. 

\hypertarget{structblockCipher_ad4251f30dce3bb56c6d6d4af5effce21}{\index{block\-Cipher@{block\-Cipher}!keybitsinc@{keybitsinc}}
\index{keybitsinc@{keybitsinc}!blockCipher@{block\-Cipher}}
\subsubsection[{keybitsinc}]{\setlength{\rightskip}{0pt plus 5cm}block\-Cipher\-::keybitsinc}}\label{structblockCipher_ad4251f30dce3bb56c6d6d4af5effce21}


The allowed increment in key bits between min and max. 

\begin{DoxySeeAlso}{See Also}
\hyperlink{structblockCipher_a3500d157e1433ee5cbf9e9dfbe7b10f1}{keybitsmin} and \hyperlink{structblockCipher_ad42cb478c58af64dd55ba34bea672aea}{keybitsmax}. 
\end{DoxySeeAlso}
\hypertarget{structblockCipher_ad42cb478c58af64dd55ba34bea672aea}{\index{block\-Cipher@{block\-Cipher}!keybitsmax@{keybitsmax}}
\index{keybitsmax@{keybitsmax}!blockCipher@{block\-Cipher}}
\subsubsection[{keybitsmax}]{\setlength{\rightskip}{0pt plus 5cm}block\-Cipher\-::keybitsmax}}\label{structblockCipher_ad42cb478c58af64dd55ba34bea672aea}


The maximum number of key bits. 

\hypertarget{structblockCipher_a3500d157e1433ee5cbf9e9dfbe7b10f1}{\index{block\-Cipher@{block\-Cipher}!keybitsmin@{keybitsmin}}
\index{keybitsmin@{keybitsmin}!blockCipher@{block\-Cipher}}
\subsubsection[{keybitsmin}]{\setlength{\rightskip}{0pt plus 5cm}block\-Cipher\-::keybitsmin}}\label{structblockCipher_a3500d157e1433ee5cbf9e9dfbe7b10f1}


The minimum number of key bits. 

\hypertarget{structblockCipher_a6c9f539d9632b00c9b98228539254833}{\index{block\-Cipher@{block\-Cipher}!name@{name}}
\index{name@{name}!blockCipher@{block\-Cipher}}
\subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}block\-Cipher\-::name}}\label{structblockCipher_a6c9f539d9632b00c9b98228539254833}


The blockcipher's name. 

\hypertarget{structblockCipher_ae9acc23b1b4742e15acf95c44675fe42}{\index{block\-Cipher@{block\-Cipher}!paramsize@{paramsize}}
\index{paramsize@{paramsize}!blockCipher@{block\-Cipher}}
\subsubsection[{paramsize}]{\setlength{\rightskip}{0pt plus 5cm}block\-Cipher\-::paramsize}}\label{structblockCipher_ae9acc23b1b4742e15acf95c44675fe42}


The size of the parameters required by this cipher, in bytes. 

\hypertarget{structblockCipher_a66034965bc9ae136e6dc224c10b84e71}{\index{block\-Cipher@{block\-Cipher}!raw@{raw}}
\index{raw@{raw}!blockCipher@{block\-Cipher}}
\subsubsection[{raw}]{\setlength{\rightskip}{0pt plus 5cm}block\-Cipher\-::raw}}\label{structblockCipher_a66034965bc9ae136e6dc224c10b84e71}


The cipher's raw functions. 

\hypertarget{structblockCipher_aedabefbac9018470145c344b463669de}{\index{block\-Cipher@{block\-Cipher}!setctr@{setctr}}
\index{setctr@{setctr}!blockCipher@{block\-Cipher}}
\subsubsection[{setctr}]{\setlength{\rightskip}{0pt plus 5cm}block\-Cipher\-::setctr}}\label{structblockCipher_aedabefbac9018470145c344b463669de}


Pointer to the cipher's ctr setup function. 

\hypertarget{structblockCipher_aada7de9cfffbc798465d99a63b4981c6}{\index{block\-Cipher@{block\-Cipher}!setiv@{setiv}}
\index{setiv@{setiv}!blockCipher@{block\-Cipher}}
\subsubsection[{setiv}]{\setlength{\rightskip}{0pt plus 5cm}block\-Cipher\-::setiv}}\label{structblockCipher_aada7de9cfffbc798465d99a63b4981c6}


Pointer to the cipher's initialization vector setup function. 

\hypertarget{structblockCipher_a103ff53ae70c8b181770b5605d23ab80}{\index{block\-Cipher@{block\-Cipher}!setup@{setup}}
\index{setup@{setup}!blockCipher@{block\-Cipher}}
\subsubsection[{setup}]{\setlength{\rightskip}{0pt plus 5cm}block\-Cipher\-::setup}}\label{structblockCipher_a103ff53ae70c8b181770b5605d23ab80}


Pointer to the cipher's setup function. 



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