Searched refs:loc_publ_key (Results 1 – 4 of 4) sorted by relevance
/system/bt/stack/smp/ |
D | smp_keys.cc | 602 p_cb->loc_publ_key.x[i] = saved_local_oob_data.publ_key_used.x[i]; in smp_create_private_key() 603 p_cb->loc_publ_key.y[i] = saved_local_oob_data.publ_key_used.y[i]; in smp_create_private_key() 691 memcpy(p_cb->loc_publ_key.x, public_key.x, BT_OCTET32_LEN); in smp_process_private_key() 692 memcpy(p_cb->loc_publ_key.y, public_key.y, BT_OCTET32_LEN); in smp_process_private_key() 696 smp_debug_print_nbyte_little_endian(p_cb->loc_publ_key.x, "local public(x)", in smp_process_private_key() 698 smp_debug_print_nbyte_little_endian(p_cb->loc_publ_key.y, "local public(y)", in smp_process_private_key() 756 p_cb->loc_publ_key.x, p_cb->peer_publ_key.x, p_cb->rand, 0); in smp_calculate_local_commitment() 763 crypto_toolbox::f4(p_cb->loc_publ_key.x, p_cb->peer_publ_key.x, in smp_calculate_local_commitment() 770 p_cb->loc_publ_key.x, p_cb->loc_publ_key.x, p_cb->local_random, 0); in smp_calculate_local_commitment() 794 output = crypto_toolbox::f4(p_cb->peer_publ_key.x, p_cb->loc_publ_key.x, in smp_calculate_peer_commitment() [all …]
|
D | smp_int.h | 255 tSMP_PUBLIC_KEY loc_publ_key; member
|
D | smp_utils.cc | 732 memcpy(p_publ_key, p_cb->loc_publ_key.x, BT_OCTET32_LEN); in smp_build_pair_public_key_cmd() 733 memcpy(p_publ_key + BT_OCTET32_LEN, p_cb->loc_publ_key.y, BT_OCTET32_LEN); in smp_build_pair_public_key_cmd()
|
D | smp_act.cc | 702 if (!memcmp(p_cb->peer_publ_key.x, p_cb->loc_publ_key.x, BT_OCTET32_LEN)) { in smp_process_pairing_public_key() 1921 p_cb->sc_oob_data.loc_oob_data.publ_key_used = p_cb->loc_publ_key; in smp_set_local_oob_keys()
|