|
@@ -2158,7 +2158,7 @@ static int fils_aead_decrypt(const uint8_t *kek, unsigned int kek_len,
|
|
|
}
|
|
|
|
|
|
if (!own_mac || !bssid || !snonce ||
|
|
|
- !anonce || data_len == 0 || ciphered_text_len == 0 ||
|
|
|
+ !anonce || data_len == 0 || ciphered_text_len < AES_BLOCK_SIZE ||
|
|
|
!plain_text) {
|
|
|
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR,
|
|
|
FL("Error missing params mac:%pK bssid:%pK snonce:%pK anonce:%pK data_len:%zu ciphered_text_len:%zu plain_text:%pK"),
|