Home
last modified time | relevance | path

Searched refs:tk (Results 1 – 5 of 5) sorted by relevance

/system/bt/stack/smp/
Dsmp_api.c329 smp_convert_string_to_tk(p_cb->tk, passkey); in SMP_PasskeyReply()
418 memcpy(p_cb->tk, p_data, len); in SMP_OobDataReply()
421 key.p_data = p_cb->tk; in SMP_OobDataReply()
Dsmp_keys.c227 UINT8 *tt = p_cb->tk; in smp_proc_passkey()
241 memset(p_cb->tk, 0, BT_OCTET16_LEN); in smp_proc_passkey()
245 key.p_data = p_cb->tk; in smp_proc_passkey()
637 if (!SMP_Encrypt(p_cb->tk, BT_OCTET16_LEN, p1, BT_OCTET16_LEN, &output)) in smp_calculate_comfirm()
677 if (!SMP_Encrypt(p_cb->tk, BT_OCTET16_LEN, p2, BT_OCTET16_LEN, &output)) in smp_calculate_comfirm_cont()
964 encrypted = SMP_Encrypt( p_cb->tk, BT_OCTET16_LEN, ptext, BT_OCTET16_LEN, output); in smp_calculate_legacy_short_term_key()
Dsmp_utils.c803 void smp_convert_string_to_tk(BT_OCTET16 tk, UINT32 passkey) in smp_convert_string_to_tk() argument
805 UINT8 *p = tk; in smp_convert_string_to_tk()
811 key.p_data = tk; in smp_convert_string_to_tk()
Dsmp_int.h327 BT_OCTET16 tk; member
480 extern void smp_convert_string_to_tk(BT_OCTET16 tk, UINT32 passkey);
Dsmp_act.c985 STREAM_TO_ARRAY (p_cb->tk, p, BT_OCTET16_LEN); /* reuse TK for IRK */ in smp_proc_id_info()
1003 memcpy(pid_key.irk, p_cb->tk, BT_OCTET16_LEN); in smp_proc_id_addr()
1299 key.p_data = p_cb->tk; in smp_decide_association_model()
1302 memset(p_cb->tk, 0, BT_OCTET16_LEN); in smp_decide_association_model()