\doxysubsection{mdfour.\+h}
\label{mdfour_8h_source}\index{mdfour.h@{mdfour.h}}
\mbox{\hyperlink{mdfour_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001 \textcolor{comment}{/*= -\/*-\/ c-\/basic-\/offset: 4; indent-\/tabs-\/mode: nil; -\/*-\/}}
\DoxyCodeLine{00002 \textcolor{comment}{ *}}
\DoxyCodeLine{00003 \textcolor{comment}{ * librsync -\/-\/ the library for network deltas}}
\DoxyCodeLine{00004 \textcolor{comment}{ *}}
\DoxyCodeLine{00005 \textcolor{comment}{ * Copyright (C) 2000, 2001 by Martin Pool <mbp@sourcefrog.net>}}
\DoxyCodeLine{00006 \textcolor{comment}{ * Copyright (C) 2002, 2003 by Donovan Baarda <abo@minkirri.apana.org.au>}}
\DoxyCodeLine{00007 \textcolor{comment}{ *}}
\DoxyCodeLine{00008 \textcolor{comment}{ * This program is free software; you can redistribute it and/or}}
\DoxyCodeLine{00009 \textcolor{comment}{ * modify it under the terms of the GNU Lesser General Public License}}
\DoxyCodeLine{00010 \textcolor{comment}{ * as published by the Free Software Foundation; either version 2.1 of}}
\DoxyCodeLine{00011 \textcolor{comment}{ * the License, or (at your option) any later version.}}
\DoxyCodeLine{00012 \textcolor{comment}{ *}}
\DoxyCodeLine{00013 \textcolor{comment}{ * This program is distributed in the hope that it will be useful, but}}
\DoxyCodeLine{00014 \textcolor{comment}{ * WITHOUT ANY WARRANTY; without even the implied warranty of}}
\DoxyCodeLine{00015 \textcolor{comment}{ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU}}
\DoxyCodeLine{00016 \textcolor{comment}{ * Lesser General Public License for more details.}}
\DoxyCodeLine{00017 \textcolor{comment}{ *}}
\DoxyCodeLine{00018 \textcolor{comment}{ * You should have received a copy of the GNU Lesser General Public}}
\DoxyCodeLine{00019 \textcolor{comment}{ * License along with this program; if not, write to the Free Software}}
\DoxyCodeLine{00020 \textcolor{comment}{ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.}}
\DoxyCodeLine{00021 \textcolor{comment}{ */}}
\DoxyCodeLine{00022 \textcolor{comment}{}}
\DoxyCodeLine{00023 \textcolor{comment}{/** \(\backslash\)file mdfour.h}}
\DoxyCodeLine{00024 \textcolor{comment}{ * MD4 message digest algorithm.}}
\DoxyCodeLine{00025 \textcolor{comment}{ *}}
\DoxyCodeLine{00026 \textcolor{comment}{ * \(\backslash\)todo Perhaps use the MD4 routine from OpenSSL if it's installed. It's}}
\DoxyCodeLine{00027 \textcolor{comment}{ * probably not worth the trouble.}}
\DoxyCodeLine{00028 \textcolor{comment}{ *}}
\DoxyCodeLine{00029 \textcolor{comment}{ * This was originally written by Andrew Tridgell for use in Samba. It was then}}
\DoxyCodeLine{00030 \textcolor{comment}{ * modified by;}}
\DoxyCodeLine{00031 \textcolor{comment}{ *}}
\DoxyCodeLine{00032 \textcolor{comment}{ * 2002-\/06-\/xx: Robert Weber <robert.weber@Colorado.edu> optimisations and fixed}}
\DoxyCodeLine{00033 \textcolor{comment}{ * >512M support.}}
\DoxyCodeLine{00034 \textcolor{comment}{ *}}
\DoxyCodeLine{00035 \textcolor{comment}{ * 2002-\/06-\/27: Donovan Baarda <abo@minkirri.apana.org.au> further optimisations}}
\DoxyCodeLine{00036 \textcolor{comment}{ * and cleanups.}}
\DoxyCodeLine{00037 \textcolor{comment}{ *}}
\DoxyCodeLine{00038 \textcolor{comment}{ * 2004-\/09-\/09: Simon Law <sfllaw@debian.org> handle little-\/endian machines that}}
\DoxyCodeLine{00039 \textcolor{comment}{ * can't do unaligned access (e.g. ia64, pa-\/risc). */}}
\DoxyCodeLine{00040 \textcolor{preprocessor}{\#ifndef MDFOUR\_H}}
\DoxyCodeLine{00041 \textcolor{preprocessor}{\#  define MDFOUR\_H}}
\DoxyCodeLine{00042 }
\DoxyCodeLine{00043 \textcolor{preprocessor}{\#  include <stdint.h>}}
\DoxyCodeLine{00044 \textcolor{comment}{}}
\DoxyCodeLine{00045 \textcolor{comment}{/** The rs\_mdfour state type. */}}
\DoxyCodeLine{00046 \textcolor{keyword}{struct }rs\_mdfour \{}
\DoxyCodeLine{00047     \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{int} A, B, C, D;}
\DoxyCodeLine{00048 \textcolor{preprocessor}{\#  ifdef UINT64\_MAX}}
\DoxyCodeLine{00049     uint64\_t totalN;}
\DoxyCodeLine{00050 \textcolor{preprocessor}{\#  else}}
\DoxyCodeLine{00051     uint32\_t totalN\_hi, totalN\_lo;}
\DoxyCodeLine{00052 \textcolor{preprocessor}{\#  endif}}
\DoxyCodeLine{00053     \textcolor{keywordtype}{int} tail\_len;}
\DoxyCodeLine{00054     \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{char} tail[64];}
\DoxyCodeLine{00055 \};}
\DoxyCodeLine{00056 }
\DoxyCodeLine{00057 \textcolor{preprocessor}{\#endif                          }\textcolor{comment}{/* !MDFOUR\_H */}\textcolor{preprocessor}{}}

\end{DoxyCode}
