md5_i.h
Go to the documentation of this file.
00001 /*
00002  * MD5 internal definitions
00003  * Copyright (c) 2003-2005, Jouni Malinen <j@w1.fi>
00004  *
00005  * This program is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License version 2 as
00007  * published by the Free Software Foundation.
00008  *
00009  * Alternatively, this software may be distributed under the terms of BSD
00010  * license.
00011  *
00012  * See README and COPYING for more details.
00013  */
00014 
00015 #ifndef MD5_I_H
00016 #define MD5_I_H
00017 
00018 struct MD5Context {
00019         u32 buf[4];
00020         u32 bits[2];
00021         u8 in[64];
00022 };
00023 
00024 void MD5Init(struct MD5Context *context);
00025 void MD5Update(struct MD5Context *context, unsigned char const *buf,
00026                unsigned len);
00027 void MD5Final(unsigned char digest[16], struct MD5Context *context);
00028 
00029 #endif /* MD5_I_H */


wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:34:35