Home
last modified time | relevance | path

Searched refs:link_key (Results 1 – 13 of 13) sorted by relevance

/system/bt/stack/btm/
Dbtm_dev.c61 LINK_KEY link_key, UINT8 key_type, tBTM_IO_CAP io_cap, in BTM_SecAddDevice() argument
127 if (link_key) in BTM_SecAddDevice()
133 memcpy (p_dev_rec->link_key, link_key, LINK_KEY_LEN); in BTM_SecAddDevice()
Dbtm_sec.c1301 tBTM_STATUS BTM_SecGetDeviceLinkKey (BD_ADDR bd_addr, LINK_KEY link_key) in BTM_SecGetDeviceLinkKey() argument
1308 memcpy (link_key, p_dev_rec->link_key, LINK_KEY_LEN); in BTM_SecGetDeviceLinkKey()
4883 memcpy (p_dev_rec->link_key, p_link_key, LINK_KEY_LEN); in btm_sec_link_key_notification()
5002 btsnd_hcic_link_key_req_reply (p_bda, p_dev_rec->link_key); in btm_sec_link_key_request()
5767 p_dev_rec->sec_bd_name, p_dev_rec->link_key, in btm_send_link_key_notif()
Dbtm_int.h523 LINK_KEY link_key; /* Device link key */ member
/system/bt/btif/src/
Dbtif_storage.c395 LINK_KEY link_key; in btif_in_fetch_bonded_device() local
396 size_t size = sizeof(link_key); in btif_in_fetch_bonded_device()
397 if(btif_config_get_bin(bdstr, "LinkKey", (uint8_t *)link_key, &size)) in btif_in_fetch_bonded_device()
449 LINK_KEY link_key; in btif_in_fetch_bonded_devices() local
450 size_t size = sizeof(link_key); in btif_in_fetch_bonded_devices()
451 if (btif_config_get_bin(name, "LinkKey", link_key, &size)) { in btif_in_fetch_bonded_devices()
463 BTA_DmAddDevice(bd_addr.address, dev_class, link_key, 0, 0, in btif_in_fetch_bonded_devices()
778 LINK_KEY link_key, in btif_storage_add_bonded_device() argument
786 ret &= btif_config_set_bin(bdstr, "LinkKey", link_key, sizeof(LINK_KEY)); in btif_storage_add_bonded_device()
/system/bt/btif/include/
Dbtif_storage.h123 LINK_KEY link_key,
/system/bt/bta/dm/
Dbta_dm_api.c448 void BTA_DmAddDevice(BD_ADDR bd_addr, DEV_CLASS dev_class, LINK_KEY link_key, in BTA_DmAddDevice() argument
461 if (link_key) { in BTA_DmAddDevice()
464 memcpy(p_msg->link_key, link_key, LINK_KEY_LEN); in BTA_DmAddDevice()
Dbta_dm_int.h351 LINK_KEY link_key; member
Dbta_dm_act.c812 p_lc = (UINT8 *)p_dev->link_key; in bta_dm_add_device()
/system/bt/stack/smp/
Dsmp_keys.c1947 BT_OCTET16 link_key; in smp_calculate_link_key_from_long_term_key() local
1948 ret = smp_calculate_h6(intermediate_link_key, (UINT8 *) "rbel" /* reversed "lebr" */, link_key); in smp_calculate_link_key_from_long_term_key()
1989 ARRAY16_TO_STREAM(p, link_key); in smp_calculate_link_key_from_long_term_key()
2042 p2 = p_dev_rec->link_key; in smp_calculate_long_term_key_from_link_key()
/system/bt/stack/include/
Dbtm_api.h1889 typedef BOOLEAN (tBTM_MIP_QUERY_CB) (BD_ADDR dev_addr, UINT8 *p_mode, LINK_KEY link_key);
3312 UINT32 trusted_mask[], LINK_KEY link_key,
3350 LINK_KEY link_key);
Dhcimsgs.h130 LINK_KEY link_key);
/system/bt/stack/hcic/
Dhcicmds.c231 BOOLEAN btsnd_hcic_link_key_req_reply (BD_ADDR bd_addr, LINK_KEY link_key) in btsnd_hcic_link_key_req_reply() argument
243 ARRAY16_TO_STREAM (pp, link_key); in btsnd_hcic_link_key_req_reply()
/system/bt/bta/include/
Dbta_api.h1569 LINK_KEY link_key, tBTA_SERVICE_MASK trusted_mask,