Home
last modified time | relevance | path

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

/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/smp/include/
Desp_sec_api.h36 smp_sec_key ltk; member
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/smp/
Desp_app_sec.c57 app_sec_env.ltk.key[i] = (((key_size) < (16 - i)) ? 0 : random() % 256); in app_ble_sec_gen_ltk()
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/
Dsmp_utils.c509 ARRAY_TO_STREAM (p, p_cb->ltk, BT_OCTET16_LEN); in smp_build_encrypt_info_cmd()
1547 memcpy(lle_key.ltk, p_cb->ltk, BT_OCTET16_LEN); in smp_save_secure_connections_long_term_key()
1556 memcpy(ple_key.ltk, p_cb->ltk, BT_OCTET16_LEN); in smp_save_secure_connections_long_term_key()
1595 if (!smp_calculate_f5(p_cb->dhkey, p_na, p_nb, a, b, p_cb->mac_key, p_cb->ltk)) { in smp_calculate_f5_mackey_and_long_term_key()
Dsmp_keys.c333 memcpy(output.param_buf, p_cb->ltk, SMP_ENCRYT_DATA_SIZE); in smp_generate_stk()
869 memcpy((void *)p_cb->ltk, output.param_buf, BT_OCTET16_LEN); in smp_generate_ltk_cont()
1534 UINT8 *mac_key, UINT8 *ltk) in smp_calculate_f5() argument
1592 length, ltk)) { in smp_calculate_f5()
1597 p_prnt = ltk; in smp_calculate_f5()
1979 ret = smp_calculate_h6(p_cb->ltk, (UINT8 *)"1pmt" /* reversed "tmp1" */, intermediate_link_key); in smp_calculate_link_key_from_long_term_key()
2084 p_cb->ltk); in smp_calculate_long_term_key_from_link_key()
Dsmp_act.c375 memcpy(le_key.ltk, p_cb->ltk, BT_OCTET16_LEN); in smp_send_enc_info()
1016 STREAM_TO_ARRAY(p_cb->ltk, p, BT_OCTET16_LEN); in smp_proc_enc_info()
1039 memcpy(le_key.ltk, p_cb->ltk, BT_OCTET16_LEN); in smp_proc_master_id()
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/include/
Dsmp_int.h323 BT_OCTET16 ltk; member
386 UINT8 *mac_key, UINT8 *ltk);
522 UINT8 *mac_key, UINT8 *ltk);
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/
Dhcimsgs.h858 UINT16 ediv, UINT8 ltk[HCIC_BLE_ENCRYT_KEY_SIZE]);
860 BOOLEAN btsnd_hcic_ble_ltk_req_reply (UINT16 handle, UINT8 ltk[HCIC_BLE_ENCRYT_KEY_SIZE]);
Dbtm_api.h1737 BT_OCTET16 ltk; member
1753 BT_OCTET16 ltk; member
/hal_espressif-latest/components/bt/host/bluedroid/stack/hcic/
Dhciblecmds.c616 UINT16 ediv, UINT8 ltk[HCIC_BLE_ENCRYT_KEY_SIZE]) in btsnd_hcic_ble_start_enc()
636 ARRAY_TO_STREAM (pp, ltk, HCIC_BLE_ENCRYT_KEY_SIZE); in btsnd_hcic_ble_start_enc()
642 BOOLEAN btsnd_hcic_ble_ltk_req_reply (UINT16 handle, UINT8 ltk[HCIC_BLE_ENCRYT_KEY_SIZE]) in btsnd_hcic_ble_ltk_req_reply()
660 ARRAY_TO_STREAM (pp, ltk, HCIC_BLE_ENCRYT_KEY_SIZE); in btsnd_hcic_ble_ltk_req_reply()
/hal_espressif-latest/components/bt/host/bluedroid/api/include/api/
Desp_gap_ble_api.h539 esp_bt_octet16_t ltk; /*!< The long term key*/ member
571 esp_bt_octet16_t ltk; /*!< The long term key */ member
/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/
Dbtm_ble.c1295 memcpy(p_rec->ble.keys.pltk, p_keys->penc_key.ltk, BT_OCTET16_LEN); in btm_sec_save_le_key()
1349 memcpy(p_rec->ble.keys.lltk, p_keys->lenc_key.ltk, BT_OCTET16_LEN); in btm_sec_save_le_key()