/system/bt/stack/smp/ |
D | smp_keys.c | 147 ARRAY_TO_STREAM (p, plain_text, pt_len); /* byte 0 to byte 15 */ in smp_encrypt_data() 1268 ARRAY_TO_STREAM(p, v, BT_OCTET32_LEN); in smp_calculate_f4() 1269 ARRAY_TO_STREAM(p, u, BT_OCTET32_LEN); in smp_calculate_f4() 1276 ARRAY_TO_STREAM(p, x, BT_OCTET16_LEN); in smp_calculate_f4() 1289 ARRAY_TO_STREAM(p, cmac, BT_OCTET16_LEN); in smp_calculate_f4() 1373 ARRAY_TO_STREAM(p, y, BT_OCTET16_LEN); in smp_calculate_g2() 1374 ARRAY_TO_STREAM(p, v, BT_OCTET32_LEN); in smp_calculate_g2() 1375 ARRAY_TO_STREAM(p, u, BT_OCTET32_LEN); in smp_calculate_g2() 1388 ARRAY_TO_STREAM(p, x, BT_OCTET16_LEN); in smp_calculate_g2() 1622 ARRAY_TO_STREAM(p, t, BT_OCTET16_LEN); in smp_calculate_f5_mackey_or_long_term_key() [all …]
|
D | smp_utils.c | 426 ARRAY_TO_STREAM(p, p_cb->confirm, BT_OCTET16_LEN); in smp_build_confirm_cmd() 452 ARRAY_TO_STREAM(p, p_cb->rand, BT_OCTET16_LEN); in smp_build_rand_cmd() 478 ARRAY_TO_STREAM(p, p_cb->ltk, BT_OCTET16_LEN); in smp_build_encrypt_info_cmd() 505 ARRAY_TO_STREAM(p, p_cb->enc_rand, BT_OCTET8_LEN); in smp_build_master_id_cmd() 536 ARRAY_TO_STREAM(p, irk, BT_OCTET16_LEN); in smp_build_identity_info_cmd() 590 ARRAY_TO_STREAM(p, p_cb->csrk, BT_OCTET16_LEN); in smp_build_signing_info_cmd() 675 ARRAY_TO_STREAM(p, p_publ_key, 2*BT_OCTET32_LEN); in smp_build_pair_public_key_cmd() 701 ARRAY_TO_STREAM(p, p_cb->commitment, BT_OCTET16_LEN); in smp_build_pairing_commitment_cmd() 727 ARRAY_TO_STREAM(p, p_cb->dhkey_check, BT_OCTET16_LEN); in smp_build_pair_dhkey_check_cmd()
|
/system/bt/stack/hcic/ |
D | hciblecmds.c | 47 ARRAY_TO_STREAM (pp, feat_set, HCIC_PARAM_SIZE_SET_USED_FEAT_CMD); in btsnd_hcic_ble_set_local_used_feat() 132 ARRAY_TO_STREAM (pp, p_data, data_len); in btsnd_hcic_ble_set_adv_data() 159 ARRAY_TO_STREAM (pp, p_scan_rsp, data_len); in btsnd_hcic_ble_set_scan_rsp_data() 366 ARRAY_TO_STREAM (pp, chnl_map, HCIC_BLE_CHNL_MAP_SIZE); in btsnd_hcic_ble_set_host_chnl_class() 429 ARRAY_TO_STREAM (pp, key, key_len); in btsnd_hcic_ble_encrypt() 431 ARRAY_TO_STREAM (pp, plain_text, pt_len); in btsnd_hcic_ble_encrypt() 468 ARRAY_TO_STREAM (pp, rand, HCIC_BLE_RAND_DI_SIZE); in btsnd_hcic_ble_start_enc() 470 ARRAY_TO_STREAM (pp, ltk, HCIC_BLE_ENCRYT_KEY_SIZE); in btsnd_hcic_ble_start_enc() 488 ARRAY_TO_STREAM (pp, ltk, HCIC_BLE_ENCRYT_KEY_SIZE); in btsnd_hcic_ble_ltk_req_reply() 638 ARRAY_TO_STREAM (pp, irk_peer, HCIC_BLE_ENCRYT_KEY_SIZE); in btsnd_hcic_ble_add_device_resolving_list() [all …]
|
D | hcicmds.c | 765 ARRAY_TO_STREAM (pp, filt_cond, filt_cond_len); in btsnd_hcic_set_event_filter() 831 ARRAY_TO_STREAM (pp, name, len); in btsnd_hcic_change_name() 1444 ARRAY_TO_STREAM (pp, p_data, len); in btsnd_hcic_vendor_spec_cmd()
|
/system/bt/stack/btm/ |
D | btm_ble_adv_filter.c | 484 ARRAY_TO_STREAM(p, p_local_name->p_data, p_local_name->data_len); in btm_ble_update_pf_local_name() 589 ARRAY_TO_STREAM(p, p_srvc_data->p_pattern, p_srvc_data->data_len); in btm_ble_update_pf_manu_data() 591 ARRAY_TO_STREAM(p, p_srvc_data->p_pattern_mask, p_srvc_data->data_len); in btm_ble_update_pf_manu_data() 612 ARRAY_TO_STREAM(p, p_manu_data->p_pattern, p_manu_data->data_len); in btm_ble_update_pf_manu_data() 631 ARRAY_TO_STREAM(p, p_manu_data->p_pattern_mask, p_manu_data->data_len); in btm_ble_update_pf_manu_data() 870 ARRAY_TO_STREAM (p, p_uuid_cond->uuid.uu.uuid128, LEN_UUID_128); in btm_ble_update_uuid_filter() 893 ARRAY_TO_STREAM (p, p_uuid_cond->p_uuid_mask->uuid128_mask, LEN_UUID_128); in btm_ble_update_uuid_filter()
|
D | btm_ble_gap.c | 1404 ARRAY_TO_STREAM(p, btm_cb.cfg.bd_name, len - MIN_ADV_LENGTH); in btm_ble_build_adv_data() 1411 ARRAY_TO_STREAM(p, btm_cb.cfg.bd_name, cp_len); in btm_ble_build_adv_data() 1428 ARRAY_TO_STREAM(p, p_data->manu.val, cp_len); in btm_ble_build_adv_data() 1502 ARRAY_TO_STREAM(p, p_data->services_128b.uuid128, MAX_UUID_SIZE); in btm_ble_build_adv_data() 1537 ARRAY_TO_STREAM(p, p_data->sol_service_128b.uuid128, MAX_UUID_SIZE); in btm_ble_build_adv_data() 1566 ARRAY_TO_STREAM(p, p_data->service_data.service_uuid.uu.uuid128, in btm_ble_build_adv_data() 1570 ARRAY_TO_STREAM(p, p_data->service_data.val, cp_len); in btm_ble_build_adv_data() 1602 ARRAY_TO_STREAM(p, p_elem->val, p_elem->len); in btm_ble_build_adv_data()
|
D | btm_ble_privacy.c | 817 ARRAY_TO_STREAM(p, p_dev_rec->ble.keys.irk, BT_OCTET16_LEN); in btm_ble_resolving_list_load_dev()
|
D | btm_sec.c | 1779 ARRAY_TO_STREAM(p, c, BTM_OOB_HASH_C_SIZE); in BTM_BuildOobData() 1790 ARRAY_TO_STREAM(p, r, BTM_OOB_RAND_R_SIZE); in BTM_BuildOobData() 1817 ARRAY_TO_STREAM (p, btm_cb.cfg.bd_name, name_size); in BTM_BuildOobData()
|
/system/bt/stack/gatt/ |
D | gatt_auth.c | 60 ARRAY_TO_STREAM(p, p_attr->value, p_attr->len); in gatt_sign_data()
|
D | att_protocol.c | 313 ARRAY_TO_STREAM(p, p_data, len); in attp_build_value_cmd()
|
D | gatt_db.c | 268 ARRAY_TO_STREAM (p, ((tGATT_ATTR128 *)(p_attr16->p_next))->uuid, LEN_UUID_128); in read_attr_value()
|
D | gatt_sr.c | 635 ARRAY_TO_STREAM (p, ((tGATT_ATTR128 *) p_attr)->uuid, LEN_UUID_128); in gatt_build_find_info_rsp()
|
D | gatt_utils.c | 1112 ARRAY_TO_STREAM (p, uuid.uu.uuid128, LEN_UUID_128); in gatt_build_uuid_to_stream()
|
/system/bt/stack/srvc/ |
D | srvc_dis.c | 165 ARRAY_TO_STREAM(p, pp, p_value->len); in dis_read_attr_value()
|
/system/bt/stack/gap/ |
D | gap_ble.c | 245 ARRAY_TO_STREAM(p, p_dev_name, p_value->len); in gap_read_attr_value()
|
/system/bt/stack/include/ |
D | bt_types.h | 248 #define ARRAY_TO_STREAM(p, a, len) {register int ijk; for (ijk = 0; ijk < len; ijk++) *(p)++… macro
|
/system/bt/stack/l2cap/ |
D | l2c_utils.c | 1025 ARRAY_TO_STREAM (p, p_data, data_len); in l2cu_send_peer_echo_req() 1079 ARRAY_TO_STREAM (p, p_data, data_len); in l2cu_send_peer_echo_rsp()
|