md4.h

Go to the documentation of this file.
00001 /*
00002     mdfour.h
00003 
00004     an implementation of MD4 designed for use in the SMB authentication
00005     protocol
00006 
00007     Copyright (C) Andrew Tridgell 1997-1998
00008 
00009     This program is free software; you can redistribute it and/or
00010     modify it under the terms of the GNU General Public License
00011     as published by the Free Software Foundation; either version 2
00012     of the License, or (at your option) any later version.
00013 
00014     This program is distributed in the hope that it will be useful,
00015     but WITHOUT ANY WARRANTY; without even the implied warranty of
00016     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00017 
00018     See the GNU General Public License for more details.
00019 
00020     You should have received a copy of the GNU General Public License
00021     along with this program; if not, write to:
00022 
00023         Free Software Foundation, Inc.
00024         59 Temple Place - Suite 330
00025         Boston, MA  02111-1307, USA
00026 */
00027 
00028 #ifndef _MDFOUR_H
00029 #define _MDFOUR_H
00030 
00031 #include "../shared/ufotypes.h"
00032 
00033 #if SIZEOF_INT > 4
00034 #define LARGE_INT32
00035 #endif
00036 
00037 struct mdfour {
00038     uint32_t A, B, C, D;
00039     uint32_t totalN;
00040 };
00041 
00042 unsigned Com_BlockChecksum(const void *buffer, int length);
00043 
00044 #endif  /* _MDFOUR_H */

Generated by  doxygen 1.6.2