aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThomas Pedersen <thomas@noack.us>2014-09-01 04:23:29 (GMT)
committerJouni Malinen <j@w1.fi>2014-11-16 17:43:06 (GMT)
commit0f950df0298a91d9696da15933ef6e7bc291cfa4 (patch)
tree2a6f37af66cd4f411e756b5666bd839ddeaf0623 /src
parent88cb27c7a5164f8ffe465e4f1a4ae5f5f7bea91c (diff)
downloadhostap-0f950df0298a91d9696da15933ef6e7bc291cfa4.zip
hostap-0f950df0298a91d9696da15933ef6e7bc291cfa4.tar.gz
hostap-0f950df0298a91d9696da15933ef6e7bc291cfa4.tar.bz2
mesh: Add mesh robust security network
This implementation provides: - Mesh SAE authentication mechanism - Key management (set/get PSK) - Cryptographic key establishment - Enhanced protection mechanisms for robust management frames Signed-off-by: Javier Lopez <jlopex@gmail.com> Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: Jason Mobarak <x@jason.mobarak.name> Signed-off-by: Thomas Pedersen <thomas@noack.us>
Diffstat (limited to 'src')
-rw-r--r--src/ap/sta_info.h5
-rw-r--r--src/ap/wpa_auth.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ap/sta_info.h b/src/ap/sta_info.h
index 25edd7f..8ba3ff2 100644
--- a/src/ap/sta_info.h
+++ b/src/ap/sta_info.h
@@ -61,6 +61,11 @@ struct sta_info {
u16 my_lid;
u16 mpm_close_reason;
int mpm_retries;
+ u8 my_nonce[32];
+ u8 peer_nonce[32];
+ u8 aek[32]; /* SHA256 digest length */
+ u8 mtk[16];
+ u8 mgtk[16];
#endif /* CONFIG_MESH */
unsigned int nonerp_set:1;
diff --git a/src/ap/wpa_auth.h b/src/ap/wpa_auth.h
index 2a5bc1a..757e49e 100644
--- a/src/ap/wpa_auth.h
+++ b/src/ap/wpa_auth.h
@@ -213,6 +213,9 @@ struct wpa_auth_callbacks {
int (*add_tspec)(void *ctx, const u8 *sta_addr, u8 *tspec_ie,
size_t tspec_ielen);
#endif /* CONFIG_IEEE80211R */
+#ifdef CONFIG_MESH
+ int (*start_ampe)(void *ctx, const u8 *sta_addr);
+#endif /* CONFIG_MESH */
};
struct wpa_authenticator * wpa_init(const u8 *addr,