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
1 changed files with 10 additions and 0 deletions

View File

@ -336,6 +336,16 @@ static bool handshake_get_key_sizes(struct handshake_state *s, size_t *ptk_size,
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;
default:
kck = 16;