dh_group5.h revision 214734
1234370Sjasone/* 2234370Sjasone * Diffie-Hellman group 5 operations 3234370Sjasone * Copyright (c) 2009, Jouni Malinen <j@w1.fi> 4234370Sjasone * 5234370Sjasone * This program is free software; you can redistribute it and/or modify 6286866Sjasone * it under the terms of the GNU General Public License version 2 as 7234370Sjasone * published by the Free Software Foundation. 8234370Sjasone * 9234370Sjasone * Alternatively, this software may be distributed under the terms of BSD 10234370Sjasone * license. 11234370Sjasone * 12234370Sjasone * See README and COPYING for more details. 13234370Sjasone */ 14234370Sjasone 15234370Sjasone#ifndef DH_GROUP5_H 16234370Sjasone#define DH_GROUP5_H 17234370Sjasone 18296221Sjasonevoid * dh5_init(struct wpabuf **priv, struct wpabuf **publ); 19296221Sjasonestruct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public, 20299587Sjasone const struct wpabuf *own_private); 21299587Sjasonevoid dh5_free(void *ctx); 22296221Sjasone 23296221Sjasone#endif /* DH_GROUP5_H */ 24296221Sjasone