소스 검색

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,