3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-29 22:19:23 +01:00

handshake: handle FILS AKMs in handshake_get_key_sizes

This commit is contained in:
James Prestwood 2019-04-04 15:29:38 -07:00 committed by Denis Kenzior
parent 9b83f3d2db
commit e15cb7133a

View File

@ -336,6 +336,16 @@ static bool handshake_get_key_sizes(struct handshake_state *s, size_t *ptk_size,
return false; return false;
} }
break;
case IE_RSN_AKM_SUITE_FILS_SHA256:
case IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA256:
kck = 0;
kek = 32;
break;
case IE_RSN_AKM_SUITE_FILS_SHA384:
case IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA384:
kck = 0;
kek = 64;
break; break;
default: default:
kck = 16; kck = 16;