\hypertarget{structwickr__ecdh__cipher__ctx}{}\doxysection{wickr\+\_\+ecdh\+\_\+cipher\+\_\+ctx Struct Reference}
\label{structwickr__ecdh__cipher__ctx}\index{wickr\_ecdh\_cipher\_ctx@{wickr\_ecdh\_cipher\_ctx}}


A cipher context designed to modularize the ECDH\+\_\+\+HKDF\+\_\+\+AES256 workflow.  




{\ttfamily \#include $<$ecdh\+\_\+cipher\+\_\+ctx.\+h$>$}

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{structwickr__crypto__engine}{wickr\+\_\+crypto\+\_\+engine\+\_\+t}} \mbox{\hyperlink{structwickr__ecdh__cipher__ctx_a4d953a0c8d6302db63f2fce624e6ffc2}{engine}}
\item 
\mbox{\hyperlink{structwickr__ec__key}{wickr\+\_\+ec\+\_\+key\+\_\+t}} $\ast$ \mbox{\hyperlink{structwickr__ecdh__cipher__ctx_ad9389a9efc31ac0516d9aebeb1ac6301}{local\+\_\+key}}
\item 
\mbox{\hyperlink{structwickr__cipher}{wickr\+\_\+cipher\+\_\+t}} \mbox{\hyperlink{structwickr__ecdh__cipher__ctx_a15e7d01b0e07501b572c11bde1c2e56e}{cipher}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
A cipher context designed to modularize the ECDH\+\_\+\+HKDF\+\_\+\+AES256 workflow. 

\doxysubsection{Field Documentation}
\mbox{\Hypertarget{structwickr__ecdh__cipher__ctx_a15e7d01b0e07501b572c11bde1c2e56e}\label{structwickr__ecdh__cipher__ctx_a15e7d01b0e07501b572c11bde1c2e56e}} 
\index{wickr\_ecdh\_cipher\_ctx@{wickr\_ecdh\_cipher\_ctx}!cipher@{cipher}}
\index{cipher@{cipher}!wickr\_ecdh\_cipher\_ctx@{wickr\_ecdh\_cipher\_ctx}}
\doxysubsubsection{\texorpdfstring{cipher}{cipher}}
{\footnotesize\ttfamily wickr\+\_\+ecdh\+\_\+cipher\+\_\+ctx\+::cipher}

the cipher key type that the kdf output will be casted into \mbox{\Hypertarget{structwickr__ecdh__cipher__ctx_a4d953a0c8d6302db63f2fce624e6ffc2}\label{structwickr__ecdh__cipher__ctx_a4d953a0c8d6302db63f2fce624e6ffc2}} 
\index{wickr\_ecdh\_cipher\_ctx@{wickr\_ecdh\_cipher\_ctx}!engine@{engine}}
\index{engine@{engine}!wickr\_ecdh\_cipher\_ctx@{wickr\_ecdh\_cipher\_ctx}}
\doxysubsubsection{\texorpdfstring{engine}{engine}}
{\footnotesize\ttfamily wickr\+\_\+ecdh\+\_\+cipher\+\_\+ctx\+::engine}

the crypto engine that will supply the ECDH, KDF, and cipher operations \mbox{\Hypertarget{structwickr__ecdh__cipher__ctx_ad9389a9efc31ac0516d9aebeb1ac6301}\label{structwickr__ecdh__cipher__ctx_ad9389a9efc31ac0516d9aebeb1ac6301}} 
\index{wickr\_ecdh\_cipher\_ctx@{wickr\_ecdh\_cipher\_ctx}!local\_key@{local\_key}}
\index{local\_key@{local\_key}!wickr\_ecdh\_cipher\_ctx@{wickr\_ecdh\_cipher\_ctx}}
\doxysubsubsection{\texorpdfstring{local\_key}{local\_key}}
{\footnotesize\ttfamily wickr\+\_\+ecdh\+\_\+cipher\+\_\+ctx\+::local\+\_\+key}

the private ec key that will be used for the ECDH operation 

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