Home
last modified time | relevance | path

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

/system/bt/stack/smp/
Dsmp_api.c343 smp_convert_string_to_tk(p_cb->tk, passkey); in SMP_PasskeyReply()
432 memcpy(p_cb->tk, p_data, len); in SMP_OobDataReply()
435 key.p_data = p_cb->tk; in SMP_OobDataReply()
Dsmp_keys.c208 UINT8 *tt = p_cb->tk; in smp_proc_passkey()
222 memset(p_cb->tk, 0, BT_OCTET16_LEN); in smp_proc_passkey()
226 key.p_data = p_cb->tk; in smp_proc_passkey()
618 if (!SMP_Encrypt(p_cb->tk, BT_OCTET16_LEN, p1, BT_OCTET16_LEN, &output)) in smp_calculate_comfirm()
658 if (!SMP_Encrypt(p_cb->tk, BT_OCTET16_LEN, p2, BT_OCTET16_LEN, &output)) in smp_calculate_comfirm_cont()
945 encrypted = SMP_Encrypt( p_cb->tk, BT_OCTET16_LEN, ptext, BT_OCTET16_LEN, output); in smp_calculate_legacy_short_term_key()
Dsmp_utils.c772 void smp_convert_string_to_tk(BT_OCTET16 tk, UINT32 passkey) in smp_convert_string_to_tk() argument
774 UINT8 *p = tk; in smp_convert_string_to_tk()
780 key.p_data = tk; in smp_convert_string_to_tk()
Dsmp_int.h327 BT_OCTET16 tk; member
481 extern void smp_convert_string_to_tk(BT_OCTET16 tk, UINT32 passkey);
Dsmp_act.c1038 STREAM_TO_ARRAY (p_cb->tk, p, BT_OCTET16_LEN); /* reuse TK for IRK */ in smp_proc_id_info()
1056 memcpy(pid_key.irk, p_cb->tk, BT_OCTET16_LEN); in smp_proc_id_addr()
1352 key.p_data = p_cb->tk; in smp_decide_association_model()
1355 memset(p_cb->tk, 0, BT_OCTET16_LEN); in smp_decide_association_model()