/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/hl/src/gap/smpc/ |
A D | smpc_api.h | 296 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 D | co_lmp.h | 300 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 D | co_hci.h | 811 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 D | co_bt_defines.h | 2286 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 D | gapc_task.h | 659 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 D | smp.h | 86 u8_t ltk[16]; member 128 u8_t *ltk);
|
A D | smp.c | 585 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 D | keys.h | 59 struct bt_ltk ltk; member
|
A D | hci_api.c | 1334 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 D | conn.c | 1015 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 D | conn_internal.h | 251 u8_t ediv[2], const u8_t *ltk, size_t len);
|
A D | hci_core.c | 4651 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 D | nvrecord_ble.h | 16 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 D | nvrecord_ble.h | 16 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 D | nvrecord_ble.h | 43 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 D | hci_api.h | 111 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 D | l2cc_pdu.h | 523 uint8_t ltk[GAP_KEY_LEN]; member
|
/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/ |
A D | hci.h | 795 u8_t ltk[16]; member 801 u8_t ltk[16]; member
|