Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/bt/host/bluedroid/btc/profile/std/smp/include/
Desp_sec_api.h44 smp_sec_key ltk; member
/hal_espressif-2.7.6/components/bt/host/bluedroid/btc/profile/std/smp/
Desp_app_sec.c65 app_sec_env.ltk.key[i] = (((key_size) < (16 - i)) ? 0 : random() % 256); in app_ble_sec_gen_ltk()
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/smp/
Dsmp_utils.c510 ARRAY_TO_STREAM (p, p_cb->ltk, BT_OCTET16_LEN); in smp_build_encrypt_info_cmd()
1546 memcpy(lle_key.ltk, p_cb->ltk, BT_OCTET16_LEN); in smp_save_secure_connections_long_term_key()
1555 memcpy(ple_key.ltk, p_cb->ltk, BT_OCTET16_LEN); in smp_save_secure_connections_long_term_key()
1594 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.c307 memcpy(output.param_buf, p_cb->ltk, SMP_ENCRYT_DATA_SIZE); in smp_generate_stk()
843 memcpy((void *)p_cb->ltk, output.param_buf, BT_OCTET16_LEN); in smp_generate_ltk_cont()
1487 UINT8 *mac_key, UINT8 *ltk) in smp_calculate_f5() argument
1545 length, ltk)) { in smp_calculate_f5()
1550 p_prnt = ltk; in smp_calculate_f5()
1932 ret = smp_calculate_h6(p_cb->ltk, (UINT8 *)"1pmt" /* reversed "tmp1" */, intermediate_link_key); in smp_calculate_link_key_from_long_term_key()
2037 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-2.7.6/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-2.7.6/components/bt/host/bluedroid/api/include/api/
Desp_gap_ble_api.h477 esp_bt_octet16_t ltk; /*!< The long term key*/ member
509 esp_bt_octet16_t ltk; /*!< The long term key */ member
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/include/stack/
Dhcimsgs.h798 UINT16 ediv, UINT8 ltk[HCIC_BLE_ENCRYT_KEY_SIZE]);
800 BOOLEAN btsnd_hcic_ble_ltk_req_reply (UINT16 handle, UINT8 ltk[HCIC_BLE_ENCRYT_KEY_SIZE]);
Dbtm_api.h1675 BT_OCTET16 ltk; member
1691 BT_OCTET16 ltk; member
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/hcic/
Dhciblecmds.c620 UINT16 ediv, UINT8 ltk[HCIC_BLE_ENCRYT_KEY_SIZE]) in btsnd_hcic_ble_start_enc()
640 ARRAY_TO_STREAM (pp, ltk, HCIC_BLE_ENCRYT_KEY_SIZE); in btsnd_hcic_ble_start_enc()
646 BOOLEAN btsnd_hcic_ble_ltk_req_reply (UINT16 handle, UINT8 ltk[HCIC_BLE_ENCRYT_KEY_SIZE]) in btsnd_hcic_ble_ltk_req_reply()
664 ARRAY_TO_STREAM (pp, ltk, HCIC_BLE_ENCRYT_KEY_SIZE); in btsnd_hcic_ble_ltk_req_reply()
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/btm/
Dbtm_ble.c1237 memcpy(p_rec->ble.keys.pltk, p_keys->penc_key.ltk, BT_OCTET16_LEN); in btm_sec_save_le_key()
1291 memcpy(p_rec->ble.keys.lltk, p_keys->lenc_key.ltk, BT_OCTET16_LEN); in btm_sec_save_le_key()