\hypertarget{pkcs1_8h}{\section{include/beecrypt/pkcs1.h File Reference} \label{pkcs1_8h}\index{include/beecrypt/pkcs1.\-h@{include/beecrypt/pkcs1.\-h}} } P\-K\-C\-S\#1 utility routines. {\ttfamily \#include \char`\"{}beecrypt/beecrypt.\-h\char`\"{}}\\* Include dependency graph for pkcs1.\-h\-: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{pkcs1_8h__incl} \end{center} \end{figure} \subsection*{Functions} \begin{DoxyCompactItemize} \item int \hyperlink{pkcs1_8h_ad2d47656e6c01f010e2505b50cafe07d}{pkcs1\-\_\-emsa\-\_\-encode\-\_\-digest} (\hyperlink{structhashFunctionContext}{hash\-Function\-Context} $\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 P\-K\-C\-S\#1 for signing. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection{Detailed Description} P\-K\-C\-S\#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 hash\-Function\-Context} $\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 P\-K\-C\-S\#1 for signing. \begin{DoxyParams}{Parameters} {\em ctxt} & The hash function context \\ \hline {\em emdata} & \\ \hline {\em emsize} & \\ \hline \end{DoxyParams}