hostap/src
Andrei Otcheretianski 80662accb5 SAE: Don't use potentially uninitialized keys
If SAE_CONFIG_PK is not defined and sae->pk isn't zero (which is
possible as it is controlled by the commit message status code),
sae_derive_keys() may end up deriving PMK and KCK from an
uninitialized array. Fix that.

Fixes: 6b9e99e571 ("SAE-PK: Extend SAE functionality for AP validation")
Fixes: 20ccf97b3d ("SAE-PK: AP functionality")
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
2020-10-20 00:37:01 +03:00
..
ap DFS: Use helper functions for VHT/HE parameters 2020-10-14 13:05:11 +03:00
common SAE: Don't use potentially uninitialized keys 2020-10-20 00:37:01 +03:00
crypto OpenSSL: Make openssl_debug_dump_certificate() more robust 2020-10-19 22:57:24 +03:00
drivers macsec_linux: Fix receive-lowest-PN setting 2020-10-11 20:35:35 +03:00
eap_common build: Make more library things common 2020-10-12 20:20:35 +03:00
eap_peer eap_peer: Add .gitignore with *.so 2020-10-16 12:34:16 +03:00
eap_server build: Make more library things common 2020-10-12 20:20:35 +03:00
eapol_auth build: Make more library things common 2020-10-12 20:20:35 +03:00
eapol_supp build: Make more library things common 2020-10-12 20:20:35 +03:00
fst FST: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
l2_packet build: Make more library things common 2020-10-12 20:20:35 +03:00
p2p P2P: Stop old listen radio work before go to WAIT_PEER_IDLE state 2020-10-14 23:16:16 +03:00
pae MACsec: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
radius build: Make more library things common 2020-10-12 20:20:35 +03:00
rsn_supp build: Make more library things common 2020-10-12 20:20:35 +03:00
tls build: Make more library things common 2020-10-12 20:20:35 +03:00
utils build: Make more library things common 2020-10-12 20:20:35 +03:00
wps build: Make more library things common 2020-10-12 20:20:35 +03:00
build.rules build: Rebuild libs all the time 2020-10-12 20:18:02 +03:00
lib.rules build: lib.rules: Add common-clean 2020-10-16 12:51:12 +03:00
Makefile build: Add a common-clean target 2020-10-10 12:48:41 +03:00
objs.mk build: Fix dependency file inclusion 2020-10-12 11:05:16 +03:00