Searched refs:encKey (Results 1 - 4 of 4) sorted by relevance
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/ |
H A D | ble_security.cpp | 536 LeEncKey encKey; in GapLeLocalEncryptionKeyReqEvent() local 537 (void)memset_s(&encKey, sizeof(encKey), 0x00, sizeof(encKey)); in GapLeLocalEncryptionKeyReqEvent() 546 (void)memcpy_s(encKey.ltk, GAP_CSRK_SIZE, &vec[0], vec.size()); in GapLeLocalEncryptionKeyReqEvent() 547 encKey.rand = std::stoull(rand); in GapLeLocalEncryptionKeyReqEvent() 548 encKey.ediv = std::stoull(ediv); in GapLeLocalEncryptionKeyReqEvent() 551 int ret = GAPIF_LeLocalEncryptionKeyRsp(¶m.leLocalEncryptionKeyReqEvent_.addr, accept, encKey, 1); in GapLeLocalEncryptionKeyReqEvent() 555 (void)memset_s(&encKey, sizeof(encKey), in GapLeLocalEncryptionKeyReqEvent() 565 LeEncKey encKey; GapLeRemoteEncryptionKeyReqEvent() local [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/ |
H A D | gap_le.h | 350 * @param[in] encKey remote encryption key 355 int GAP_LeRemoteEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey encKey, uint8_t keyType); 361 * @param[in] encKey local encryption key 366 int GAP_LeLocalEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey encKey, uint8_t keyType);
|
H A D | gap_le_sec.c | 571 int GAP_LeRemoteEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey encKey, uint8_t keyType) in GAP_LeRemoteEncryptionKeyRsp() argument 588 deviceInfo->keySize = encKey.keySize; in GAP_LeRemoteEncryptionKeyRsp() 597 ret = SMP_StartEncryption(deviceInfo->handle, (uint8_t *)&encKey.rand, encKey.ediv, encKey.ltk); in GAP_LeRemoteEncryptionKeyRsp() 603 ret = SMP_StartEncryption(deviceInfo->handle, (uint8_t *)&encKey.rand, encKey.ediv, encKey.ltk); in GAP_LeRemoteEncryptionKeyRsp() 617 int GAP_LeLocalEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey encKey, uint8_t keyType) in GAP_LeLocalEncryptionKeyRsp() argument 631 deviceInfo->keySize = encKey in GAP_LeLocalEncryptionKeyRsp() [all...] |
H A D | gap_le_if.c | 139 LeEncKey encKey; member 1177 info->result = GAP_LeRemoteEncryptionKeyRsp(info->addr, info->accept, info->encKey, info->keyType); in GapLeRemoteEncryptionKeyRspTask() 1193 ctx->encKey = remoteEncKey; in GAPIF_LeRemoteEncryptionKeyRsp() 1208 info->result = GAP_LeLocalEncryptionKeyRsp(info->addr, info->accept, info->encKey, info->keyType); in GapLeLocalEncryptionKeyRspTask() 1224 ctx->encKey = localEncKey; in GAPIF_LeLocalEncryptionKeyRsp()
|
Completed in 7 milliseconds