浏览代码

qca-wifi: Changing MIC length for GCMP cipher

Target assert is observed due to sending insufficient MIC data for
GCMP cipher suite. So, Changing the MIC length for GCMP ciphher
suite from 8 to 16 bytes

Change-Id: I5a407f9eb0cca70b498d91eac2f60f1b8d16fb69
Shiva Sankar Gajula 5 年之前
父节点
当前提交
16c74d3294
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      crypto/src/wlan_crypto_ccmp.c

+ 1 - 1
crypto/src/wlan_crypto_ccmp.c

@@ -274,7 +274,7 @@ const struct wlan_crypto_cipher gcmp_cipher_table = {
 	WLAN_CRYPTO_CIPHER_AES_GCM,
 	WLAN_CRYPTO_IV_LEN + WLAN_CRYPTO_KEYID_LEN + WLAN_CRYPTO_EXT_IV_LEN,
 	0,
-	WLAN_CRYPTO_MIC_LEN,
+	WLAN_CRYPTO_MIC256_LEN,
 	128,
 	ccmp_setkey,
 	ccmp_encap,