\hypertarget{pkcs12_8h}{\section{include/beecrypt/pkcs12.h File Reference} \label{pkcs12_8h}\index{include/beecrypt/pkcs12.\-h@{include/beecrypt/pkcs12.\-h}} } P\-K\-C\-S\#12 utility routines. {\ttfamily \#include \char`\"{}beecrypt/beecrypt.\-h\char`\"{}}\\* Include dependency graph for pkcs12.\-h\-: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{pkcs12_8h__incl} \end{center} \end{figure} \subsection*{Macros} \begin{DoxyCompactItemize} \item \#define \hyperlink{pkcs12_8h_aa6eb93bc22230eb927d34ce48ef60211}{P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-C\-I\-P\-H\-E\-R}~0x1 \item \#define \hyperlink{pkcs12_8h_a8282da6bb79eb8f73d8d332688ea0ff2}{P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-I\-V}~0x2 \item \#define \hyperlink{pkcs12_8h_ac4ba745a67b30cf5256f40c46b37abeb}{P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-M\-A\-C}~0x3 \end{DoxyCompactItemize} \subsection*{Functions} \begin{DoxyCompactItemize} \item int \hyperlink{pkcs12_8h_a2774a1fb479f6086e1895e6a976408de}{pkcs12\-\_\-derive\-\_\-key} (const \hyperlink{structhashFunction}{hash\-Function} $\ast$h, \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} id, const \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$pdata, size\-\_\-t psize, const \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$sdata, size\-\_\-t ssize, size\-\_\-t iterationcount, \hyperlink{api_8h_ab8ef12fab634c171394422d0ee8baf94}{byte} $\ast$ndata, size\-\_\-t nsize) \end{DoxyCompactItemize} \subsection{Detailed Description} P\-K\-C\-S\#12 utility routines. \begin{DoxyAuthor}{Author} Bob Deblier \href{mailto:bob.deblier@telenet.be}{\tt bob.\-deblier@telenet.\-be} \end{DoxyAuthor} \subsection{Macro Definition Documentation} \hypertarget{pkcs12_8h_aa6eb93bc22230eb927d34ce48ef60211}{\index{pkcs12.\-h@{pkcs12.\-h}!P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-C\-I\-P\-H\-E\-R@{P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-C\-I\-P\-H\-E\-R}} \index{P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-C\-I\-P\-H\-E\-R@{P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-C\-I\-P\-H\-E\-R}!pkcs12.h@{pkcs12.\-h}} \subsubsection[{P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-C\-I\-P\-H\-E\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-C\-I\-P\-H\-E\-R~0x1}}\label{pkcs12_8h_aa6eb93bc22230eb927d34ce48ef60211} \hypertarget{pkcs12_8h_a8282da6bb79eb8f73d8d332688ea0ff2}{\index{pkcs12.\-h@{pkcs12.\-h}!P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-I\-V@{P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-I\-V}} \index{P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-I\-V@{P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-I\-V}!pkcs12.h@{pkcs12.\-h}} \subsubsection[{P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-I\-V}]{\setlength{\rightskip}{0pt plus 5cm}\#define P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-I\-V~0x2}}\label{pkcs12_8h_a8282da6bb79eb8f73d8d332688ea0ff2} \hypertarget{pkcs12_8h_ac4ba745a67b30cf5256f40c46b37abeb}{\index{pkcs12.\-h@{pkcs12.\-h}!P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-M\-A\-C@{P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-M\-A\-C}} \index{P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-M\-A\-C@{P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-M\-A\-C}!pkcs12.h@{pkcs12.\-h}} \subsubsection[{P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-M\-A\-C}]{\setlength{\rightskip}{0pt plus 5cm}\#define P\-K\-C\-S12\-\_\-\-I\-D\-\_\-\-M\-A\-C~0x3}}\label{pkcs12_8h_ac4ba745a67b30cf5256f40c46b37abeb} \subsection{Function Documentation} \hypertarget{pkcs12_8h_a2774a1fb479f6086e1895e6a976408de}{\index{pkcs12.\-h@{pkcs12.\-h}!pkcs12\-\_\-derive\-\_\-key@{pkcs12\-\_\-derive\-\_\-key}} \index{pkcs12\-\_\-derive\-\_\-key@{pkcs12\-\_\-derive\-\_\-key}!pkcs12.h@{pkcs12.\-h}} \subsubsection[{pkcs12\-\_\-derive\-\_\-key}]{\setlength{\rightskip}{0pt plus 5cm}int pkcs12\-\_\-derive\-\_\-key ( \begin{DoxyParamCaption} \item[{const {\bf hash\-Function} $\ast$}]{h, } \item[{{\bf byte}}]{id, } \item[{const {\bf byte} $\ast$}]{pdata, } \item[{size\-\_\-t}]{psize, } \item[{const {\bf byte} $\ast$}]{sdata, } \item[{size\-\_\-t}]{ssize, } \item[{size\-\_\-t}]{iterationcount, } \item[{{\bf byte} $\ast$}]{ndata, } \item[{size\-\_\-t}]{nsize} \end{DoxyParamCaption} )}}\label{pkcs12_8h_a2774a1fb479f6086e1895e6a976408de}