Home
last modified time | relevance | path

Searched refs:ARRAY_TO_STREAM (Results 1 – 17 of 17) sorted by relevance

/system/bt/stack/smp/
Dsmp_keys.c147 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 …]
Dsmp_utils.c450 ARRAY_TO_STREAM(p, p_cb->confirm, BT_OCTET16_LEN); in smp_build_confirm_cmd()
476 ARRAY_TO_STREAM(p, p_cb->rand, BT_OCTET16_LEN); in smp_build_rand_cmd()
502 ARRAY_TO_STREAM(p, p_cb->ltk, BT_OCTET16_LEN); in smp_build_encrypt_info_cmd()
529 ARRAY_TO_STREAM(p, p_cb->enc_rand, BT_OCTET8_LEN); in smp_build_master_id_cmd()
560 ARRAY_TO_STREAM(p, irk, BT_OCTET16_LEN); in smp_build_identity_info_cmd()
614 ARRAY_TO_STREAM(p, p_cb->csrk, BT_OCTET16_LEN); in smp_build_signing_info_cmd()
699 ARRAY_TO_STREAM(p, p_publ_key, 2*BT_OCTET32_LEN); in smp_build_pair_public_key_cmd()
725 ARRAY_TO_STREAM(p, p_cb->commitment, BT_OCTET16_LEN); in smp_build_pairing_commitment_cmd()
751 ARRAY_TO_STREAM(p, p_cb->dhkey_check, BT_OCTET16_LEN); in smp_build_pair_dhkey_check_cmd()
/system/bt/stack/hcic/
Dhciblecmds.c47 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 …]
Dhcicmds.c765 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/
Dbtm_ble_adv_filter.c484 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()
Dbtm_ble_gap.c1404 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()
Dbtm_ble_privacy.c817 ARRAY_TO_STREAM(p, p_dev_rec->ble.keys.irk, BT_OCTET16_LEN); in btm_ble_resolving_list_load_dev()
Dbtm_sec.c1779 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/
Dgatt_auth.c60 ARRAY_TO_STREAM(p, p_attr->value, p_attr->len); in gatt_sign_data()
Datt_protocol.c313 ARRAY_TO_STREAM(p, p_data, len); in attp_build_value_cmd()
Dgatt_db.c268 ARRAY_TO_STREAM (p, ((tGATT_ATTR128 *)(p_attr16->p_next))->uuid, LEN_UUID_128); in read_attr_value()
Dgatt_sr.c638 ARRAY_TO_STREAM (p, ((tGATT_ATTR128 *) p_attr)->uuid, LEN_UUID_128); in gatt_build_find_info_rsp()
Dgatt_utils.c1111 ARRAY_TO_STREAM (p, uuid.uu.uuid128, LEN_UUID_128); in gatt_build_uuid_to_stream()
/system/bt/stack/srvc/
Dsrvc_dis.c165 ARRAY_TO_STREAM(p, pp, p_value->len); in dis_read_attr_value()
/system/bt/stack/gap/
Dgap_ble.c245 ARRAY_TO_STREAM(p, p_dev_name, p_value->len); in gap_read_attr_value()
/system/bt/stack/include/
Dbt_types.h248 #define ARRAY_TO_STREAM(p, a, len) {register int ijk; for (ijk = 0; ijk < len; ijk++) *(p)++… macro
/system/bt/stack/l2cap/
Dl2c_utils.c1025 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()