00001 /* 00002 * Diffie-Hellman group 5 operations 00003 * Copyright (c) 2009, 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 DH_GROUP5_H 00016 #define DH_GROUP5_H 00017 00018 void * dh5_init(struct wpabuf **priv, struct wpabuf **publ); 00019 struct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public, 00020 const struct wpabuf *own_private); 00021 void dh5_free(void *ctx); 00022 00023 #endif /* DH_GROUP5_H */