Home
last modified time | relevance | path

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

/AliOS-Things-master/components/ble_host/bt_host/host/
A Dkeys_br.c67 void bt_keys_link_key_clear(struct bt_keys_link_key *link_key) in bt_keys_link_key_clear() argument
69 BT_DBG("%s", bt_addr_str(&link_key->addr)); in bt_keys_link_key_clear()
71 (void)memset(link_key, 0, sizeof(*link_key)); in bt_keys_link_key_clear()
A Dkeys.h111 void bt_keys_link_key_clear(struct bt_keys_link_key *link_key);
A Dsmp.c922 struct bt_keys_link_key *link_key; in sc_derive_link_key() local
934 if (!link_key) { in sc_derive_link_key()
946 bt_keys_link_key_clear(link_key); in sc_derive_link_key()
954 bt_keys_link_key_clear(link_key); in sc_derive_link_key()
959 if (smp_h6(ilk, lebr, link_key->val)) { in sc_derive_link_key()
960 bt_keys_link_key_clear(link_key); in sc_derive_link_key()
963 link_key->flags |= BT_LINK_KEY_SC; in sc_derive_link_key()
1084 struct bt_keys_link_key *link_key = conn->br.link_key; in smp_br_derive_ltk() local
1091 if (!link_key) { in smp_br_derive_ltk()
1119 if (smp_h7(salt, link_key->val, ilk)) { in smp_br_derive_ltk()
[all …]
A Dhci_core.c3216 if (conn->br.link_key) { in update_sec_level_br()
3349 if (!conn->br.link_key) { in link_key_notify()
3352 if (!conn->br.link_key) { in link_key_notify()
3359 conn->br.link_key->flags = 0U; in link_key_notify()
3371 memcpy(conn->br.link_key->val, evt->link_key, 16); in link_key_notify()
3382 memcpy(conn->br.link_key->val, evt->link_key, 16); in link_key_notify()
3395 memcpy(conn->br.link_key->val, evt->link_key, 16); in link_key_notify()
3400 sizeof(conn->br.link_key->val)); in link_key_notify()
3440 memcpy(cp->link_key, lk, 16); in link_key_reply()
3458 if (!conn->br.link_key) { in link_key_req()
[all …]
A Dconn_internal.h85 struct bt_keys_link_key *link_key; member
/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/
A Dhci.h293 u8_t link_key[16]; member
1383 u8_t link_key[16]; member
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/common/api/
A Dco_bt_defines.h2312 struct ltk link_key; member

Completed in 50 milliseconds