]> git.ipfire.org Git - thirdparty/hostap.git/commit
EAP-TEAP peer: Process Crypto-Binding TLV before EAP Payload TLV
authorJouni Malinen <quic_jouni@quicinc.com>
Thu, 1 Dec 2022 15:00:56 +0000 (17:00 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 1 Dec 2022 15:53:05 +0000 (17:53 +0200)
commitf791b5bbc7ec65403506dd62cf3220b98b0e0217
tree0e53640a1b1ad8ab9d3ac780997c03146d3f69e8
parent5a9bd8a06a110fa77e63f497ba165a018a2a3415
EAP-TEAP peer: Process Crypto-Binding TLV before EAP Payload TLV

When using the optimized EAP method sequence within the tunnel, crypto
binding for the previous EAP method can be performed in the same message
with the start of the next EAP method. The Crypto-Binding TLV needs to
be processed before moving to the next EAP method for IMSK to be derived
correctly, so swap the order of these processing steps.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/eap_peer/eap_teap.c