00001 /*00002 * MD5 internal definitions00003 * Copyright (c) 2003-2005, Jouni Malinen <j@w1.fi>00004 *00005 * This program is free software; you can redistribute it and/or modify00006 * it under the terms of the GNU General Public License version 2 as00007 * published by the Free Software Foundation.00008 *00009 * Alternatively, this software may be distributed under the terms of BSD00010 * license.00011 *00012 * See README and COPYING for more details.00013 */00014
00015 #ifndef MD5_I_H00016 #define MD5_I_H00017
00018struct MD5Context {
00019u32buf[4];
00020u32bits[2];
00021u8in[64];
00022 };
00023
00024 voidMD5Init(structMD5Context *context);
00025 voidMD5Update(structMD5Context *context, unsignedcharconst *buf,
00026 unsigned len);
00027 voidMD5Final(unsignedchar digest[16], structMD5Context *context);
00028
00029 #endif /* MD5_I_H */