\doxysection{src/gsm/kdf/sha1\+\_\+i.h File Reference}
\label{sha1__i_8h}\index{src/gsm/kdf/sha1\_i.h@{src/gsm/kdf/sha1\_i.h}}
\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ SHA1\+Context}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \textbf{ SHA1\+Init} (struct \textbf{ SHA1\+Context} $\ast$context)
\item 
void \textbf{ SHA1\+Update} (struct \textbf{ SHA1\+Context} $\ast$context, const void $\ast$\textbf{ data}, \textbf{ u32} \textbf{ len})
\item 
void \textbf{ SHA1\+Final} (unsigned char digest[20], struct \textbf{ SHA1\+Context} $\ast$context)
\item 
void \textbf{ SHA1\+Transform} (\textbf{ u32} state[5], const unsigned char \textbf{ buffer}[64])
\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\label{sha1__i_8h_a226945a93df5c4c6837b8e18e3c0bd07}} 
\index{sha1\_i.h@{sha1\_i.h}!SHA1Final@{SHA1Final}}
\index{SHA1Final@{SHA1Final}!sha1\_i.h@{sha1\_i.h}}
\doxysubsubsection{SHA1Final()}
{\footnotesize\ttfamily void SHA1\+Final (\begin{DoxyParamCaption}\item[{unsigned char}]{digest[20],  }\item[{struct \textbf{ SHA1\+Context} $\ast$}]{context }\end{DoxyParamCaption})}



References \textbf{ SHA1\+Context\+::buffer}, \textbf{ SHA1\+Context\+::count}, \textbf{ os\+\_\+memset}, \textbf{ SHA1\+Update()}, and \textbf{ SHA1\+Context\+::state}.



Referenced by \textbf{ sha1\+\_\+vector()}.

\mbox{\label{sha1__i_8h_a74c6ea366a4e923dac202fa8e1bc3fef}} 
\index{sha1\_i.h@{sha1\_i.h}!SHA1Init@{SHA1Init}}
\index{SHA1Init@{SHA1Init}!sha1\_i.h@{sha1\_i.h}}
\doxysubsubsection{SHA1Init()}
{\footnotesize\ttfamily void SHA1\+Init (\begin{DoxyParamCaption}\item[{struct \textbf{ SHA1\+Context} $\ast$}]{context }\end{DoxyParamCaption})}



References \textbf{ SHA1\+Context\+::count}, and \textbf{ SHA1\+Context\+::state}.



Referenced by \textbf{ sha1\+\_\+vector()}.

\mbox{\label{sha1__i_8h_a5bd00201ebf1fbb569dca973975d822b}} 
\index{sha1\_i.h@{sha1\_i.h}!SHA1Transform@{SHA1Transform}}
\index{SHA1Transform@{SHA1Transform}!sha1\_i.h@{sha1\_i.h}}
\doxysubsubsection{SHA1Transform()}
{\footnotesize\ttfamily void SHA1\+Transform (\begin{DoxyParamCaption}\item[{\textbf{ u32}}]{state[5],  }\item[{const unsigned char}]{buffer[64] }\end{DoxyParamCaption})}



References \textbf{ c}, \textbf{ l}, \textbf{ os\+\_\+memcpy}, \textbf{ os\+\_\+memset}, \textbf{ R0}, \textbf{ R1}, \textbf{ R2}, \textbf{ R3}, and \textbf{ R4}.



Referenced by \textbf{ SHA1\+Update()}.

\mbox{\label{sha1__i_8h_a8002afb52b6393eeaced68cfa5c8e8e6}} 
\index{sha1\_i.h@{sha1\_i.h}!SHA1Update@{SHA1Update}}
\index{SHA1Update@{SHA1Update}!sha1\_i.h@{sha1\_i.h}}
\doxysubsubsection{SHA1Update()}
{\footnotesize\ttfamily void SHA1\+Update (\begin{DoxyParamCaption}\item[{struct \textbf{ SHA1\+Context} $\ast$}]{context,  }\item[{const void $\ast$}]{data,  }\item[{\textbf{ u32}}]{len }\end{DoxyParamCaption})}



References \textbf{ SHA1\+Context\+::buffer}, \textbf{ SHA1\+Context\+::count}, \textbf{ data}, \textbf{ len}, \textbf{ os\+\_\+memcpy}, \textbf{ SHA1\+Transform()}, and \textbf{ SHA1\+Context\+::state}.



Referenced by \textbf{ sha1\+\_\+vector()}, and \textbf{ SHA1\+Final()}.

