Cannot connect to AP with WPA2 and AES

Belisko Marek marek.belisko at gmail.com
Sun Jun 4 23:37:05 PDT 2017


Hi,

I'm using wpa_supplicant v2.4 on custom x86 platform. When I'm trying
connect to AP with WPA2 and AES encryption I cannot connect due to the
errors like (with TKIP it works fine):

selftest for CFB failed - see syslog for details
wlan0: WPA: AES unwrap failed - could not decrypt EAPOL-Key key data
wlan0: WPA: AES unwrap failed - could not decrypt EAPOL-Key key data
wlan0: WPA: AES unwrap failed - could not decrypt EAPOL-Key key data
wlan0: WPA: AES unwrap failed - could not decrypt EAPOL-Key key data
wlan0: WPA: AES unwrap failed - could not decrypt EAPOL-Key key data
wlan0: WPA: AES unwrap failed - could not decrypt EAPOL-Key key data
wlan0: WPA: AES unwrap failed - could not decrypt EAPOL-Key key data
wlan0: WPA: AES unwrap failed - could not decrypt EAPOL-Key key data
wlan0: CTRL-EVENT-DISCONNECTED bssid=74:d0:2b:8a:b1:60 reason=0
wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="mywifi"
auth_failures=1 duration=10 reason=WRONG_KEY

and when inspecting syslog I found :
Libgcrypt warning: AES-CFB-128 test failed (plaintext mismatch, parallel path)

I'm using libgcryp 1.6.3 and whole system is build using yocto.
Compared to my laptop with same version of wpa_suplicant (v2.4) but
libgcrypt was 1.6.5 it works fine here . Could it be some missing
configuration or any pointer where to look? Thanks a lot.

BR,

marek


-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com



More information about the Hostap mailing list