Home
last modified time | relevance | path

Searched refs:ltk (Results 1 – 18 of 18) sorted by relevance

/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/hl/src/gap/smpc/
A Dsmpc_api.h296 uint8_t smpc_pairing_ltk_exch(uint8_t idx, struct gapc_ltk* ltk);
404 uint8_t smpc_encrypt_start(uint8_t idx, struct gapc_ltk *ltk);
418 void smpc_encrypt_start_handler(uint8_t idx, struct gapc_ltk *ltk);
430 void smpc_encrypt_cfm(uint8_t idx, bool accept, struct gap_sec_key *ltk, uint8_t key_size);
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/common/api/
A Dco_lmp.h300 struct ltk random;
309 struct ltk random;
318 struct ltk key;
327 struct ltk random;
345 struct ltk random;
354 struct ltk key;
381 struct ltk random;
774 struct ltk cfm_val;
783 struct ltk rand;
A Dco_hci.h811 struct ltk key;
2849 struct ltk key;
2883 struct ltk ltk; member
2892 struct ltk ltk; member
3551 struct ltk key;
3608 struct ltk key;
A Dco_bt_defines.h2286 struct ltk struct
2289 uint8_t ltk[KEY_LEN]; argument
2312 struct ltk link_key;
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/hl/api/
A Dgapc_task.h659 struct gap_sec_key ltk; member
743 struct gapc_ltk ltk; member
784 struct gapc_ltk ltk; member
799 struct gapc_ltk ltk; member
817 struct gap_sec_key ltk; member
/AliOS-Things-master/components/ble_host/bt_host/host/
A Dsmp.h86 u8_t ltk[16]; member
128 u8_t *ltk);
A Dsmp.c585 u8_t *ltk) in smp_f5() argument
641 sys_mem_swap(ltk, 16); in smp_f5()
1138 (void)memset(keys->ltk.ediv, 0, sizeof(keys->ltk.ediv)); in smp_br_derive_ltk()
1139 (void)memset(keys->ltk.rand, 0, sizeof(keys->ltk.rand)); in smp_br_derive_ltk()
2535 memcpy(keys->ltk.val, req->ltk, 16); in smp_encrypt_info()
2561 memcpy(keys->ltk.ediv, req->ediv, sizeof(keys->ltk.ediv)); in smp_master_ident()
2767 memcpy(ltk, conn->le.keys->ltk.val, enc_size); in bt_smp_request_ltk()
3926 conn->le.keys->ltk.ediv, in smp_security_request()
3927 conn->le.keys->ltk.val, in smp_security_request()
4828 u8_t mackey[16], ltk[16]; in smp_f5_test() local
[all …]
A Dkeys.h59 struct bt_ltk ltk; member
A Dhci_api.c1334 uint8_t ltk[16]) in hci_api_le_start_encrypt()
1349 memcpy(cp->ltk, ltk, sizeof(cp->ltk)); in hci_api_le_start_encrypt()
1354 __hci_api_weak__ int hci_api_le_enctypt_ltk_req_reply(uint16_t conn_handle, uint8_t ltk[16]) in hci_api_le_enctypt_ltk_req_reply()
1369 memcpy(cp->ltk, ltk, 16); in hci_api_le_enctypt_ltk_req_reply()
A Dconn.c1015 u8_t ediv[2], const u8_t *ltk, size_t len) in bt_conn_le_start_encryption() argument
1031 memcpy(cp->ltk, ltk, len); in bt_conn_le_start_encryption()
1032 if (len < sizeof(cp->ltk)) { in bt_conn_le_start_encryption()
1033 (void)memset(cp->ltk + len, 0, sizeof(cp->ltk) - len); in bt_conn_le_start_encryption()
1040 memcpy(ltk_buf, ltk, len); in bt_conn_le_start_encryption()
A Dconn_internal.h251 u8_t ediv[2], const u8_t *ltk, size_t len);
A Dhci_core.c4651 static void le_ltk_reply(u16_t handle, u8_t *ltk) in le_ltk_reply() argument
4666 memcpy(cp->ltk, ltk, sizeof(cp->ltk)); in le_ltk_reply()
4670 hci_api_le_enctypt_ltk_req_reply(handle, ltk); in le_ltk_reply()
4679 u8_t ltk[16]; in le_ltk_request() local
4691 if (bt_smp_request_ltk(conn, evt->rand, evt->ediv, ltk)) { in le_ltk_request()
4692 le_ltk_reply(handle, ltk); in le_ltk_request()
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/nv_section/fpga_section/
A Dnvrecord_ble.h16 bool nv_record_ble_record_find_ltk_through_static_bd_addr(uint8_t* pBdAddr, uint8_t *ltk);
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/nv_section/userdata_section/
A Dnvrecord_ble.h16 bool nv_record_ble_record_find_ltk_through_static_bd_addr(uint8_t* pBdAddr, uint8_t *ltk);
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/nvrecord/
A Dnvrecord_ble.h43 bool nv_record_ble_record_find_ltk_through_static_bd_addr(uint8_t *pBdAddr, uint8_t *ltk);
/AliOS-Things-master/components/ble_host/include/
A Dhci_api.h111 uint8_t ltk[16]);
113 int hci_api_le_enctypt_ltk_req_reply(uint16_t conn_handle, uint8_t ltk[16]);
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/hl/inc/
A Dl2cc_pdu.h523 uint8_t ltk[GAP_KEY_LEN]; member
/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/
A Dhci.h795 u8_t ltk[16]; member
801 u8_t ltk[16]; member

Completed in 83 milliseconds