\hypertarget{structwickr__kdf__algo}{}\doxysection{wickr\+\_\+kdf\+\_\+algo Struct Reference}
\label{structwickr__kdf__algo}\index{wickr\_kdf\_algo@{wickr\_kdf\_algo}}


Metadata associated with a particular KDF function.  




{\ttfamily \#include $<$kdf.\+h$>$}

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__wickr__kdf_ga106149e3507106abb6b5be843a4e7c16}{wickr\+\_\+kdf\+\_\+algo\+\_\+id}} \mbox{\hyperlink{structwickr__kdf__algo_a1bc420e2ca0f36169e261205bf6246e9}{algo\+\_\+id}}
\item 
wickr\+\_\+kdf\+\_\+id \mbox{\hyperlink{structwickr__kdf__algo_a0cf9976901115634ddbb6193b6e326ba}{kdf\+\_\+id}}
\item 
uint8\+\_\+t \mbox{\hyperlink{structwickr__kdf__algo_a9a6ccf9787e16898d1724292dab6593e}{salt\+\_\+size}}
\item 
uint8\+\_\+t \mbox{\hyperlink{structwickr__kdf__algo_a75e5396b3c53817c6799dbf3107e36d6}{output\+\_\+size}}
\item 
uint32\+\_\+t \mbox{\hyperlink{structwickr__kdf__algo_a3591ba4f7b6b916381ad28327a67d08c}{cost}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Metadata associated with a particular KDF function. 

The algorithm is defined by a base algorithm, as well as a specific sub-\/algorithm associated with it. As an example KDF\+\_\+\+SCRYPT as the algo\+\_\+id with KDF\+\_\+\+ID\+\_\+\+SCRYPT\+\_\+17 as the kdf\+\_\+id. 

\doxysubsection{Field Documentation}
\mbox{\Hypertarget{structwickr__kdf__algo_a1bc420e2ca0f36169e261205bf6246e9}\label{structwickr__kdf__algo_a1bc420e2ca0f36169e261205bf6246e9}} 
\index{wickr\_kdf\_algo@{wickr\_kdf\_algo}!algo\_id@{algo\_id}}
\index{algo\_id@{algo\_id}!wickr\_kdf\_algo@{wickr\_kdf\_algo}}
\doxysubsubsection{\texorpdfstring{algo\_id}{algo\_id}}
{\footnotesize\ttfamily wickr\+\_\+kdf\+\_\+algo\+::algo\+\_\+id}

the base algorithm used by this kdf function \mbox{\Hypertarget{structwickr__kdf__algo_a3591ba4f7b6b916381ad28327a67d08c}\label{structwickr__kdf__algo_a3591ba4f7b6b916381ad28327a67d08c}} 
\index{wickr\_kdf\_algo@{wickr\_kdf\_algo}!cost@{cost}}
\index{cost@{cost}!wickr\_kdf\_algo@{wickr\_kdf\_algo}}
\doxysubsubsection{\texorpdfstring{cost}{cost}}
{\footnotesize\ttfamily wickr\+\_\+kdf\+\_\+algo\+::cost}

a number representing the difficulty of calculating the KDF function as either CPU power, Memory use, or a combination of both \mbox{\Hypertarget{structwickr__kdf__algo_a0cf9976901115634ddbb6193b6e326ba}\label{structwickr__kdf__algo_a0cf9976901115634ddbb6193b6e326ba}} 
\index{wickr\_kdf\_algo@{wickr\_kdf\_algo}!kdf\_id@{kdf\_id}}
\index{kdf\_id@{kdf\_id}!wickr\_kdf\_algo@{wickr\_kdf\_algo}}
\doxysubsubsection{\texorpdfstring{kdf\_id}{kdf\_id}}
{\footnotesize\ttfamily wickr\+\_\+kdf\+\_\+algo\+::kdf\+\_\+id}

the specific sub-\/algorithm used by this kdf function \mbox{\Hypertarget{structwickr__kdf__algo_a75e5396b3c53817c6799dbf3107e36d6}\label{structwickr__kdf__algo_a75e5396b3c53817c6799dbf3107e36d6}} 
\index{wickr\_kdf\_algo@{wickr\_kdf\_algo}!output\_size@{output\_size}}
\index{output\_size@{output\_size}!wickr\_kdf\_algo@{wickr\_kdf\_algo}}
\doxysubsubsection{\texorpdfstring{output\_size}{output\_size}}
{\footnotesize\ttfamily wickr\+\_\+kdf\+\_\+algo\+::output\+\_\+size}

the number of bytes this algorithm will produce as an ouput \mbox{\Hypertarget{structwickr__kdf__algo_a9a6ccf9787e16898d1724292dab6593e}\label{structwickr__kdf__algo_a9a6ccf9787e16898d1724292dab6593e}} 
\index{wickr\_kdf\_algo@{wickr\_kdf\_algo}!salt\_size@{salt\_size}}
\index{salt\_size@{salt\_size}!wickr\_kdf\_algo@{wickr\_kdf\_algo}}
\doxysubsubsection{\texorpdfstring{salt\_size}{salt\_size}}
{\footnotesize\ttfamily wickr\+\_\+kdf\+\_\+algo\+::salt\+\_\+size}

the number of bytes this algorithm expects for a salt value 

The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
src/wickrcrypto/include/wickrcrypto/kdf.\+h\end{DoxyCompactItemize}
