]> git.ipfire.org Git - thirdparty/hostap.git/commit
SAE: Update PT value at later point for SME cases, if needed
authorJouni Malinen <quic_jouni@quicinc.com>
Mon, 30 Jan 2023 21:09:53 +0000 (23:09 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 30 Jan 2023 21:23:22 +0000 (23:23 +0200)
commitbf124a03d58d9a6758f797a8cc99ec0d30b2b0e2
tree578a0f46a38f27a161ddb38f705fe2148342ca1e
parent1aadcca0a78f3e9c524974c0361962686834b325
SAE: Update PT value at later point for SME cases, if needed

It was possible to hit a case where the SAE PT had not yet been derived,
e.g., when using P2P group re-invocation. Update PT use at the time
authentication is started, if needed, to avoid this. While this is not
really ideal from the externally observable timing view point, this is
done only for the case where there is no other option available with a
dynamically changing network configuration for P2P. Similar design was
already in place for the SAE offload-from-driver (external auth) case.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
wpa_supplicant/sme.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h