/system/bt/stack/btm/ |
D | btm_ble_addr.cc | 40 RawAddress generate_rpa_from_irk_and_rand(const Octet16& irk, in generate_rpa_from_irk_and_rand() argument 51 Octet16 p = crypto_toolbox::aes_128(irk, random, 3); in generate_rpa_from_irk_and_rand() 90 const Octet16& irk = BTM_GetDeviceIDRoot(); in btm_gen_resolvable_private_addr() local 91 cb.Run(generate_rpa_from_irk_and_rand(irk, random)); in btm_gen_resolvable_private_addr() 130 static bool rpa_matches_irk(const RawAddress& rpa, const Octet16& irk) { in rpa_matches_irk() argument 138 Octet16 x = crypto_toolbox::aes_128(irk, &rand[0], 3); in rpa_matches_irk() 163 if (rpa_matches_irk(rpa, p_dev_rec->ble.keys.irk)) { in btm_ble_addr_resolvable() 187 if (rpa_matches_irk(*random_bda, p_dev_rec->ble.keys.irk)) { in btm_ble_match_random_bda()
|
D | btm_ble_privacy.cc | 725 const Octet16& peer_irk = p_dev_rec->ble.keys.irk; in btm_ble_resolving_list_load_dev() 726 const Octet16& local_irk = btm_cb.devcb.id_keys.irk; in btm_ble_resolving_list_load_dev() 751 ARRAY_TO_STREAM(p, p_dev_rec->ble.keys.irk, OCTET16_LEN); in btm_ble_resolving_list_load_dev()
|
D | btm_ble.cc | 221 return btm_cb.devcb.id_keys.irk; in BTM_GetDeviceIDRoot() 1307 p_rec->ble.keys.irk = p_keys->pid_key.irk; in btm_sec_save_le_key() 2183 btm_cb.devcb.id_keys.irk = in btm_ble_reset_id_impl()
|
D | btm_int_types.h | 396 Octet16 irk; /* peer diverified identity root */ member
|
/system/bt/gd/security/record/ |
D | security_record_database.h | 57 if (record->irk.has_value() && address.IsRpaThatMatchesIrk(record->irk.value())) return it; in Find()
|
D | security_record.h | 134 std::optional<crypto_toolbox::Octet16> irk; variable
|
/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() 70 address_policy, address_with_type, irk, minimum_rotation_time, maximum_rotation_time); in SetPrivacyPolicyForInitiatorAddress()
|
/system/bt/gd/hci/ |
D | le_address_manager_test.cc | 203 …Octet16 irk = {0xec, 0x02, 0x34, 0xa3, 0x57, 0xc8, 0xad, 0x05, 0x34, 0x10, 0x10, 0xa6, 0x0a, 0x39,… in TEST_F() local 210 irk, in TEST_F() 225 Octet16 irk = {}; in TEST_F() local 232 irk, in TEST_F() 249 …Octet16 irk = {0xec, 0x02, 0x34, 0xa3, 0x57, 0xc8, 0xad, 0x05, 0x34, 0x10, 0x10, 0xa6, 0x0a, 0x39,… in TEST_F() local 256 irk, in TEST_F() 285 …Octet16 irk = {0xec, 0x02, 0x34, 0xa3, 0x57, 0xc8, 0xad, 0x05, 0x34, 0x10, 0x10, 0xa6, 0x0a, 0x39,… in SetUp() local 292 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_test.cc | 325 crypto_toolbox::Octet16 irk = {}; in SetUp() local 331 irk, in SetUp() 1223 crypto_toolbox::Octet16 irk = {}; in SetUp() local 1229 irk, in SetUp()
|
/system/bt/gd/security/ |
D | pairing_handler_le.cc | 348 std::optional<Octet16> irk; in ReceiveKeys() local 380 irk = std::get<IdentityInformationView>(packet).GetIdentityResolvingKey(); in ReceiveKeys() 411 .irk = irk, in ReceiveKeys() 416 std::array<uint8_t, 8> rand, Octet16 irk, Address identity_address, in SendKeys() argument 427 SendL2capPacket(i, IdentityInformationBuilder::Create(irk)); in SendKeys()
|
D | initial_informations.h | 46 std::optional<crypto_toolbox::Octet16> irk; member
|
D | facade.cc | 188 crypto_toolbox::Octet16 irk = {}; in SetLeInitiatorAddressPolicy() local 192 std::copy_n(irk_data.begin(), crypto_toolbox::OCTET16_LEN, irk.begin()); in SetLeInitiatorAddressPolicy() 199 address_policy, address_with_type, irk, minimum_rotation_time, maximum_rotation_time); in SetLeInitiatorAddressPolicy()
|
D | pairing_handler_le.h | 223 … std::array<uint8_t, 8> rand, Octet16 irk, Address identity_address, AddrType identity_addres_type,
|
/system/bt/btif/src/ |
D | btif_dm.cc | 137 Octet16 irk; member 1894 ble_local_key_cb.id_keys.irk = p_data->ble_id_keys.irk; in btif_dm_upstreams_evt() 1897 btif_storage_add_ble_local_key(ble_local_key_cb.id_keys.irk, in btif_dm_upstreams_evt() 3026 &ble_local_key_cb.id_keys.irk) == in btif_dm_load_ble_local_keys() 3045 p_id_keys->irk = ble_local_key_cb.id_keys.irk; in btif_dm_get_ble_local_keys()
|
/system/bt/stack/include/ |
D | btm_api_types.h | 1386 Octet16 irk; member 1429 Octet16 irk; member
|
/system/bt/gd/security/internal/ |
D | security_manager_impl.cc | 78 crypto_toolbox::Octet16 irk = { in Init() local 85 address_policy, address_with_type, irk, minimum_rotation_time, maximum_rotation_time); in Init()
|
/system/bt/stack/smp/ |
D | smp_utils.cc | 589 const Octet16& irk = BTM_GetDeviceIDRoot(); in smp_build_identity_info_cmd() local 592 ARRAY_TO_STREAM(p, irk.data(), OCTET16_LEN); in smp_build_identity_info_cmd()
|
D | smp_act.cc | 1018 pid_key.pid_key.irk = p_cb->tk; in smp_proc_id_addr()
|
/system/bt/bta/include/ |
D | bta_api.h | 480 Octet16 irk; member
|