/hardware/ti/wlan/wl1271/stad/src/Connection_Managment/ |
D | mainSecSm.c | 84 TI_STATUS mainSec_setKey(struct _mainSec_t *pMainSec, TSecurityKeys *pKey); 85 TI_STATUS mainSec_removeKey(struct _mainSec_t *pMainSec, TSecurityKeys *pKey); 307 TI_STATUS mainSec_setKey(struct _mainSec_t *pMainSec, TSecurityKeys *pKey) in mainSec_setKey() argument 311 if ((pMainSec == NULL) || (pKey == NULL)) in mainSec_setKey() 316 if (pKey->keyType != KEY_NULL) in mainSec_setKey() 318 …%X\n", pKey->keyIndex, (TI_UINT8)pKey->encKey[0], (TI_UINT8)pKey->encKey[1], (TI_UINT8)pKey->encKe… in mainSec_setKey() 320 status = pMainSec->pParent->setKey(pMainSec->pParent, pKey); in mainSec_setKey() 344 TI_STATUS mainSec_removeKey(struct _mainSec_t *pMainSec, TSecurityKeys *pKey) in mainSec_removeKey() argument 348 if ((pMainSec == NULL) || (pKey == NULL)) in mainSec_removeKey() 353 if (pKey->keyType != KEY_NULL) in mainSec_removeKey() [all …]
|
D | mainSecSm.h | 71 typedef TI_STATUS (*mainSecSmSetSessionKey_t)(struct _mainSec_t *pMainSec, TI_UINT8* pKey, TI_UINT8… 72 typedef TI_STATUS (*mainSecSmGetSessionKey_t)(struct _mainSec_t *pMainSec, TI_UINT8* pKey, TI_UINT3… 73 typedef TI_STATUS (*mainSecSmSetKey_t)(struct _mainSec_t *pMainSec, TSecurityKeys *pKey); 74 typedef TI_STATUS (*mainSecSmRemoveKey_t)(struct _mainSec_t *pMainSec, TSecurityKeys *pKey);
|
D | mainKeysSmInternal.h | 102 TI_STATUS mainKeys_setKey(struct _mainKeys_t *pMainKeys, TSecurityKeys *pKey); 103 TI_STATUS mainKeys_removeKey(struct _mainKeys_t *pMainKeys, TSecurityKeys *pKey); 105 TI_STATUS mainKeys_getSessionKey(struct _mainKeys_t *pMainKeys, TI_UINT8 *pKey, TI_UINT32 *pKeyLen);
|
D | rsn.c | 1582 TI_STATUS rsn_setKey (rsn_t *pRsn, TSecurityKeys *pKey) in rsn_setKey() argument 1589 if (pRsn == NULL || pKey == NULL) in rsn_setKey() 1594 keyIndex = (TI_UINT8)pKey->keyIndex; in rsn_setKey() 1600 if (pKey->keyType != KEY_NULL) in rsn_setKey() 1607 switch (pKey->keyType) { in rsn_setKey() 1638 if (!MAC_BROADCAST(pKey->macAddress)) in rsn_setKey() 1642 switch (pKey->keyType) in rsn_setKey() 1663 pRsn->keys[keyIndex].keyType = pKey->keyType; in rsn_setKey() 1668 macIsBroadcast = MAC_BROADCAST (pKey->macAddress); in rsn_setKey() 1707 tTwdParam.content.configureCmdCBParams.pCb = (TI_UINT8*) pKey; in rsn_setKey() [all …]
|
D | mainKeysSm.h | 75 typedef TI_STATUS (*mainKeysSmSetKey_t)(struct _mainKeys_t *pMainKeys, TSecurityKeys *pKey); 76 typedef TI_STATUS (*mainKeysSmRemoveKey_t)(struct _mainKeys_t *pMainKeys, TSecurityKeys *pKey); 78 typedef TI_STATUS (*mainKeysSmGetSessionKey_t)(struct _mainKeys_t *pMainKeys, TI_UINT8 *pKey, TI_UI…
|
D | rsn.h | 94 typedef TI_STATUS (*rsn_setKey_t)(rsn_t *pMainSec, TSecurityKeys *pKey); 95 typedef TI_STATUS (*rsn_removeKey_t)(rsn_t *pMainSec, TSecurityKeys *pKey); 200 TI_STATUS rsn_setKey(rsn_t *pMainSec, TSecurityKeys *pKey); 202 TI_STATUS rsn_removeKey(rsn_t *pMainSec, TSecurityKeys *pKey);
|
D | mainSecKeysOnly.h | 98 TI_STATUS mainSecKeysOnly_setSessionKey(mainSec_t *pMainSec, TI_UINT8* pKey, TI_UINT8 keyLen); 100 TI_STATUS mainSecKeysOnly_getSessionKey(mainSec_t *pMainSec, TI_UINT8* pKey, TI_UINT32* pKeyLen);
|
D | mainSecKeysOnly.c | 264 TI_STATUS mainSecKeysOnly_setSessionKey(mainSec_t *pMainSec, TI_UINT8* pKey, TI_UINT8 keyLen) in mainSecKeysOnly_setSessionKey() argument 266 os_memoryCopy(pMainSec->hOs, pMainSec->sessionKey, pKey, keyLen); in mainSecKeysOnly_setSessionKey() 290 TI_STATUS mainSecKeysOnly_getSessionKey(mainSec_t *pMainSec, TI_UINT8* pKey, TI_UINT32* pKeyLen) in mainSecKeysOnly_getSessionKey() argument 292 os_memoryCopy(pMainSec->hOs, pKey, pMainSec->sessionKey, pMainSec->sessionKeyLen); in mainSecKeysOnly_getSessionKey()
|
D | mainKeysSm.c | 515 TI_STATUS mainKeys_setKey(struct _mainKeys_t *pMainKeys, TSecurityKeys *pKey) in mainKeys_setKey() argument 517 return (pMainKeys->pParent->setKey(pMainKeys->pParent, pKey)); in mainKeys_setKey() 536 TI_STATUS mainKeys_removeKey(struct _mainKeys_t *pMainKeys, TSecurityKeys *pKey) in mainKeys_removeKey() argument 538 return (pMainKeys->pParent->removeKey(pMainKeys->pParent, pKey)); in mainKeys_removeKey() 578 TI_STATUS mainKeys_getSessionKey(struct _mainKeys_t *pMainKeys, TI_UINT8 *pKey, TI_UINT32 *pKeyLen) in mainKeys_getSessionKey() argument 582 status = pMainKeys->pParent->getSessionKey(pMainKeys->pParent, pKey, pKeyLen); in mainKeys_getSessionKey()
|
/hardware/ti/wlan/wl1271/TWD/Ctrl/ |
D | CmdBldCmd.c | 1102 TI_STATUS cmdBld_CmdAddKey (TI_HANDLE hCmdBld, TSecurityKeys* pKey, TI_BOOL reconfFlag, void *fCb, … in cmdBld_CmdAddKey() argument 1105 TI_UINT8 keyIdx = (TI_UINT8)pKey->keyIndex; in cmdBld_CmdAddKey() 1112 …AddKey: ERROR Key keyIndex field out of range =%d, range is (0 to %d)\n", pKey->keyIndex, pCmdBld-… in cmdBld_CmdAddKey() 1117 if (pKey->keyType == KEY_NULL) in cmdBld_CmdAddKey() 1126 (void *)pKey, in cmdBld_CmdAddKey() 1134 return cmdBld_CmdAddWepDefaultKey (hCmdBld, pKey, fCb, hCb); in cmdBld_CmdAddKey() 1141 return cmdBld_CmdAddWpaKey (hCmdBld, pKey, fCb, hCb); in cmdBld_CmdAddKey() 1149 TI_STATUS cmdBld_CmdAddWpaKey (TI_HANDLE hCmdBld, TSecurityKeys* pKey, void *fCb, TI_HANDLE hCb) in cmdBld_CmdAddWpaKey() argument 1154 switch (pKey->keyType) in cmdBld_CmdAddWpaKey() 1158 return cmdBld_CmdAddWepDefaultKey (hCmdBld, pKey, fCb, hCb); in cmdBld_CmdAddWpaKey() [all …]
|
D | CmdBld.h | 85 TI_STATUS cmdBld_CmdAddWepDefaultKey (TI_HANDLE hCmdBld, TSecurityKeys* pKey, void *fCb, TI_HAND… 86 TI_STATUS cmdBld_CmdRemoveWepDefaultKey (TI_HANDLE hCmdBld, TSecurityKeys* pKey, void *fCb, TI_HAND… 88 TI_STATUS cmdBld_CmdAddWpaKey (TI_HANDLE hCmdBld, TSecurityKeys* pKey, void *fCb, TI_HAND… 89 TI_STATUS cmdBld_CmdRemoveWpaKey (TI_HANDLE hCmdBld, TSecurityKeys* pKey, void *fCb, TI_HAND… 90 TI_STATUS cmdBld_CmdAddTkipMicMappingKey(TI_HANDLE hCmdBld, TSecurityKeys* pKey, void *fCb, TI_HAND… 91 TI_STATUS cmdBld_CmdRemoveTkipMicMappingKey (TI_HANDLE hCmdBld, TSecurityKeys* pKey, void *fCb, TI_… 92 TI_STATUS cmdBld_CmdAddAesMappingKey (TI_HANDLE hCmdBld, TSecurityKeys* pKey, void *fCb, TI_HAND… 93 TI_STATUS cmdBld_CmdRemoveAesMappingKey (TI_HANDLE hCmdBld, TSecurityKeys* pKey, void *fCb, TI_HAND… 95 …TI_STATUS cmdBld_CmdAddGemMappingKey (TI_HANDLE hCmdBld, TSecurityKeys* pKey, void *fCb, TI_HAN… 96 …TI_STATUS cmdBld_CmdRemoveGemMappingKey (TI_HANDLE hCmdBld, TSecurityKeys* pKey, void *fCb, TI_HAN… [all …]
|
D | CmdBldCmdIE.h | 64 …Addr, TI_UINT32 uKeySize, TI_UINT32 uKeyType, TI_UINT32 uKeyId, TI_UINT8 *pKey, TI_UINT32 uSecurit…
|
D | CmdBldCmdIE.c | 378 TI_UINT8 *pKey, in cmdBld_CmdIeSetKey() argument 394 os_memoryCopy (pCmdBld->hOs, (void *)pCmd->key, (void *)pKey, MAX_KEY_SIZE); in cmdBld_CmdIeSetKey() 398 os_memoryCopy (pCmdBld->hOs, (void *)pCmd->key, (void *)pKey, uKeySize); in cmdBld_CmdIeSetKey()
|
/hardware/ti/wlan/wl1271/CUDK/configurationutility/src/ |
D | cu_common.c | 305 S32 CuCommon_AddKey(THandle hCuCommon, OS_802_11_WEP* pKey) in CuCommon_AddKey() argument 313 key.Length = pKey->Length; in CuCommon_AddKey() 314 key.KeyIndex = (pKey->KeyIndex & 0x80000000) | (pKey->KeyIndex & 0x3FFFFFFF); in CuCommon_AddKey() 315 key.KeyLength = pKey->KeyLength; in CuCommon_AddKey() 316 os_memcpy(key.KeyMaterial, pKey->KeyMaterial, pKey->KeyLength); in CuCommon_AddKey()
|
D | wpa_core.c | 378 S32 WpaCore_AddKey(THandle hWpaCore, OS_802_11_WEP* pKey) in WpaCore_AddKey() argument 383 WepKeyIndx = pKey->KeyIndex & 0x7FFFFFFF; in WpaCore_AddKey() 385 if ((pKey->KeyIndex & 0x80000000) == 0x80000000) in WpaCore_AddKey() 394 pWpaCore->WpaSupplParams.wep_key_length = pKey->KeyLength; in WpaCore_AddKey() 398 …if (pWpaCore->WpaSupplParams.wep_key_length != pKey->KeyLength) return ECUERR_WPA_CORE_ERROR_KEY_L… in WpaCore_AddKey() 401 os_memcpy(&pWpaCore->WpaSupplParams.wep_key[WepKeyIndx][0], pKey->KeyMaterial, pKey->KeyLength); in WpaCore_AddKey()
|
/hardware/ti/wlan/wl1271/CUDK/configurationutility/inc/ |
D | wpa_core.h | 55 S32 WpaCore_AddKey(THandle hWpaCore, OS_802_11_WEP* pKey);
|
D | cu_common.h | 73 S32 CuCommon_AddKey(THandle hCuCommon, OS_802_11_WEP* pKey);
|