mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
wpa_supplicant: set cipher key_len for AES 128 CMAC
This commit is contained in:
@@ -597,6 +597,7 @@ int wpa_cipher_key_len(int cipher)
|
||||
switch (cipher) {
|
||||
case WPA_CIPHER_CCMP:
|
||||
case WPA_CIPHER_GCMP:
|
||||
case WPA_CIPHER_AES_128_CMAC:
|
||||
return 16;
|
||||
case WPA_CIPHER_TKIP:
|
||||
return 32;
|
||||
|
Reference in New Issue
Block a user