]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/ap/wpa_auth.c
Fix Suite B 192-bit AKM to use proper PMK length
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 13 Oct 2015 22:18:11 +0000 (01:18 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 14 Oct 2015 15:43:26 +0000 (18:43 +0300)
commit207976f053997a604b50733f874b88651b453905
tree51d5fdafb69d3cc608689ddc4580a76098190cf7
parentae7d9fbd3d037f7e123f71cbe29f858c901a1532
Fix Suite B 192-bit AKM to use proper PMK length

In addition to the PTK length increasing, the length of the PMK was
increased (from 256 to 384 bits) for the 00-0f-ac:12 AKM. This part was
missing from the initial implementation and a fixed length (256-bit) PMK
was used for all AKMs.

Fix this by adding more complete support for variable length PMK and use
384 bits from MSK instead of 256 bits when using this AKM. This is not
backwards compatible with the earlier implementations.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/ieee802_1x.c
src/ap/pmksa_cache_auth.c
src/ap/pmksa_cache_auth.h
src/ap/wpa_auth.c
src/ap/wpa_auth.h
src/ap/wpa_auth_i.h
src/common/wpa_common.h
src/rsn_supp/pmksa_cache.c
src/rsn_supp/pmksa_cache.h
src/rsn_supp/wpa.c
src/rsn_supp/wpa_i.h