]> git.ipfire.org Git - thirdparty/hostap.git/commit
EAP-PEAP: Derive EMSK and use 128-octet derivation for MSK
authorJouni Malinen <j@w1.fi>
Fri, 1 Feb 2019 21:52:28 +0000 (23:52 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 1 Feb 2019 21:52:28 +0000 (23:52 +0200)
commit4e1cd3468e5003210b7ca13fafbc64486e5145f0
treee716ffe354a925d46dfed45208b0d03a937d6565
parenta2674fd902dd02320749d2558023eb16354d1e8f
EAP-PEAP: Derive EMSK and use 128-octet derivation for MSK

Derive EMSK when using EAP-PEAP to enable ERP. In addition, change the
MSK derivation for EAP-PEAP to always derive 128 octets of key material
instead of the 64 octets to cover just the MSK. This is needed with the
PRF used in TLS 1.3 since the output length is mixed into the PRF
context.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/eap_peer/eap_peap.c
src/eap_server/eap_server_peap.c