mesh: Fix AEK derivation to use AKM suite selector
authorJouni Malinen <j@w1.fi>
Sat, 18 Jun 2016 11:17:34 +0000 (14:17 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 18 Jun 2016 12:53:22 +0000 (15:53 +0300)
commita59c5e9235f1f5c9b786fde80b0355e1ef74a61a
treefaf84ae9f030dfe84d5c8454543ccbd9919c150c
parent18aca1a07dfae1ea5c7661166dfba6e6dd0111aa
mesh: Fix AEK derivation to use AKM suite selector

mesh_rsn_derive_aek() was hardcoded to use GCMP (even though CCMP was
hardcoded elsewhere) cipher suite selector instead of the selected AKM
suite selector. This resulted in incorrect AEK getting derived. Fix this
by used the SAE AKM suite selector in the input to the KDF.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/mesh_rsn.c