fragattacks/src/common
Jouni Malinen 6513db3e96 SAE: Minimize timing differences in PWE derivation
The QR test result can provide information about the password to an
attacker, so try to minimize differences in how the
sae_test_pwd_seed_ecc() result is used. (CVE-2019-9494)

Use heap memory for the dummy password to allow the same password length
to be used even with long passwords.

Use constant time selection functions to track the real vs. dummy
variables so that the exact same operations can be performed for both QR
test results.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-04-09 17:11:15 +03:00
..
cli.c cli: Share a common tokenize_cmd() implementation 2016-08-06 12:46:39 +03:00
cli.h cli: Share a common tokenize_cmd() implementation 2016-08-06 12:46:39 +03:00
common_module_tests.c tests: Fix build without CONFIG_SAE 2019-04-09 16:24:38 +03:00
ctrl_iface_common.c hostapd: Add wpa_msg_ctrl() to report Probe Request frames from STA 2017-11-23 20:12:34 +02:00
ctrl_iface_common.h hostapd: Add wpa_msg_ctrl() to report Probe Request frames from STA 2017-11-23 20:12:34 +02:00
defs.h Avoid forward references to enum types in ieee802_11_common.h 2019-01-07 17:26:40 +02:00
dhcp.h FILS: Fix fils_hlp.c build with older netinet/udp.h definitions 2017-02-26 12:18:29 +02:00
dpp.c DPP: Move GAS encapsulation into dpp_build_conf_req() 2019-04-03 19:10:47 +03:00
dpp.h DPP: Fix a regression in non-DPP, non-OpenSSL builds 2019-04-08 18:13:19 +03:00
eapol_common.h PAE: Use be16/be32 instead of u16/u32 for spartse 2016-06-24 01:38:48 +03:00
gas_server.c DPP: Fix error path handling for GAS Comeback Response building 2018-11-25 13:51:26 +02:00
gas_server.h DPP: Configuration exchange 2017-06-19 21:13:15 +03:00
gas.c DPP: Configuration exchange 2017-06-19 21:13:15 +03:00
gas.h DPP: Configuration exchange 2017-06-19 21:13:15 +03:00
hw_features_common.c hostapd: Add supported channel bandwidth checking infrastructure 2019-01-06 11:54:34 +02:00
hw_features_common.h hostapd: Add supported channel bandwidth checking infrastructure 2019-01-06 11:54:34 +02:00
ieee802_1x_defs.h mka: Support GCM-AES-256 2018-08-21 19:28:20 +03:00
ieee802_11_common.c Add HE Capabilities into ieee802_11_parse_elems() 2019-02-15 02:09:41 +02:00
ieee802_11_common.h Add HE Capabilities into ieee802_11_parse_elems() 2019-02-15 02:09:41 +02:00
ieee802_11_defs.h Fix a typo in the Multiple BSSID Index element ID define 2019-04-08 23:42:12 +03:00
linux_bridge.h vlan: Use new bridge ioctl() 2019-01-02 00:23:43 +02:00
linux_vlan.h Use own header file for defining Linux VLAN kernel interface 2016-03-26 11:24:38 +02:00
Makefile tests: Add p2p-fuzzer 2015-04-22 11:44:19 +03:00
ocv.c OCV: Add function to verify a received OCI element 2018-12-17 00:02:14 +02:00
ocv.h OCV: Add function to verify a received OCI element 2018-12-17 00:02:14 +02:00
privsep_commands.h Remove all PeerKey functionality 2017-10-16 02:03:47 +03:00
qca-vendor-attr.h Make qca-vendor.h independent of other header files 2014-04-25 11:41:36 +03:00
qca-vendor.h Add a QCA vendor attribute to carry the reason for roaming 2019-04-05 21:15:16 +03:00
sae.c SAE: Minimize timing differences in PWE derivation 2019-04-09 17:11:15 +03:00
sae.h SAE: Reuse previously generated PWE on a retry with the same AP 2019-03-06 13:07:11 +02:00
tnc.h tests: TNC testing 2014-05-17 20:05:55 +03:00
version.h The master branch is now used for v2.8 development 2018-12-02 22:55:28 +02:00
wpa_common.c FILS: Fix KEK2 derivation for FILS+FT 2019-03-20 22:26:56 +02:00
wpa_common.h DPP2: Extend wpa_pmk_to_ptk() to support extra Z.x component in context 2019-03-18 01:31:31 +02:00
wpa_ctrl.c Android: Harden wpa_ctrl_open2() against potential race conditions 2019-01-06 20:20:20 +02:00
wpa_ctrl.h WNM: Collocated Interference Reporting 2018-10-30 14:07:51 +02:00
wpa_helpers.c wpa_helpers: Ignore link-local IPv4 address while waiting for DHCP 2017-03-26 21:13:21 +03:00
wpa_helpers.h Add wpa_ctrl helper functions for upper level functionality 2014-03-12 01:09:21 +02:00