forked from espressif/esp-idf
Merge branch 'bugfix/set_cipher_key_len' into 'release/v4.3'
wpa_supplicant: set cipher key_len for AES 128 CMAC See merge request espressif/esp-idf!21945
This commit is contained in:
@@ -597,6 +597,7 @@ int wpa_cipher_key_len(int cipher)
|
|||||||
switch (cipher) {
|
switch (cipher) {
|
||||||
case WPA_CIPHER_CCMP:
|
case WPA_CIPHER_CCMP:
|
||||||
case WPA_CIPHER_GCMP:
|
case WPA_CIPHER_GCMP:
|
||||||
|
case WPA_CIPHER_AES_128_CMAC:
|
||||||
return 16;
|
return 16;
|
||||||
case WPA_CIPHER_TKIP:
|
case WPA_CIPHER_TKIP:
|
||||||
return 32;
|
return 32;
|
||||||
|
Reference in New Issue
Block a user