Sophie

Sophie

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

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

\hypertarget{pkcs1_8h}{
\section{include/beecrypt/pkcs1.h File Reference}
\label{pkcs1_8h}\index{include/beecrypt/pkcs1.h@{include/beecrypt/pkcs1.h}}
}


PKCS\#1 utility routines.  


{\ttfamily \#include \char`\"{}beecrypt/beecrypt.h\char`\"{}}\par
Include dependency graph for pkcs1.h:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=204pt]{pkcs1_8h__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{pkcs1_8h_ad2d47656e6c01f010e2505b50cafe07d}{pkcs1\_\-emsa\_\-encode\_\-digest} (\hyperlink{structhashFunctionContext}{hashFunctionContext} $\ast$ctxt, \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$emdata, size\_\-t emsize)
\begin{DoxyCompactList}\small\item\em This function computes the digest, and encodes it it according to PKCS\#1 for signing. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
PKCS\#1 utility routines. \begin{DoxyAuthor}{Author}
Bob Deblier $<$\href{mailto:bob.deblier@telenet.be}{\tt bob.deblier@telenet.be}$>$ 
\end{DoxyAuthor}


\subsection{Function Documentation}
\hypertarget{pkcs1_8h_ad2d47656e6c01f010e2505b50cafe07d}{
\index{pkcs1.h@{pkcs1.h}!pkcs1\_\-emsa\_\-encode\_\-digest@{pkcs1\_\-emsa\_\-encode\_\-digest}}
\index{pkcs1\_\-emsa\_\-encode\_\-digest@{pkcs1\_\-emsa\_\-encode\_\-digest}!pkcs1.h@{pkcs1.h}}
\subsubsection[{pkcs1\_\-emsa\_\-encode\_\-digest}]{\setlength{\rightskip}{0pt plus 5cm}int pkcs1\_\-emsa\_\-encode\_\-digest (
\begin{DoxyParamCaption}
\item[{{\bf hashFunctionContext} $\ast$}]{ctxt, }
\item[{{\bf byte} $\ast$}]{emdata, }
\item[{size\_\-t}]{emsize}
\end{DoxyParamCaption}
)}}
\label{pkcs1_8h_ad2d47656e6c01f010e2505b50cafe07d}


This function computes the digest, and encodes it it according to PKCS\#1 for signing. 


\begin{DoxyParams}{Parameters}
{\em ctxt} & The hash function context \\
\hline
{\em emdata} & \\
\hline
{\em emsize} & \\
\hline
\end{DoxyParams}