aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2019-03-17 21:51:53 (GMT)
committerJouni Malinen <j@w1.fi>2019-03-18 16:32:31 (GMT)
commit10ec6a5f38f1dfee75aeb7a0358271dc4d56834f (patch)
tree2db06b37f09e7548c075896d813642cad4a6ae95 /src/ap/wpa_auth_i.h
parentecacd9ccd45682949f5136ea4f18e131a159846c (diff)
downloadhostap-10ec6a5f38f1dfee75aeb7a0358271dc4d56834f.zip
hostap-10ec6a5f38f1dfee75aeb7a0358271dc4d56834f.tar.gz
hostap-10ec6a5f38f1dfee75aeb7a0358271dc4d56834f.tar.bz2
DPP2: PFS for PTK derivation
Use Diffie-Hellman key exchange to derivate additional material for PMK-to-PTK derivation to get PFS. The Diffie-Hellman Parameter element (defined in OWE RFC 8110) is used in association frames to exchange the DH public keys. For backwards compatibility, ignore missing request/response DH parameter and fall back to no PFS in such cases. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'src/ap/wpa_auth_i.h')
-rw-r--r--src/ap/wpa_auth_i.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ap/wpa_auth_i.h b/src/ap/wpa_auth_i.h
index a3164d2..3dcf77a 100644
--- a/src/ap/wpa_auth_i.h
+++ b/src/ap/wpa_auth_i.h
@@ -151,6 +151,10 @@ struct wpa_state_machine {
unsigned int fils_completed:1;
#endif /* CONFIG_FILS */
+#ifdef CONFIG_DPP2
+ struct wpabuf *dpp_z;
+#endif /* CONFIG_DPP2 */
+
#ifdef CONFIG_TESTING_OPTIONS
void (*eapol_status_cb)(void *ctx1, void *ctx2);
void *eapol_status_cb_ctx1;