Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_dev.c63 LINK_KEY link_key, UINT8 key_type, tBTM_IO_CAP io_cap, in BTM_SecAddDevice() argument
142 if (link_key) in BTM_SecAddDevice()
148 memcpy (p_dev_rec->link_key, link_key, LINK_KEY_LEN); in BTM_SecAddDevice()
Dbtm_sec.c1310 tBTM_STATUS BTM_SecGetDeviceLinkKey (BD_ADDR bd_addr, LINK_KEY link_key) in BTM_SecGetDeviceLinkKey() argument
1317 memcpy (link_key, p_dev_rec->link_key, LINK_KEY_LEN); in BTM_SecGetDeviceLinkKey()
4920 memcpy (p_dev_rec->link_key, p_link_key, LINK_KEY_LEN); in btm_sec_link_key_notification()
5039 btsnd_hcic_link_key_req_reply (p_bda, p_dev_rec->link_key); in btm_sec_link_key_request()
5852 p_dev_rec->sec_bd_name, p_dev_rec->link_key, in btm_send_link_key_notif()
Dbtm_int.h519 LINK_KEY link_key; /* Device link key */ member
/system/bt/btif/src/
Dbtif_storage.c443 LINK_KEY link_key; in btif_in_fetch_bonded_device() local
444 size_t size = sizeof(link_key); in btif_in_fetch_bonded_device()
445 if(btif_config_get_bin(bdstr, "LinkKey", (uint8_t *)link_key, &size)) in btif_in_fetch_bonded_device()
497 LINK_KEY link_key; in btif_in_fetch_bonded_devices() local
498 size_t size = sizeof(link_key); in btif_in_fetch_bonded_devices()
499 if(btif_config_get_bin(name, "LinkKey", link_key, &size)) in btif_in_fetch_bonded_devices()
516 BTA_DmAddDevice(bd_addr.address, dev_class, link_key, 0, 0, in btif_in_fetch_bonded_devices()
800 LINK_KEY link_key, in btif_storage_add_bonded_device() argument
808 ret &= btif_config_set_bin(bdstr, "LinkKey", link_key, sizeof(LINK_KEY)); in btif_storage_add_bonded_device()
/system/bt/btif/include/
Dbtif_storage.h120 LINK_KEY link_key,
/system/bt/bta/dm/
Dbta_dm_api.c509 void BTA_DmAddDevice(BD_ADDR bd_addr, DEV_CLASS dev_class, LINK_KEY link_key, in BTA_DmAddDevice() argument
526 if (link_key) in BTA_DmAddDevice()
530 memcpy(p_msg->link_key, link_key, LINK_KEY_LEN); in BTA_DmAddDevice()
Dbta_dm_int.h353 LINK_KEY link_key; member
Dbta_dm_act.c747 p_lc = (UINT8 *)p_dev->link_key; in bta_dm_add_device()
/system/bt/stack/smp/
Dsmp_keys.c1966 BT_OCTET16 link_key; in smp_calculate_link_key_from_long_term_key() local
1967 ret = smp_calculate_h6(intermediate_link_key, (UINT8 *) "rbel" /* reversed "lebr" */, link_key); in smp_calculate_link_key_from_long_term_key()
2008 ARRAY16_TO_STREAM(p, link_key); in smp_calculate_link_key_from_long_term_key()
2061 p2 = p_dev_rec->link_key; in smp_calculate_long_term_key_from_link_key()
/system/bt/stack/include/
Dbtm_api.h1893 typedef BOOLEAN (tBTM_MIP_QUERY_CB) (BD_ADDR dev_addr, UINT8 *p_mode, LINK_KEY link_key);
3318 UINT32 trusted_mask[], LINK_KEY link_key,
3347 LINK_KEY link_key);
Dhcimsgs.h130 LINK_KEY link_key);
/system/bt/stack/hcic/
Dhcicmds.c284 BOOLEAN btsnd_hcic_link_key_req_reply (BD_ADDR bd_addr, LINK_KEY link_key) in btsnd_hcic_link_key_req_reply() argument
301 ARRAY16_TO_STREAM (pp, link_key); in btsnd_hcic_link_key_req_reply()
/system/bt/bta/include/
Dbta_api.h1620 LINK_KEY link_key, tBTA_SERVICE_MASK trusted_mask,