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.c999 … 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()
1077 memcpy(private_key, p_cb->private_key, BT_OCTET32_LEN); in smp_process_private_key()
1079 memcpy(p_cb->loc_publ_key.x, public_key.x, BT_OCTET32_LEN); in smp_process_private_key()
1080 memcpy(p_cb->loc_publ_key.y, public_key.y, BT_OCTET32_LEN); in smp_process_private_key()
1083 BT_OCTET32_LEN); in smp_process_private_key()
1085 BT_OCTET32_LEN); in smp_process_private_key()
1087 BT_OCTET32_LEN); in smp_process_private_key()
1111 memcpy(private_key, p_cb->private_key, BT_OCTET32_LEN); in smp_compute_dhkey()
1112 memcpy(peer_publ_key.x, p_cb->peer_publ_key.x, BT_OCTET32_LEN); in smp_compute_dhkey()
1113 memcpy(peer_publ_key.y, p_cb->peer_publ_key.y, BT_OCTET32_LEN); in smp_compute_dhkey()
[all …]
Dsmp_utils.c54 #define SMP_PAIR_PUBL_KEY_SIZE (1 /* opcode */ + (2*BT_OCTET32_LEN))
662 UINT8 publ_key[2*BT_OCTET32_LEN]; in smp_build_pair_public_key_cmd()
670 memcpy(p_publ_key, p_cb->loc_publ_key.x, BT_OCTET32_LEN); in smp_build_pair_public_key_cmd()
671 memcpy(p_publ_key + BT_OCTET32_LEN, p_cb->loc_publ_key.y, BT_OCTET32_LEN); in smp_build_pair_public_key_cmd()
675 ARRAY_TO_STREAM(p, p_publ_key, 2*BT_OCTET32_LEN); in smp_build_pair_public_key_cmd()
Dsmp_act.c746 STREAM_TO_ARRAY(p_cb->peer_publ_key.x, p, BT_OCTET32_LEN); in smp_process_pairing_public_key()
747 STREAM_TO_ARRAY(p_cb->peer_publ_key.y, p, BT_OCTET32_LEN); in smp_process_pairing_public_key()
1940 BT_OCTET32_LEN); in smp_set_local_oob_keys()
1969 BT_OCTET32_LEN); in smp_set_local_oob_random_commitment()
1972 BT_OCTET32_LEN); in smp_set_local_oob_random_commitment()
1975 BT_OCTET32_LEN); in smp_set_local_oob_random_commitment()
/system/bt/stack/include/
Dbt_types.h335 #define BT_OCTET32_LEN 32 macro
336 typedef UINT8 BT_OCTET32[BT_OCTET32_LEN]; /* octet array: size 32 */