mka: Allow 256-bit CAK to be configured for PSK mode
This allows 256-bit CAK to be used as the root key in the MKA key hierarchy. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
7a29984888
commit
871439b5d5
4 changed files with 18 additions and 11 deletions
|
@ -419,7 +419,7 @@ void * ieee802_1x_create_preshared_mka(struct wpa_supplicant *wpa_s,
|
|||
if (wpa_s->kay->policy == DO_NOT_SECURE)
|
||||
goto dealloc;
|
||||
|
||||
cak->len = MACSEC_CAK_LEN;
|
||||
cak->len = ssid->mka_cak_len;
|
||||
os_memcpy(cak->key, ssid->mka_cak, cak->len);
|
||||
|
||||
ckn->len = ssid->mka_ckn_len;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue