Home
last modified time | relevance | path

Searched refs:BT_OCTET32_LEN (Results 1 – 4 of 4) sorted by relevance

/system/bt/stack/smp/
Dsmp_keys.c1018 … memcpy(p_cb->private_key, p_cb->sc_oob_data.loc_oob_data.private_key_used, BT_OCTET32_LEN); in smp_use_oob_private_key()
1096 memcpy(private_key, p_cb->private_key, BT_OCTET32_LEN); in smp_process_private_key()
1098 memcpy(p_cb->loc_publ_key.x, public_key.x, BT_OCTET32_LEN); in smp_process_private_key()
1099 memcpy(p_cb->loc_publ_key.y, public_key.y, BT_OCTET32_LEN); in smp_process_private_key()
1102 BT_OCTET32_LEN); in smp_process_private_key()
1104 BT_OCTET32_LEN); in smp_process_private_key()
1106 BT_OCTET32_LEN); in smp_process_private_key()
1130 memcpy(private_key, p_cb->private_key, BT_OCTET32_LEN); in smp_compute_dhkey()
1131 memcpy(peer_publ_key.x, p_cb->peer_publ_key.x, BT_OCTET32_LEN); in smp_compute_dhkey()
1132 memcpy(peer_publ_key.y, p_cb->peer_publ_key.y, BT_OCTET32_LEN); in smp_compute_dhkey()
[all …]
Dsmp_utils.c51 #define SMP_PAIR_PUBL_KEY_SIZE (1 /* opcode */ + (2*BT_OCTET32_LEN))
681 UINT8 publ_key[2*BT_OCTET32_LEN]; in smp_build_pair_public_key_cmd()
687 memcpy(p_publ_key, p_cb->loc_publ_key.x, BT_OCTET32_LEN); in smp_build_pair_public_key_cmd()
688 memcpy(p_publ_key + BT_OCTET32_LEN, p_cb->loc_publ_key.y, BT_OCTET32_LEN); in smp_build_pair_public_key_cmd()
696 ARRAY_TO_STREAM (p, p_publ_key, 2*BT_OCTET32_LEN); in smp_build_pair_public_key_cmd()
Dsmp_act.c693 STREAM_TO_ARRAY(p_cb->peer_publ_key.x, p, BT_OCTET32_LEN); in smp_process_pairing_public_key()
694 STREAM_TO_ARRAY(p_cb->peer_publ_key.y, p, BT_OCTET32_LEN); in smp_process_pairing_public_key()
1874 BT_OCTET32_LEN); in smp_set_local_oob_keys()
1903 BT_OCTET32_LEN); in smp_set_local_oob_random_commitment()
1906 BT_OCTET32_LEN); in smp_set_local_oob_random_commitment()
1909 BT_OCTET32_LEN); in smp_set_local_oob_random_commitment()
/system/bt/stack/include/
Dbt_types.h333 #define BT_OCTET32_LEN 32 macro
334 typedef UINT8 BT_OCTET32[BT_OCTET32_LEN]; /* octet array: size 32 */