FT: Accept 512-bit PMK-R1 from RRB
This will be needed for FT-SAE-KEY-EXT. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
eb0821c90c
commit
efa0f51d33
1 changed files with 2 additions and 1 deletions
|
@ -4105,7 +4105,8 @@ static int wpa_ft_rrb_rx_r1(struct wpa_authenticator *wpa_auth,
|
|||
pmk_r1_len = PMK_LEN;
|
||||
if (wpa_ft_rrb_get_tlv(plain, plain_len, FT_RRB_PMK_R1, &f_pmk_r1_len,
|
||||
&f_pmk_r1) == 0 &&
|
||||
(f_pmk_r1_len == PMK_LEN || f_pmk_r1_len == SHA384_MAC_LEN))
|
||||
(f_pmk_r1_len == PMK_LEN || f_pmk_r1_len == SHA384_MAC_LEN ||
|
||||
f_pmk_r1_len == SHA512_MAC_LEN))
|
||||
pmk_r1_len = f_pmk_r1_len;
|
||||
RRB_GET(FT_RRB_PMK_R1, pmk_r1, msgtype, pmk_r1_len);
|
||||
wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", f_pmk_r1, pmk_r1_len);
|
||||
|
|
Loading…
Reference in a new issue