Home
last modified time | relevance | path

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

/system/bt/gd/security/
Dpairing_handler_le.cc200 DistributedKeys distributed_keys = std::get<DistributedKeys>(keyExchangeStatus); in PairingMain() local
201 if ((pairing_response.GetAuthReq() & AuthReqMaskSc) && distributed_keys.remote_ltk.has_value()) { in PairingMain()
203 Octet16 link_key = crypto_toolbox::ltk_to_link_key(*(distributed_keys.remote_ltk), use_h7); in PairingMain()
204 distributed_keys.remote_link_key = link_key; in PairingMain()
211 .distributed_keys = distributed_keys, in PairingMain()
Dinitial_informations.h59 DistributedKeys distributed_keys; member
/system/bt/gd/security/internal/
Dsecurity_manager_impl.cc713 record->identity_address_ = result.distributed_keys.remote_identity_address; in OnPairingFinished()
714 record->remote_ltk = result.distributed_keys.remote_ltk; in OnPairingFinished()
717 record->remote_ediv = result.distributed_keys.remote_ediv; in OnPairingFinished()
718 record->remote_rand = result.distributed_keys.remote_rand; in OnPairingFinished()
719 record->remote_irk = result.distributed_keys.remote_irk; in OnPairingFinished()
720 record->remote_signature_key = result.distributed_keys.remote_signature_key; in OnPairingFinished()
721 if (result.distributed_keys.remote_link_key) in OnPairingFinished()
722 record->SetLinkKey(*result.distributed_keys.remote_link_key, hci::KeyType::AUTHENTICATED_P256); in OnPairingFinished()
727 if (result.distributed_keys.remote_identity_address) in OnPairingFinished()
728 NotifyDeviceBonded(*result.distributed_keys.remote_identity_address); in OnPairingFinished()
/system/bt/gd/security/test/
Dpairing_handler_le_pair_test.cc354 …ASSERT_EQ(central_result.distributed_keys.remote_identity_address->GetAddress(), IDENTITY_ADDRESS_… in TEST_F()
356 …central_result.distributed_keys.remote_identity_address->GetAddressType(), IDENTITY_ADDRESS_TYPE_P… in TEST_F()
357 ASSERT_EQ(*central_result.distributed_keys.remote_irk, IRK_PERIPHERAL); in TEST_F()
360 …ASSERT_EQ(peripheral_result.distributed_keys.remote_identity_address->GetAddress(), IDENTITY_ADDRE… in TEST_F()
362 …peripheral_result.distributed_keys.remote_identity_address->GetAddressType(), IDENTITY_ADDRESS_TYP… in TEST_F()
363 ASSERT_EQ(*peripheral_result.distributed_keys.remote_irk, IRK_CENTRAL); in TEST_F()