struct wpabuf * dh_init(const struct dh_group *dh, struct wpabuf **priv)
Initialize Diffie-Hellman handshake.
Definition: dh_groups.c:1189
struct wpabuf * dh_derive_shared(const struct wpabuf *peer_public, const struct wpabuf *own_private, const struct dh_group *dh)
Derive shared Diffie-Hellman key.
Definition: dh_groups.c:1241