FILS: Implement FILS-FT derivation
This extends fils_pmk_to_ptk() to allow FILS-FT to be derived. The callers do not yet use that capability; i.e., actual use will be added in separate commits. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
80ddf5d995
commit
215eaa748b
4 changed files with 28 additions and 7 deletions
|
@ -2092,7 +2092,7 @@ int fils_auth_pmk_to_ptk(struct wpa_state_machine *sm, const u8 *pmk,
|
|||
|
||||
res = fils_pmk_to_ptk(pmk, pmk_len, sm->addr, sm->wpa_auth->addr,
|
||||
snonce, anonce, &sm->PTK, ick, &ick_len,
|
||||
sm->wpa_key_mgmt, sm->pairwise);
|
||||
sm->wpa_key_mgmt, sm->pairwise, NULL, NULL);
|
||||
if (res < 0)
|
||||
return res;
|
||||
sm->PTK_valid = TRUE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue