Home
last modified time | relevance | path

Searched refs:remoteEncKey (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
H A Dgap_le_sec.c275 (void)memcpy_s(keys->remoteEncKey->ltk, GAP_LTK_SIZE, result->peerLTK, GAP_LTK_SIZE); in GapLePairKeyConvert()
276 (void)memcpy_s(&keys->remoteEncKey->rand, in GapLePairKeyConvert()
277 sizeof(keys->remoteEncKey->rand), in GapLePairKeyConvert()
280 keys->remoteEncKey->ediv = result->peerEdiv; in GapLePairKeyConvert()
281 keys->remoteEncKey->keySize = result->encKeySize; in GapLePairKeyConvert()
283 keys->remoteEncKey = NULL; in GapLePairKeyConvert()
322 LeEncKey remoteEncKey; in GapCallbackKeyNotify() local
329 keys.remoteEncKey = &remoteEncKey; in GapCallbackKeyNotify()
H A Dgap_le_if.c1180 int GAPIF_LeRemoteEncryptionKeyRsp(const BtAddr *addr, uint8_t accept, LeEncKey remoteEncKey, uint8… in GAPIF_LeRemoteEncryptionKeyRsp() argument
1193 ctx->encKey = remoteEncKey; in GAPIF_LeRemoteEncryptionKeyRsp()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_security.cpp321 if (leKeys.remoteEncKey != nullptr) { in LePairKeyNotify()
323 …&gapCallbackParam.lePairKeyNotify_.remoteEncKey, sizeof(LeEncKey), leKeys.remoteEncKey, sizeof(LeE… in LePairKeyNotify()
484 std::to_string(param.lePairKeyNotify_.remoteEncKey.ediv), in SavePeerPairKey()
485 std::to_string(param.lePairKeyNotify_.remoteEncKey.rand)); in SavePeerPairKey()
487 … param.lePairKeyNotify_.remoteEncKey.ltk, param.lePairKeyNotify_.remoteEncKey.ltk + GAP_LTK_SIZE); in SavePeerPairKey()
490 addr.GetAddress(), std::to_string(param.lePairKeyNotify_.remoteEncKey.keySize)); in SavePeerPairKey()
H A Dble_defs.h351 LeEncKey remoteEncKey; member
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
H A Dgap_le_if.h389 LeEncKey *remoteEncKey; member
753 const BtAddr *addr, uint8_t accept, LeEncKey remoteEncKey, uint8_t keyType);