\hypertarget{pkcs5v2_8c}{}\doxysection{geom/eli/pkcs5v2.c File Reference}
\label{pkcs5v2_8c}\index{geom/eli/pkcs5v2.c@{geom/eli/pkcs5v2.c}}
{\ttfamily \#include $<$sys/cdefs.\+h$>$}\newline
{\ttfamily \#include $<$sys/param.\+h$>$}\newline
{\ttfamily \#include $<$sys/systm.\+h$>$}\newline
{\ttfamily \#include $<$sys/kernel.\+h$>$}\newline
{\ttfamily \#include $<$geom/eli/g\+\_\+eli.\+h$>$}\newline
{\ttfamily \#include $<$geom/eli/pkcs5v2.\+h$>$}\newline
Include dependency graph for pkcs5v2.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d3/d79/pkcs5v2_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{pkcs5v2_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
static \+\_\+\+\_\+inline void \mbox{\hyperlink{pkcs5v2_8c_af68c4557f989772fcf24c030f5c9cde3}{xor}} (\mbox{\hyperlink{binstream_8h_ab077fa1127453be2bd9d4c3c8a768fa7}{uint8\+\_\+t}} $\ast$dst, const \mbox{\hyperlink{binstream_8h_ab077fa1127453be2bd9d4c3c8a768fa7}{uint8\+\_\+t}} $\ast$src, size\+\_\+t size)
\item 
void \mbox{\hyperlink{pkcs5v2_8c_a16b79c3988b800e9ca00c4b589951033}{pkcs5v2\+\_\+genkey}} (\mbox{\hyperlink{binstream_8h_ab077fa1127453be2bd9d4c3c8a768fa7}{uint8\+\_\+t}} $\ast$key, unsigned keylen, const \mbox{\hyperlink{binstream_8h_ab077fa1127453be2bd9d4c3c8a768fa7}{uint8\+\_\+t}} $\ast$salt, size\+\_\+t saltsize, const char $\ast$passphrase, u\+\_\+int iterations)
\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{pkcs5v2_8c_a8c3ef283470a68cd30afe9b8a72cb60f}\label{pkcs5v2_8c_a8c3ef283470a68cd30afe9b8a72cb60f}} 
\index{pkcs5v2.c@{pkcs5v2.c}!\_\_FBSDID@{\_\_FBSDID}}
\index{\_\_FBSDID@{\_\_FBSDID}!pkcs5v2.c@{pkcs5v2.c}}
\doxysubsubsection{\texorpdfstring{\_\_FBSDID()}{\_\_FBSDID()}}
{\footnotesize\ttfamily \+\_\+\+\_\+\+FBSDID (\begin{DoxyParamCaption}\item[{\char`\"{}\$Free\+BSD\$\char`\"{}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{pkcs5v2_8c_a16b79c3988b800e9ca00c4b589951033}\label{pkcs5v2_8c_a16b79c3988b800e9ca00c4b589951033}} 
\index{pkcs5v2.c@{pkcs5v2.c}!pkcs5v2\_genkey@{pkcs5v2\_genkey}}
\index{pkcs5v2\_genkey@{pkcs5v2\_genkey}!pkcs5v2.c@{pkcs5v2.c}}
\doxysubsubsection{\texorpdfstring{pkcs5v2\_genkey()}{pkcs5v2\_genkey()}}
{\footnotesize\ttfamily void pkcs5v2\+\_\+genkey (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{binstream_8h_ab077fa1127453be2bd9d4c3c8a768fa7}{uint8\+\_\+t}} $\ast$}]{key,  }\item[{unsigned}]{keylen,  }\item[{const \mbox{\hyperlink{binstream_8h_ab077fa1127453be2bd9d4c3c8a768fa7}{uint8\+\_\+t}} $\ast$}]{salt,  }\item[{size\+\_\+t}]{saltsize,  }\item[{const char $\ast$}]{passphrase,  }\item[{u\+\_\+int}]{iterations }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{pkcs5v2_8c_source_l00054}{54}} of file \mbox{\hyperlink{pkcs5v2_8c_source}{pkcs5v2.\+c}}.



References \mbox{\hyperlink{g__eli__hmac_8c_source_l00093}{g\+\_\+eli\+\_\+crypto\+\_\+hmac\+\_\+final()}}, \mbox{\hyperlink{g__eli__hmac_8c_source_l00049}{g\+\_\+eli\+\_\+crypto\+\_\+hmac\+\_\+init()}}, \mbox{\hyperlink{g__eli__hmac_8c_source_l00085}{g\+\_\+eli\+\_\+crypto\+\_\+hmac\+\_\+update()}}, \mbox{\hyperlink{g__eli_8h_source_l00136}{SHA512\+\_\+\+MDLEN}}, \mbox{\hyperlink{binstream_8h_source_l00037}{uint8\+\_\+t}}, and \mbox{\hyperlink{pkcs5v2_8c_source_l00046}{xor()}}.



Referenced by \mbox{\hyperlink{g__eli_8c_source_l01317}{g\+\_\+eli\+\_\+taste()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/dab/pkcs5v2_8c_a16b79c3988b800e9ca00c4b589951033_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=284pt]{d1/dab/pkcs5v2_8c_a16b79c3988b800e9ca00c4b589951033_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{pkcs5v2_8c_af68c4557f989772fcf24c030f5c9cde3}\label{pkcs5v2_8c_af68c4557f989772fcf24c030f5c9cde3}} 
\index{pkcs5v2.c@{pkcs5v2.c}!xor@{xor}}
\index{xor@{xor}!pkcs5v2.c@{pkcs5v2.c}}
\doxysubsubsection{\texorpdfstring{xor()}{xor()}}
{\footnotesize\ttfamily static \+\_\+\+\_\+inline void xor (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{binstream_8h_ab077fa1127453be2bd9d4c3c8a768fa7}{uint8\+\_\+t}} $\ast$}]{dst,  }\item[{const \mbox{\hyperlink{binstream_8h_ab077fa1127453be2bd9d4c3c8a768fa7}{uint8\+\_\+t}} $\ast$}]{src,  }\item[{size\+\_\+t}]{size }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{pkcs5v2_8c_source_l00046}{46}} of file \mbox{\hyperlink{pkcs5v2_8c_source}{pkcs5v2.\+c}}.



Referenced by \mbox{\hyperlink{pkcs5v2_8c_source_l00054}{pkcs5v2\+\_\+genkey()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/dab/pkcs5v2_8c_af68c4557f989772fcf24c030f5c9cde3_icgraph}
\end{center}
\end{figure}
