dh_groups.h

Go to the documentation of this file.
00001 
00016 #ifndef DH_GROUPS_H
00017 #define DH_GROUPS_H
00018 
00019 struct dh_group {
00020         int id;
00021         const u8 *generator;
00022         size_t generator_len;
00023         const u8 *prime;
00024         size_t prime_len;
00025 };
00026 
00027 const struct dh_group * dh_groups_get(int id);
00028 struct wpabuf * dh_init(const struct dh_group *dh, struct wpabuf **priv);
00029 struct wpabuf * dh_derive_shared(const struct wpabuf *peer_public,
00030                                  const struct wpabuf *own_private,
00031                                  const struct dh_group *dh);
00032 
00033 #endif /* DH_GROUPS_H */
00034 
 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