hostapd/src
Jouni Malinen ca68a8b561 WPS: Explicitly reject Public Key attribute with unexpected length
There is no need to try to derive DH shared key with a peer that tries
to use too short or too long DH Public Key. Previously, such cases ended
up implicitly getting rejected by the DH operations failing to produce
matching results. That is unnecessarily, so simply reject the message
completely if it does not have a Public Key with valid length. Accept
couple of octets shorter value to be used to avoid interoperability
issues if there are implementations that do not use zero-padding
properly.

Signed-off-by: Jouni Malinen <j@w1.fi>
2015-04-22 22:05:12 +03:00
..
ap Simplify HT Operation element parsing 2015-04-22 22:05:11 +03:00
common Simplify VHT Operation element parsing 2015-04-22 22:05:12 +03:00
crypto OpenSSL: Clean up TLS PRF implementation 2015-04-22 11:17:26 +03:00
drivers Use SSID_MAX_LEN define instead of value 32 when comparing SSID length 2015-04-22 11:44:18 +03:00
eap_common tests: Add eapol-fuzzer 2015-04-22 11:44:19 +03:00
eap_peer tests: Add eapol-fuzzer 2015-04-22 11:44:19 +03:00
eap_server tests: Add ap-mgmt-fuzzer 2015-04-22 11:44:19 +03:00
eapol_auth tests: Add ap-mgmt-fuzzer 2015-04-22 11:44:19 +03:00
eapol_supp tests: Add eapol-fuzzer 2015-04-22 11:44:19 +03:00
l2_packet tests: Add eapol-fuzzer 2015-04-22 11:44:19 +03:00
p2p WPS: Truncate variable length string attributes to maximum length 2015-04-22 22:05:12 +03:00
pae MACsec: Update protect frames and replay on reauthentication 2014-12-09 16:56:10 +02:00
radius tests: Add ap-mgmt-fuzzer 2015-04-22 11:44:19 +03:00
rsn_supp Simplify VHT Capabilities element parsing 2015-04-22 22:05:11 +03:00
tls Remove master key extraction from tls_connection_get_keys() 2015-03-31 15:52:40 +03:00
utils tests: Add a module test for wpa_ssid_txt() with too long SSID 2015-04-22 11:44:19 +03:00
wps WPS: Explicitly reject Public Key attribute with unexpected length 2015-04-22 22:05:12 +03:00
lib.rules Add QUIET=1 option for make 2014-12-29 15:49:05 +02:00
Makefile MACsec: Add PAE implementation 2014-05-09 20:42:44 +03:00