Home
last modified time | relevance | path

Searched refs:irk (Results 1 – 9 of 9) sorted by relevance

/system/bt/stack/btm/
Dbtm_ble_addr.cc40 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()
173 static bool rpa_matches_irk(const RawAddress& rpa, const Octet16& irk) { in rpa_matches_irk() argument
181 Octet16 x = crypto_toolbox::aes_128(irk, &rand[0], 3); in rpa_matches_irk()
206 if (rpa_matches_irk(rpa, p_dev_rec->ble.keys.irk)) { in btm_ble_addr_resolvable()
230 if (rpa_matches_irk(*random_bda, p_dev_rec->ble.keys.irk)) { in btm_ble_match_random_bda()
Dbtm_ble_privacy.cc725 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()
Dbtm_ble.cc199 const Octet16& BTM_GetDeviceIDRoot() { return btm_cb.devcb.id_keys.irk; } in BTM_GetDeviceIDRoot()
1295 p_rec->ble.keys.irk = p_keys->pid_key.irk; in btm_sec_save_le_key()
2286 btm_cb.devcb.id_keys.irk = in btm_ble_reset_id_impl()
Dbtm_int_types.h411 Octet16 irk; /* peer diverified identity root */ member
/system/bt/btif/src/
Dbtif_dm.cc133 Octet16 irk; member
1827 ble_local_key_cb.id_keys.irk = p_data->ble_id_keys.irk; in btif_dm_upstreams_evt()
1830 btif_storage_add_ble_local_key(ble_local_key_cb.id_keys.irk, in btif_dm_upstreams_evt()
2932 &ble_local_key_cb.id_keys.irk) == in btif_dm_load_ble_local_keys()
2951 p_id_keys->irk = ble_local_key_cb.id_keys.irk; in btif_dm_get_ble_local_keys()
/system/bt/stack/include/
Dbtm_api_types.h1665 Octet16 irk; member
1708 Octet16 irk; member
/system/bt/stack/smp/
Dsmp_utils.cc589 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()
Dsmp_act.cc1018 pid_key.pid_key.irk = p_cb->tk; in smp_proc_id_addr()
/system/bt/bta/include/
Dbta_api.h487 Octet16 irk; member