iwd/src
James Prestwood b9fac0fd14 sae: fix sae to not hard code peer address
SAE is meant to work in a peer-to-peer fashion where neither side acts
as a dedicated authenticator or supplicant. This was not the case with
the current code. The handshake state authenticator address was hard
coded as the destination address for all packets, which will not work
when mesh comes into play. This also made unit testing the full SAE
procedure with two sae_sm's impossible.

This patch adds a peer address element to sae_sm which is filled with
either aa/spa based on the value of handshake->authenticator
2018-08-15 13:26:45 -05:00
..
adhoc.c eapol: removed authenticator bit and auth register 2018-08-15 12:40:38 -05:00
adhoc.h device: added DEVICE_EVENT_MODE_CHANGED 2018-07-17 18:52:59 -05:00
agent.c agent: Add new request types 2018-04-19 11:49:41 -05:00
agent.h agent: Add new request types 2018-04-19 11:49:41 -05:00
ap.c eapol: removed authenticator bit and auth register 2018-08-15 12:40:38 -05:00
ap.h device: added DEVICE_EVENT_MODE_CHANGED 2018-07-17 18:52:59 -05:00
backtrace.c build: check for existence of execinfo.h 2018-05-17 17:42:28 -05:00
backtrace.h backtrace: Try to find absolute executable path 2017-03-16 15:17:41 -05:00
common.c wsc: Rework wsc_init & wsc_exit 2018-07-17 19:19:09 -05:00
common.h scan: Move scan_get_security to common.c 2018-05-24 19:22:16 -05:00
crypto.c crypto: Use l_pkcs5_pbkdf2 in place of local pbkdf2_sha1 2017-10-09 14:34:31 -05:00
crypto.h ie: Add AKMs from 802.11-2016 2018-07-19 11:09:08 -05:00
dbus.c dbus: Add dbus_iftype_to_string 2018-08-07 16:19:39 -05:00
dbus.h dbus: Add dbus_iftype_to_string 2018-08-07 16:19:39 -05:00
device.c device: Move device_init/device_exit to iwd.h 2018-08-14 14:57:19 -05:00
device.h device: Move device_init/device_exit to iwd.h 2018-08-14 14:57:19 -05:00
eap-aka.c eap: Separate private bits into eap-private.h 2018-06-14 20:01:19 -05:00
eap-gtc.c eap-gtc: Fix reading secret from settings 2018-08-08 19:43:08 -05:00
eap-md5.c eap: Separate private bits into eap-private.h 2018-06-14 20:01:19 -05:00
eap-mschapv2.c eap: Add secret cache policy types 2018-08-08 19:43:05 -05:00
eap-mschapv2.h eap-mschap: Add crypto functions for mschapv2 2016-12-14 22:46:18 -06:00
eap-peap.c eap: Add secret cache policy types 2018-08-08 19:43:05 -05:00
eap-private.h eap: Separate private bits into eap-private.h 2018-06-14 20:01:19 -05:00
eap-pwd.c eap: Add secret cache policy types 2018-08-08 19:43:05 -05:00
eap-sim.c eap: Separate private bits into eap-private.h 2018-06-14 20:01:19 -05:00
eap-tls.c eap: Add secret cache policy types 2018-08-08 19:43:05 -05:00
eap-ttls.c eap: Add secret cache policy types 2018-08-08 19:43:05 -05:00
eap-wsc.c eap: Separate private bits into eap-private.h 2018-06-14 20:01:19 -05:00
eap-wsc.h eap-wsc: Send credential obtained events 2016-09-13 13:32:47 -05:00
eap.c eap: Add secret cache policy types 2018-08-08 19:43:05 -05:00
eap.h eap: Add secret cache policy types 2018-08-08 19:43:05 -05:00
eapol.c eapol: removed authenticator bit and auth register 2018-08-15 12:40:38 -05:00
eapol.h eapol: removed authenticator bit and auth register 2018-08-15 12:40:38 -05:00
ecc.c ecc: added Y^2 and legendre API's 2018-08-07 17:40:55 -05:00
ecc.h ecc: added Y^2 and legendre API's 2018-08-07 17:40:55 -05:00
ftutil.c netdev: Handle the FT Authentication Response message 2017-01-12 10:33:40 -06:00
ftutil.h netdev: Handle the FT Authentication Response message 2017-01-12 10:33:40 -06:00
genbuiltin make: plugin system for build 2017-11-28 13:20:33 -06:00
handshake.c handshake: introduce authenticator bit 2018-08-15 12:40:35 -05:00
handshake.h handshake: introduce authenticator bit 2018-08-15 12:40:35 -05:00
ie.c ie: Add AKMs from 802.11-2016 2018-07-19 11:09:08 -05:00
ie.h ie: Add AKMs from 802.11-2016 2018-07-19 11:09:08 -05:00
iwd-dbus.conf dbus: Add hwsim interface to DBus policy file 2017-03-09 11:45:41 -06:00
iwd.h device: Move device_init/device_exit to iwd.h 2018-08-14 14:57:19 -05:00
iwd.service.in net.connman.iwd.service: Change SystemdService name to iwd.service 2018-08-09 10:45:16 -05:00
knownnetworks.c knownnetworks: Expose known_network_get_path 2018-08-14 13:35:23 -05:00
knownnetworks.h knownnetworks: move known_networks_init/exit to iwd.h 2018-08-14 13:36:48 -05:00
main.c device: Move device_init/device_exit to iwd.h 2018-08-14 14:57:19 -05:00
mpdu.c mpdu: Refactor Authentication frame validation 2017-09-22 12:18:06 -05:00
mpdu.h mpdu: Also update comment to reflect 2016 spec 2018-08-07 17:23:26 -05:00
net.connman.iwd.service net.connman.iwd.service: Change SystemdService name to iwd.service 2018-08-09 10:45:16 -05:00
netdev.c eapol: removed authenticator bit and auth register 2018-08-15 12:40:38 -05:00
netdev.h netdev: synchronize iftypes with nl80211 2018-08-07 16:12:12 -05:00
network.c network: Implement Network.KnownNetwork property 2018-08-14 14:57:16 -05:00
network.h network: Implement Network.KnownNetwork property 2018-08-14 14:57:16 -05:00
plugin.c plugins: module to load ell plugins 2017-11-28 13:30:06 -06:00
plugin.h plugins: module to load ell plugins 2017-11-28 13:30:06 -06:00
rfkill.c rfkill: Fix wiphy ID lookup 2016-07-20 15:29:39 -05:00
rfkill.h Add rfkill enable/disable and watch support 2016-07-07 13:21:08 -05:00
sae.c sae: fix sae to not hard code peer address 2018-08-15 13:26:45 -05:00
sae.h sae: implementation 2018-08-13 20:40:59 -05:00
scan.c network: Refactor and move Known Networks management 2018-07-25 09:40:14 -05:00
scan.h scan: add ssid parameter 2018-06-29 13:48:09 -05:00
simauth.c main: Simplify sim_auth_init 2018-07-17 19:12:48 -05:00
simauth.h main: Simplify sim_auth_init 2018-07-17 19:12:48 -05:00
simutil.c eap: Separate private bits into eap-private.h 2018-06-14 20:01:19 -05:00
simutil.h eap: Separate private bits into eap-private.h 2018-06-14 20:01:19 -05:00
storage.c storage: use rename instead of unlink, link, unlink 2018-08-10 14:42:33 -05:00
storage.h storage: Expose get_network_file_path in the header 2018-08-09 10:25:56 -05:00
util.c util: Add util_ssid_is_hidden 2018-06-28 11:37:06 -05:00
util.h util: Add util_ssid_is_hidden 2018-06-28 11:37:06 -05:00
watchlist.c watchlist: Fix memory leak 2017-10-18 19:29:24 -05:00
watchlist.h watchlist: added macro for notifying with no args 2017-11-16 14:10:47 -06:00
wiphy.c wiphy: Support Adapter.SupportedModes property 2018-08-07 17:10:26 -05:00
wiphy.h wiphy: Parse & report supported interface types 2018-08-07 16:45:17 -05:00
wsc.c storage: Take enum security instead of string as parameter 2018-08-01 09:38:52 -05:00
wscutil.c wscutil: Fix invalid type conversion 2017-08-30 16:58:14 -05:00
wscutil.h wscutil: Add wsc_pin_generate 2017-02-17 12:27:13 -06:00