Lines Matching refs:KeyLength
170 if((pKeyDesc->KeyLength != WEP_KEY_LEN_40) &&
171 (pKeyDesc->KeyLength != WEP_KEY_LEN_104) &&
172 (pKeyDesc->KeyLength != WEP_KEY_LEN_232) &&
173 (pKeyDesc->KeyLength != CKIP_KEY_LEN) &&
174 (pKeyDesc->KeyLength != TKIP_KEY_LEN) &&
175 (pKeyDesc->KeyLength != AES_KEY_LEN) )
179 ("EXT_KEY_PARSER: ERROR: Incorrect key length - %d \n", pKeyDesc->KeyLength));
190 if ((pKeyDesc->KeyLength == WEP_KEY_LEN_40) ||
191 (pKeyDesc->KeyLength == WEP_KEY_LEN_104) ||
192 (pKeyDesc->KeyLength == WEP_KEY_LEN_232))
220 if (!((pKeyDesc->KeyLength == WEP_KEY_LEN_40) || (pKeyDesc->KeyLength == WEP_KEY_LEN_104)
221 || (pKeyDesc->KeyLength == WEP_KEY_LEN_232)))
224 ("WEP_KEY_PARSER: ERROR: Invalid Key length: %d !!!\n", pKeyDesc->KeyLength));
228 os_memoryCopy(pKeyParser->hOs, &keyBuffer[0], pKeyDesc->KeyMaterial, pKeyDesc->KeyLength);
234 encodedKeyMaterial.keyLen = pKeyDesc->KeyLength;
238 if ((pKeyDesc->KeyLength == CKIP_KEY_LEN) && (pKeyParser->pPaeConfig->unicastSuite == RSN_CIPHER_CKIP))
240 os_memoryCopy(pKeyParser->hOs, &keyBuffer[0], pKeyDesc->KeyMaterial, pKeyDesc->KeyLength);
241 encodedKeyMaterial.keyLen = pKeyDesc->KeyLength;
246 pKeyDesc->KeyMaterial, pKeyDesc->KeyLength);
248 encodedKeyMaterial.keyLen = MAC_ADDR_LEN+KEY_RSC_LEN+pKeyDesc->KeyLength;
256 pKeyDesc->KeyIndex, pKeyDesc->KeyLength