Home
last modified time | relevance | path

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

/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/smp/
Dsmp_keys.c1129 memcpy(p_cb->private_key, p_loc_oob->private_key_used, BT_OCTET32_LEN); in smp_process_private_key()
1130 memcpy(p_cb->loc_publ_key.x, p_loc_oob->publ_key_used.x, BT_OCTET32_LEN); in smp_process_private_key()
1131 memcpy(p_cb->loc_publ_key.y, p_loc_oob->publ_key_used.y, BT_OCTET32_LEN); in smp_process_private_key()
1134 memcpy(private_key, p_cb->private_key, BT_OCTET32_LEN); in smp_process_private_key()
1136 memcpy(p_cb->loc_publ_key.x, public_key.x, BT_OCTET32_LEN); in smp_process_private_key()
1137 memcpy(p_cb->loc_publ_key.y, public_key.y, BT_OCTET32_LEN); in smp_process_private_key()
1141 BT_OCTET32_LEN); in smp_process_private_key()
1143 BT_OCTET32_LEN); in smp_process_private_key()
1145 BT_OCTET32_LEN); in smp_process_private_key()
1169 memcpy(private_key, p_cb->private_key, BT_OCTET32_LEN); in smp_compute_dhkey()
[all …]
Dsmp_utils.c52 #define SMP_PAIR_PUBL_KEY_SIZE (1 /* opcode */ + (2*BT_OCTET32_LEN))
716 UINT8 publ_key[2 * BT_OCTET32_LEN]; in smp_build_pair_public_key_cmd()
722 memcpy(p_publ_key, p_cb->loc_publ_key.x, BT_OCTET32_LEN); in smp_build_pair_public_key_cmd()
723 memcpy(p_publ_key + BT_OCTET32_LEN, p_cb->loc_publ_key.y, BT_OCTET32_LEN); in smp_build_pair_public_key_cmd()
730 ARRAY_TO_STREAM (p, p_publ_key, 2 * BT_OCTET32_LEN); in smp_build_pair_public_key_cmd()
Dsmp_act.c762 STREAM_TO_ARRAY(p_cb->peer_publ_key.x, p, BT_OCTET32_LEN); in smp_process_pairing_public_key()
763 STREAM_TO_ARRAY(p_cb->peer_publ_key.y, p, BT_OCTET32_LEN); in smp_process_pairing_public_key()
1930 BT_OCTET32_LEN); in smp_set_local_oob_keys()
1960 BT_OCTET32_LEN); in smp_set_local_oob_random_commitment()
1963 BT_OCTET32_LEN); in smp_set_local_oob_random_commitment()
1966 BT_OCTET32_LEN); in smp_set_local_oob_random_commitment()
/hal_espressif-3.7.0/components/bt/esp_ble_mesh/mesh_core/bluedroid_host/
Dmesh_bearer_adapt.c1818 memcpy(private_key, bt_mesh_private_key, BT_OCTET32_LEN); in bt_mesh_pub_key_get()
1821 memcpy(bt_mesh_public_key, public_key.x, BT_OCTET32_LEN); in bt_mesh_pub_key_get()
1822 memcpy(bt_mesh_public_key + BT_OCTET32_LEN, public_key.y, BT_OCTET32_LEN); in bt_mesh_pub_key_get()
1850 BT_DBG("private key = %s", bt_hex(bt_mesh_private_key, BT_OCTET32_LEN)); in bt_mesh_dh_key_gen()
1852 memcpy(private_key, bt_mesh_private_key, BT_OCTET32_LEN); in bt_mesh_dh_key_gen()
1853 memcpy(peer_pub_key.x, remote_pk, BT_OCTET32_LEN); in bt_mesh_dh_key_gen()
1854 memcpy(peer_pub_key.y, &remote_pk[BT_OCTET32_LEN], BT_OCTET32_LEN); in bt_mesh_dh_key_gen()
1856 BT_DBG("remote public key x = %s", bt_hex(peer_pub_key.x, BT_OCTET32_LEN)); in bt_mesh_dh_key_gen()
1857 BT_DBG("remote public key y = %s", bt_hex(peer_pub_key.y, BT_OCTET32_LEN)); in bt_mesh_dh_key_gen()
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/include/stack/
Dbt_types.h324 #define BT_OCTET32_LEN 32 macro
325 typedef UINT8 BT_OCTET32[BT_OCTET32_LEN]; /* octet array: size 32 */
/hal_espressif-3.7.0/components/bt/esp_ble_mesh/api/
Desp_ble_mesh_defs.h325 #define BT_OCTET32_LEN 32 macro
326 typedef UINT8 BT_OCTET32[BT_OCTET32_LEN]; /* octet array: size 32 */