2 * Diffie-Hellman groups
3 * Copyright (c) 2007, Jouni Malinen <j@w1.fi>
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
20 unsigned int safe_prime:1;
23 const struct dh_group * dh_groups_get(int id);
24 struct wpabuf * dh_init(const struct dh_group *dh, struct wpabuf **priv);
25 struct wpabuf * dh_derive_shared(const struct wpabuf *peer_public,
26 const struct wpabuf *own_private,
27 const struct dh_group *dh);
29 #endif /* DH_GROUPS_H */