Searched refs:KeyLength (Results 1 - 18 of 18) sorted by relevance

/system/wlan/ti/wilink_6_1/stad/src/Connection_Managment/
H A DkeyParserExternal.c167 if((pKeyDesc->KeyLength != WEP_KEY_LEN_40) &&
168 (pKeyDesc->KeyLength != WEP_KEY_LEN_104) &&
169 (pKeyDesc->KeyLength != WEP_KEY_LEN_232) &&
170 (pKeyDesc->KeyLength != CKIP_KEY_LEN) &&
171 (pKeyDesc->KeyLength != TKIP_KEY_LEN) &&
172 (pKeyDesc->KeyLength != AES_KEY_LEN) )
175 TRACE1(pKeyParser->hReport, REPORT_SEVERITY_ERROR, "EXT_KEY_PARSER: ERROR: Incorrect key length - %d \n", pKeyDesc->KeyLength);
186 if ((pKeyDesc->KeyLength == WEP_KEY_LEN_40) ||
187 (pKeyDesc->KeyLength == WEP_KEY_LEN_104) ||
188 (pKeyDesc->KeyLength
[all...]
H A DkeyParserWep.c131 if ((pKeyDesc->KeyLength < MIN_KEY_LEN ) || (pKeyDesc->KeyLength >= MAX_KEY_LEN ))
133 TRACE1(pKeyParser->hReport, REPORT_SEVERITY_ERROR, "WEP_KEY_PARSER: ERROR: Key Length out of bounds=%d\n", pKeyDesc->KeyLength);
144 securityKey.encLen = (TI_UINT16)pKeyDesc->KeyLength;
146 os_memoryCopy(pKeyParser->hOs, (void *)securityKey.encKey, pKeyDesc->KeyMaterial, pKeyDesc->KeyLength);
148 TRACE2(pKeyParser->hReport, REPORT_SEVERITY_INFORMATION, "WEP_KEY_PARSER: Key received keyId=%x, keyLen=%d\n", pKeyDesc->KeyIndex, pKeyDesc->KeyLength);
H A Drsn.c503 rsnOsKey.KeyLength = pRsn->keys[keyIndex].encLen;
843 TRACE2(pRsn->hReport, REPORT_SEVERITY_INFORMATION, "RSN: Set RSN_ADD_KEY_PARAM KeyIndex %x , keyLength=%d\n", pParam->content.rsnOsKey.KeyIndex,pParam->content.rsnOsKey.KeyLength);
872 pRsn->keys[keyIndex].encLen = pParam->content.rsnOsKey.KeyLength;
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/rsn/
H A DkeyParserExternal.c170 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
[all...]
H A DkeyParserWep.c133 if ((pKeyDesc->KeyLength < MIN_KEY_LEN ) || (pKeyDesc->KeyLength >= MAX_KEY_LEN ))
136 ("WEP_KEY_PARSER: ERROR: Key Length out of bounds=%d\n", pKeyDesc->KeyLength));
148 securityKey.encLen = (UINT16)pKeyDesc->KeyLength;
150 os_memoryCopy(pKeyParser->hOs, (void *)securityKey.encKey, pKeyDesc->KeyMaterial, pKeyDesc->KeyLength);
154 pKeyDesc->KeyIndex, pKeyDesc->KeyLength));
H A DkeyParserWep.h77 UINT32 KeyLength; /* The length of the key data */ member in struct:__anon666
H A Drsn.c504 rsnOsKey.KeyLength = pRsn->keys[keyIndex].encLen;
912 pParam->content.rsnOsKey.KeyIndex,pParam->content.rsnOsKey.KeyLength));
928 pRsn->keys[keyIndex].encLen = pParam->content.rsnOsKey.KeyLength;
/system/wlan/ti/wilink_6_1/CUDK/configurationutility/src/
H A Dcu_common.c315 key.KeyLength = pKey->KeyLength;
316 os_memcpy(key.KeyMaterial, pKey->KeyMaterial, pKey->KeyLength);
H A Dwpa_core.c394 pWpaCore->WpaSupplParams.wep_key_length = pKey->KeyLength;
398 if (pWpaCore->WpaSupplParams.wep_key_length != pKey->KeyLength) return ECUERR_WPA_CORE_ERROR_KEY_LEN_MUST_BE_SAME;
401 os_memcpy(&pWpaCore->WpaSupplParams.wep_key[WepKeyIndx][0], pKey->KeyMaterial, pKey->KeyLength);
H A Dcu_cmd.c6054 data.KeyLength = 5;
6056 data.KeyLength = 13;
6058 data.KeyLength = 29;
6077 data.KeyLength = 5;
6079 data.KeyLength = 13;
6081 data.KeyLength = 29;
/system/wlan/ti/wilink_6_1/utils/
H A DosDot11.h275 /*KeyLength */
279 /* variable and depends upon the value of the KeyLength member. */
286 TI_UINT32 KeyLength; member in struct:_OS_802_11_WEP
297 TI_UINT32 KeyLength; /* length of key in bytes*/ member in struct:_OS_802_11_KEY
/system/wlan/ti/sta_dk_4_0_4_32/common/inc/
H A DosDot11.h307 /*KeyLength */
311 /* variable and depends upon the value of the KeyLength member. */
319 tiUINT32 KeyLength;
332 tiUINT32 KeyLength; /* length of key in bytes*/ member in struct:_OS_802_11_KEY
/system/wlan/ti/sta_dk_4_0_4_32/CUDK/CLI/
H A Dcu_cmd.c3989 data.KeyLength = 5;
3991 data.KeyLength = 13;
3993 data.KeyLength = 29;
3999 for( i=0; *buf && i < data.KeyLength; i++ )
4016 data.KeyLength = 5;
4018 data.KeyLength = 13;
4020 data.KeyLength = 29;
4032 console_printf_terminal("cmd_privacy_addkey len = %d, type: %s\nkey:", data.KeyLength, is_hex_key ? "hex" : "text");
/system/wlan/ti/sta_dk_4_0_4_32/wpa_supplicant_lib/
H A Ddriver_ti.c563 myKey.KeyLength = key_len;
599 myWepKey.KeyLength = key_len;
/system/wlan/ti/wilink_6_1/platforms/os/linux/src/
H A DCmdInterpretWext.c973 pParam->content.rsnOsKey.KeyLength = wrqu->data.length;
1137 pParam->content.rsnOsKey.KeyLength = ext->key_len;
/system/wlan/ti/sta_dk_4_0_4_32/pform/common/src/
H A DosUtil.c2718 key.KeyLength = pWep->KeyLength;
2720 if( pWep->KeyLength > sizeof(key.KeyMaterial) ) { /* Dm: Security fix */
2725 NdisMoveMemory(key.KeyMaterial, (void *)pWep->KeyMaterial, pWep->KeyLength);
H A DosRgstry.c4150 pAdapter->DefaultWepKeys[i].KeyLength = pSecKeys->encLen;
/system/wlan/ti/wilink_6_1/platforms/os/common/src/
H A DosRgstry.c4614 pAdapter->DefaultWepKeys[i].KeyLength = pSecKeys->encLen;

Completed in 239 milliseconds