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 int 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 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len,
00024              u8 *mac);
00025 #ifdef CONFIG_FIPS
00026 int hmac_md5_vector_non_fips_allow(const u8 *key, size_t key_len,
00027                                    size_t num_elem, const u8 *addr[],
00028                                    const size_t *len, u8 *mac);
00029 int hmac_md5_non_fips_allow(const u8 *key, size_t key_len, const u8 *data,
00030                             size_t data_len, u8 *mac);
00031 #else /* CONFIG_FIPS */
00032 #define hmac_md5_vector_non_fips_allow hmac_md5_vector
00033 #define hmac_md5_non_fips_allow hmac_md5
00034 #endif /* CONFIG_FIPS */
00035 
00036 #endif /* MD5_H */
00037 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 21 23:16:50 2009 for hostapd by  doxygen 1.6.1