\doxysection{sha1\+\_\+i.\+h}
\label{sha1__i_8h_source}\index{src/gsm/kdf/sha1\_i.h@{src/gsm/kdf/sha1\_i.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{comment}{/*}}
\DoxyCodeLine{2 \textcolor{comment}{ * SHA1 internal definitions}}
\DoxyCodeLine{3 \textcolor{comment}{ * Copyright (c) 2003-\/2005, Jouni Malinen <j@w1.fi>}}
\DoxyCodeLine{4 \textcolor{comment}{ *}}
\DoxyCodeLine{5 \textcolor{comment}{ * This program is free software; you can redistribute it and/or modify}}
\DoxyCodeLine{6 \textcolor{comment}{ * it under the terms of the GNU General Public License version 2 as}}
\DoxyCodeLine{7 \textcolor{comment}{ * published by the Free Software Foundation.}}
\DoxyCodeLine{8 \textcolor{comment}{ *}}
\DoxyCodeLine{9 \textcolor{comment}{ * Alternatively, this software may be distributed under the terms of BSD}}
\DoxyCodeLine{10 \textcolor{comment}{ * license.}}
\DoxyCodeLine{11 \textcolor{comment}{ *}}
\DoxyCodeLine{12 \textcolor{comment}{ * See README and COPYING for more details.}}
\DoxyCodeLine{13 \textcolor{comment}{ */}}
\DoxyCodeLine{14 }
\DoxyCodeLine{15 \textcolor{preprocessor}{\#ifndef SHA1\_I\_H}}
\DoxyCodeLine{16 \textcolor{preprocessor}{\#define SHA1\_I\_H}}
\DoxyCodeLine{17 }
\DoxyCodeLine{18 \textcolor{keyword}{struct }SHA1Context \{}
\DoxyCodeLine{19         u32 state[5];}
\DoxyCodeLine{20         u32 count[2];}
\DoxyCodeLine{21         \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{char} buffer[64];}
\DoxyCodeLine{22 \};}
\DoxyCodeLine{23 }
\DoxyCodeLine{24 \textcolor{keywordtype}{void} SHA1Init(\textcolor{keyword}{struct} SHA1Context *context);}
\DoxyCodeLine{25 \textcolor{keywordtype}{void} SHA1Update(\textcolor{keyword}{struct} SHA1Context *context, \textcolor{keyword}{const} \textcolor{keywordtype}{void} *data, u32 len);}
\DoxyCodeLine{26 \textcolor{keywordtype}{void} SHA1Final(\textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{char} digest[20], \textcolor{keyword}{struct} SHA1Context *context);}
\DoxyCodeLine{27 \textcolor{keywordtype}{void} SHA1Transform(u32 state[5], \textcolor{keyword}{const} \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{char} buffer[64]);}
\DoxyCodeLine{28 }
\DoxyCodeLine{29 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* SHA1\_I\_H */}\textcolor{preprocessor}{}}

\end{DoxyCode}
