/hardware/ti/wlan/wl1271/stad/src/Connection_Managment/ |
D | keyDeriveWep.c | 76 TI_STATUS keyDeriveWep_config(struct _keyDerive_t *pKeyDerive) in keyDeriveWep_config() argument 78 pKeyDerive->derive = keyDeriveWep_derive; in keyDeriveWep_config() 79 pKeyDerive->remove = keyDeriveWep_remove; in keyDeriveWep_config() 104 TI_STATUS keyDeriveWep_derive(struct _keyDerive_t *pKeyDerive, encodedKeyMaterial_t *pEncodedKey) in keyDeriveWep_derive() argument 118 …TRACE1(pKeyDerive->hReport, REPORT_SEVERITY_ERROR, "DeriveWep_derive: ERROR: it is not WEP key len… in keyDeriveWep_derive() 125 os_memoryCopy(pKeyDerive->hOs, (void *)key.encKey, pEncodedKey->pData, pEncodedKey->keyLen); in keyDeriveWep_derive() 127 status = pKeyDerive->pMainKeys->setKey(pKeyDerive->pMainKeys, &key); in keyDeriveWep_derive() 130 os_memoryCopy(pKeyDerive->hOs, &pKeyDerive->key, pEncodedKey, sizeof(encodedKeyMaterial_t)); in keyDeriveWep_derive() 154 TI_STATUS keyDeriveWep_remove(struct _keyDerive_t *pKeyDerive, encodedKeyMaterial_t *pEncodedKey) in keyDeriveWep_remove() argument 159 os_memoryZero(pKeyDerive->hOs, &key, sizeof(TSecurityKeys)); in keyDeriveWep_remove() [all …]
|
D | keyDerive.c | 80 keyDerive_t *pKeyDerive; in keyDerive_create() local 83 pKeyDerive = (keyDerive_t*)os_memoryAlloc(hOs, sizeof(keyDerive_t)); in keyDerive_create() 84 if (pKeyDerive == NULL) in keyDerive_create() 89 os_memoryZero(hOs, pKeyDerive, sizeof(keyDerive_t)); in keyDerive_create() 91 pKeyDerive->hOs = hOs; in keyDerive_create() 93 return pKeyDerive; in keyDerive_create() 114 TI_STATUS keyDerive_unload(struct _keyDerive_t *pKeyDerive) in keyDerive_unload() argument 117 os_memoryFree(pKeyDerive->hOs, pKeyDerive, sizeof(keyDerive_t)); in keyDerive_unload() 140 TI_STATUS keyDerive_config(struct _keyDerive_t *pKeyDerive, in keyDerive_config() argument 149 pKeyDerive->hReport = hReport; in keyDerive_config() [all …]
|
D | keyDeriveTkip.c | 76 TI_STATUS keyDeriveTkip_config(struct _keyDerive_t *pKeyDerive) in keyDeriveTkip_config() argument 78 pKeyDerive->derive = keyDeriveTkip_derive; in keyDeriveTkip_config() 79 pKeyDerive->remove = keyDeriveTkip_remove; in keyDeriveTkip_config() 104 TI_STATUS keyDeriveTkip_derive(struct _keyDerive_t *pKeyDerive, encodedKeyMaterial_t *pEncodedKey) in keyDeriveTkip_derive() argument 123 …TRACE1(pKeyDerive->hReport, REPORT_SEVERITY_ERROR, "KEY_DERIVE_TKIP: ERROR: wrong key length %d !!… in keyDeriveTkip_derive() 129 …os_memoryCopy(pKeyDerive->hOs, (void *)key.encKey, (void *)keyMaterialTkip->encKey, KEY_DERIVE_TKI… in keyDeriveTkip_derive() 132 …os_memoryCopy(pKeyDerive->hOs, (void *)key.micTxKey, (void *)keyMaterialTkip->micRxKey, KEY_DERIVE… in keyDeriveTkip_derive() 134 …os_memoryCopy(pKeyDerive->hOs, (void *)key.micRxKey, (void *)keyMaterialTkip->micTxKey, KEY_DERIVE… in keyDeriveTkip_derive() 138 …os_memoryCopy(pKeyDerive->hOs, (void *)key.micRxKey, (void *)keyMaterialTkip->micRxKey, KEY_DERIVE… in keyDeriveTkip_derive() 140 …os_memoryCopy(pKeyDerive->hOs, (void *)key.micTxKey, (void *)keyMaterialTkip->micTxKey, KEY_DERIVE… in keyDeriveTkip_derive() [all …]
|
D | keyDeriveAes.c | 74 TI_STATUS keyDeriveAes_config(struct _keyDerive_t *pKeyDerive) in keyDeriveAes_config() argument 76 pKeyDerive->derive = keyDeriveAes_derive; in keyDeriveAes_config() 77 pKeyDerive->remove = keyDeriveAes_remove; in keyDeriveAes_config() 102 TI_STATUS keyDeriveAes_derive(struct _keyDerive_t *pKeyDerive, encodedKeyMaterial_t *pEncodedKey) in keyDeriveAes_derive() argument 109 if ((pEncodedKey==NULL) || (pKeyDerive == NULL)) in keyDeriveAes_derive() 118 TRACE1(pKeyDerive->hReport, REPORT_SEVERITY_ERROR, "KEY_DERIVE_AES: ERROR: wrong key length %d !!!\… in keyDeriveAes_derive() 126 os_memoryZero(pKeyDerive->hOs, &key, sizeof(TSecurityKeys)); in keyDeriveAes_derive() 131 os_memoryCopy(pKeyDerive->hOs, (void *)key.encKey, pEncodedKey->pData + MAC_ADDR_LEN+KEY_RSC_LEN, in keyDeriveAes_derive() 137 os_memoryCopy(pKeyDerive->hOs, (void *)key.keyRsc, (void *)keyMaterialAes->keyRSC, KEY_RSC_LEN); in keyDeriveAes_derive() 139 status = pKeyDerive->pMainKeys->setKey(pKeyDerive->pMainKeys, &key); in keyDeriveAes_derive() [all …]
|
D | keyDeriveCkip.c | 80 TI_STATUS keyDeriveCkip_config(struct _keyDerive_t *pKeyDerive) in keyDeriveCkip_config() argument 82 pKeyDerive->derive = keyDeriveCkip_derive; in keyDeriveCkip_config() 83 pKeyDerive->remove = keyDeriveCkip_remove; in keyDeriveCkip_config() 108 TI_STATUS keyDeriveCkip_derive(struct _keyDerive_t *pKeyDerive, encodedKeyMaterial_t *pEncodedKey) in keyDeriveCkip_derive() argument 122 …TRACE1(pKeyDerive->hReport, REPORT_SEVERITY_ERROR, "KEY_DERIVE_CKIP: ERROR: wrong key length %d !!… in keyDeriveCkip_derive() 146 if (pKeyDerive->pMainKeys->pParent->pParent->pAdmCtrl->encrInSw) in keyDeriveCkip_derive() 156 os_memoryCopy(pKeyDerive->hOs, (void*)key.encKey, ckipKey, key.encLen); in keyDeriveCkip_derive() 158 os_memoryCopy(pKeyDerive->hOs, (void*)key.micRxKey, ckipKey, KEY_DERIVE_CKIP_ENC_LEN); in keyDeriveCkip_derive() 159 os_memoryCopy(pKeyDerive->hOs, (void*)key.micTxKey, ckipKey, KEY_DERIVE_CKIP_ENC_LEN); in keyDeriveCkip_derive() 161 status = pKeyDerive->pMainKeys->setKey(pKeyDerive->pMainKeys, &key); in keyDeriveCkip_derive() [all …]
|
D | keyDeriveWep.h | 62 TI_STATUS keyDeriveWep_config(struct _keyDerive_t *pKeyDerive); 64 TI_STATUS keyDeriveWep_derive(struct _keyDerive_t *pKeyDerive, encodedKeyMaterial_t *pEncodedKey); 66 TI_STATUS keyDeriveWep_remove(struct _keyDerive_t *pKeyDerive, encodedKeyMaterial_t *pEncodedKey); 68 TI_STATUS keyDeriveNone_config(struct _keyDerive_t *pKeyDerive); 70 TI_STATUS keyDeriveNone_derive(struct _keyDerive_t *pKeyDerive, encodedKeyMaterial_t *pEncodedKey); 72 TI_STATUS keyDeriveNone_remove(struct _keyDerive_t *pKeyDerive, encodedKeyMaterial_t *pEncodedKey);
|
D | keyDerive.h | 63 typedef TI_STATUS (*keyDeriveDerive_t)(struct _keyDerive_t *pKeyDerive, encodedKeyMaterial_t *pEnco… 64 typedef TI_STATUS (*keyDeriveRemove_t)(struct _keyDerive_t *pKeyDerive, encodedKeyMaterial_t *pEnco… 90 TI_STATUS keyDerive_unload(keyDerive_t *pKeyDerive); 92 TI_STATUS keyDerive_config(keyDerive_t *pKeyDerive,
|
D | keyDeriveCkip.h | 62 TI_STATUS keyDeriveCkip_config(struct _keyDerive_t *pKeyDerive); 64 TI_STATUS keyDeriveCkip_derive(struct _keyDerive_t *pKeyDerive, encodedKeyMaterial_t *pEncodedKey); 65 TI_STATUS keyDeriveCkip_remove(struct _keyDerive_t *pKeyDerive, encodedKeyMaterial_t *pEncodedKey);
|
D | keyDeriveAes.h | 66 TI_STATUS keyDeriveAes_config(struct _keyDerive_t *pKeyDerive); 68 TI_STATUS keyDeriveAes_derive(struct _keyDerive_t *pKeyDerive, encodedKeyMaterial_t *pEncodedKey); 69 TI_STATUS keyDeriveAes_remove(struct _keyDerive_t *pKeyDerive, encodedKeyMaterial_t *pEncodedKey);
|
D | keyDeriveTkip.h | 68 TI_STATUS keyDeriveTkip_config(struct _keyDerive_t *pKeyDerive); 70 TI_STATUS keyDeriveTkip_derive(struct _keyDerive_t *pKeyDerive, encodedKeyMaterial_t *pEncodedKey); 71 TI_STATUS keyDeriveTkip_remove(struct _keyDerive_t *pKeyDerive, encodedKeyMaterial_t *pEncodedKey);
|
D | broadcastKeySM.c | 105 pBroadcastKey->pKeyDerive = keyDerive_create(hOs); in broadcastKey_create() 106 if (pBroadcastKey->pKeyDerive == NULL) in broadcastKey_create() 140 status = keyDerive_unload(pBroadcastKey->pKeyDerive); in broadcastKey_unload() 210 …status = keyDerive_config(pBroadcastKey->pKeyDerive, pPaeConfig->broadcastSuite, pParent, hReport,… in broadcastKey_config()
|
D | unicastKeySM.c | 103 pUnicastKey->pKeyDerive = keyDerive_create(hOs); in unicastKey_create() 104 if (pUnicastKey->pKeyDerive == NULL) in unicastKey_create() 138 status = keyDerive_unload(pUnicastKey->pKeyDerive); in unicastKey_unload() 207 …status = keyDerive_config(pUnicastKey->pKeyDerive, pPaeConfig->unicastSuite, pParent, hReport, hOs… in unicastKey_config()
|
D | broadcastKeyNone.c | 144 if (pBroadcastKey->pKeyDerive->derive!=NULL) in broadcastKeyNone_distribute() 146 status = pBroadcastKey->pKeyDerive->derive(pBroadcastKey->pKeyDerive, in broadcastKeyNone_distribute()
|
D | unicastKeyNone.c | 146 if (pUnicastKey->pKeyDerive->derive!=NULL) in unicastKeyNone_distribute() 148 status = pUnicastKey->pKeyDerive->derive(pUnicastKey->pKeyDerive, in unicastKeyNone_distribute()
|
D | broadcastKey802_1x.c | 316 if (pBroadcastKey->pKeyDerive->derive!=NULL) in broadcastKey802_1x_distribute() 318 status = pBroadcastKey->pKeyDerive->derive(pBroadcastKey->pKeyDerive, in broadcastKey802_1x_distribute()
|
D | unicastKey802_1x.c | 321 if (pUnicastKey->pKeyDerive->derive!=NULL) in unicastKey802_1x_distribute() 323 status = pUnicastKey->pKeyDerive->derive(pUnicastKey->pKeyDerive, in unicastKey802_1x_distribute()
|
D | keyParserExternal.c | 384 …status = pKeyParser->pUcastKey->pKeyDerive->remove(pKeyParser->pUcastKey->pKeyDerive, &encodedKey… in keyParserExternal_remove() 389 …status = pKeyParser->pBcastKey->pKeyDerive->remove(pKeyParser->pUcastKey->pKeyDerive, &encodedKey… in keyParserExternal_remove()
|
D | keyParserWep.c | 202 …status = pKeyParser->pBcastKey->pKeyDerive->remove(pKeyParser->pUcastKey->pKeyDerive, &encodedKey… in keyParserWep_remove()
|
D | broadcastKeySM.h | 84 struct _keyDerive_t *pKeyDerive; member
|
D | unicastKeySM.h | 86 keyDerive_t *pKeyDerive; member
|