/system/bt/stack/btm/ |
D | btm_ble_addr.cc | 46 static RawAddress generate_rpa_from_irk_and_rand(const Octet16& irk, in generate_rpa_from_irk_and_rand() argument 57 Octet16 p = crypto_toolbox::aes_128(irk, random, 3); in generate_rpa_from_irk_and_rand() 107 const Octet16& irk = BTM_GetDeviceIDRoot(); in btm_gen_resolvable_private_addr() local 108 cb.Run(generate_rpa_from_irk_and_rand(irk, random)); in btm_gen_resolvable_private_addr() 147 static bool rpa_matches_irk(const RawAddress& rpa, const Octet16& irk) { in rpa_matches_irk() argument 155 Octet16 x = crypto_toolbox::aes_128(irk, &rand[0], 3); in rpa_matches_irk() 180 if (rpa_matches_irk(rpa, p_dev_rec->ble.keys.irk)) { in btm_ble_addr_resolvable() 200 if (rpa_matches_irk(*random_bda, p_dev_rec->ble.keys.irk)) { in btm_ble_match_random_bda()
|
D | btm_ble_privacy.cc | 744 const Octet16& peer_irk = p_dev_rec->ble.keys.irk; in btm_ble_resolving_list_load_dev() 745 const Octet16& local_irk = btm_cb.devcb.id_keys.irk; in btm_ble_resolving_list_load_dev() 773 ARRAY_TO_STREAM(p, p_dev_rec->ble.keys.irk, OCTET16_LEN); in btm_ble_resolving_list_load_dev()
|
D | btm_ble_adv_filter.cc | 614 if (!is_empty_128bit(cmd.irk)) { in BTM_LE_PF_set() 648 pid_keys.irk = cmd.irk; in BTM_LE_PF_set()
|
D | security_device_record.h | 73 Octet16 irk; /* peer diverified identity root */ member
|
D | btm_ble.cc | 196 return btm_cb.devcb.id_keys.irk; in BTM_GetDeviceIDRoot() 1144 p_rec->ble.keys.irk = p_keys->pid_key.irk; in btm_sec_save_le_key() 2014 btm_cb.devcb.id_keys.irk = in btm_ble_reset_id_impl()
|
/system/bt/gd/hci/ |
D | le_address_manager_test.cc | 211 …Octet16 irk = {0xec, 0x02, 0x34, 0xa3, 0x57, 0xc8, 0xad, 0x05, 0x34, 0x10, 0x10, 0xa6, 0x0a, 0x39,… in TEST_F() local 218 irk, in TEST_F() 233 Octet16 irk = {}; in TEST_F() local 240 irk, in TEST_F() 257 …Octet16 irk = {0xec, 0x02, 0x34, 0xa3, 0x57, 0xc8, 0xad, 0x05, 0x34, 0x10, 0x10, 0xa6, 0x0a, 0x39,… in TEST_F() local 264 irk, in TEST_F() 294 …Octet16 irk = {0xec, 0x02, 0x34, 0xa3, 0x57, 0xc8, 0xad, 0x05, 0x34, 0x10, 0x10, 0xa6, 0x0a, 0x39,… in SetUp() local 301 irk, in SetUp()
|
D | address_with_type.h | 53 bool IsRpaThatMatchesIrk(const crypto_toolbox::Octet16& irk) const { in IsRpaThatMatchesIrk() argument 62 crypto_toolbox::Octet16 computed_hash = crypto_toolbox::aes_128(irk, &prand[0], 3); in IsRpaThatMatchesIrk()
|
D | acl_manager.cc | 176 …auto irk = GetDependency<storage::StorageModule>()->GetAdapterConfig().GetLeIdentityResolvingKey(); in SetPrivacyPolicyForInitiatorAddress() local 177 if (irk.has_value()) { in SetPrivacyPolicyForInitiatorAddress() 178 rotation_irk = irk->bytes; in SetPrivacyPolicyForInitiatorAddress()
|
/system/bt/gd/hci/facade/ |
D | le_initiator_address_facade.cc | 59 crypto_toolbox::Octet16 irk = {}; in SetPrivacyPolicyForInitiatorAddress() local 63 std::copy_n(irk_data.begin(), crypto_toolbox::OCTET16_LEN, irk.begin()); in SetPrivacyPolicyForInitiatorAddress()
|
/system/bt/include/hardware/ |
D | bt_common_types.h | 104 std::array<uint8_t, 16> irk; // 128 bit/16 octet IRK member
|
/system/bt/gd/security/ |
D | pairing_handler_le.cc | 387 std::optional<Octet16> irk; in ReceiveKeys() local 419 irk = std::get<IdentityInformationView>(packet).GetIdentityResolvingKey(); in ReceiveKeys() 450 .remote_irk = irk, in ReceiveKeys() 455 std::array<uint8_t, 8> rand, Octet16 irk, Address identity_address, in SendKeys() argument 466 SendL2capPacket(i, IdentityInformationBuilder::Create(irk)); in SendKeys()
|
D | facade.cc | 287 crypto_toolbox::Octet16 irk = {}; in SetLeInitiatorAddressPolicy() local 291 std::copy_n(irk_data.begin(), crypto_toolbox::OCTET16_LEN, irk.begin()); in SetLeInitiatorAddressPolicy() 298 address_policy, address_with_type, irk, minimum_rotation_time, maximum_rotation_time); in SetLeInitiatorAddressPolicy()
|
D | pairing_handler_le.h | 254 … std::array<uint8_t, 8> rand, Octet16 irk, Address identity_address, AddrType identity_addres_type,
|
/system/bt/stack/include/ |
D | btm_ble_api_types.h | 530 Octet16 irk; member 574 Octet16 irk; member
|
/system/bt/btif/src/ |
D | btif_dm.cc | 138 Octet16 irk; member 1690 ble_local_key_cb.id_keys.irk = p_data->ble_id_keys.irk; in btif_dm_upstreams_evt() 1693 btif_storage_add_ble_local_key(ble_local_key_cb.id_keys.irk, in btif_dm_upstreams_evt() 2726 &ble_local_key_cb.id_keys.irk) == in btif_dm_load_ble_local_keys() 2745 p_id_keys->irk = ble_local_key_cb.id_keys.irk; in btif_dm_get_ble_local_keys()
|
/system/bt/bta/include/ |
D | bta_api.h | 269 Octet16 irk; member
|
/system/bt/stack/smp/ |
D | smp_utils.cc | 601 const Octet16& irk = BTM_GetDeviceIDRoot(); in smp_build_identity_info_cmd() local 604 ARRAY_TO_STREAM(p, irk.data(), OCTET16_LEN); in smp_build_identity_info_cmd()
|
D | smp_act.cc | 1040 pid_key.pid_key.irk = p_cb->tk; in smp_proc_id_addr()
|