md5.h

Go to the documentation of this file.
00001 
00016 #ifndef MD5_H
00017 #define MD5_H
00018 
00019 #define MD5_MAC_LEN 16
00020 
00021 void hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem,
00022                      const u8 *addr[], const size_t *len, u8 *mac);
00023 void hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len,
00024               u8 *mac);
00025 
00026 #ifdef CONFIG_CRYPTO_INTERNAL
00027 struct MD5Context;
00028 
00029 void MD5Init(struct MD5Context *context);
00030 void MD5Update(struct MD5Context *context, unsigned char const *buf,
00031                unsigned len);
00032 void MD5Final(unsigned char digest[16], struct MD5Context *context);
00033 #endif /* CONFIG_CRYPTO_INTERNAL */
00034 
00035 #endif /* MD5_H */
00036 

Generated on Sun Dec 31 13:43:28 2006 for hostapd by  doxygen 1.4.2