Home
last modified time | relevance | path

Searched refs:distributed_keys (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/system/gd/security/internal/
Dsecurity_manager_impl.cc736 record->identity_address_ = result.distributed_keys.remote_identity_address; in OnPairingFinished()
737 record->remote_ltk = result.distributed_keys.remote_ltk; in OnPairingFinished()
740 record->remote_ediv = result.distributed_keys.remote_ediv; in OnPairingFinished()
741 record->remote_rand = result.distributed_keys.remote_rand; in OnPairingFinished()
742 record->remote_irk = result.distributed_keys.remote_irk; in OnPairingFinished()
743 record->remote_signature_key = result.distributed_keys.remote_signature_key; in OnPairingFinished()
744 if (result.distributed_keys.remote_link_key) in OnPairingFinished()
745 record->SetLinkKey(*result.distributed_keys.remote_link_key, hci::KeyType::AUTHENTICATED_P256); in OnPairingFinished()
750 if (result.distributed_keys.remote_identity_address) in OnPairingFinished()
751 NotifyDeviceBonded(*result.distributed_keys.remote_identity_address); in OnPairingFinished()
/packages/modules/Bluetooth/system/gd/security/
Dpairing_handler_le.cc205 DistributedKeys distributed_keys = std::get<DistributedKeys>(keyExchangeStatus); in PairingMain() local
206 if ((pairing_response.GetAuthReq() & AuthReqMaskSc) && distributed_keys.remote_ltk.has_value()) { in PairingMain()
208 Octet16 link_key = crypto_toolbox::ltk_to_link_key(*(distributed_keys.remote_ltk), use_h7); in PairingMain()
209 distributed_keys.remote_link_key = link_key; in PairingMain()
216 .distributed_keys = distributed_keys, in PairingMain()
Dinitial_informations.h55 DistributedKeys distributed_keys; member
/packages/modules/Bluetooth/system/gd/security/test/
Dpairing_handler_le_pair_test.cc364 …ASSERT_EQ(central_result.distributed_keys.remote_identity_address->GetAddress(), IDENTITY_ADDRESS_… in TEST_F()
366 …central_result.distributed_keys.remote_identity_address->GetAddressType(), IDENTITY_ADDRESS_TYPE_P… in TEST_F()
367 ASSERT_EQ(*central_result.distributed_keys.remote_irk, IRK_PERIPHERAL); in TEST_F()
370 …ASSERT_EQ(peripheral_result.distributed_keys.remote_identity_address->GetAddress(), IDENTITY_ADDRE… in TEST_F()
372 …peripheral_result.distributed_keys.remote_identity_address->GetAddressType(), IDENTITY_ADDRESS_TYP… in TEST_F()
373 ASSERT_EQ(*peripheral_result.distributed_keys.remote_irk, IRK_CENTRAL); in TEST_F()