wpa_supplicant / hostapd
2.5
|
Diffie-Hellman groups. More...
Go to the source code of this file.
Data Structures | |
struct | dh_group |
Functions | |
const struct dh_group * | dh_groups_get (int id) |
struct wpabuf * | dh_init (const struct dh_group *dh, struct wpabuf **priv) |
Initialize Diffie-Hellman handshake. More... | |
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. More... | |
Diffie-Hellman groups.
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.
peer_public | Diffie-Hellman public value from peer |
own_private | Diffie-Hellman private key from dh_init() |
dh | Selected Diffie-Hellman group |