Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/crypto_toolbox/
Dcrypto_toolbox.cc41 constexpr size_t msg_len = in f4() local
49 std::array<uint8_t, msg_len> msg; in f4()
67 constexpr size_t msg_len = 1 /* Counter size */ + 4 /* keyID size */ + in calculate_mac_key_or_ltk() local
71 std::array<uint8_t, msg_len> msg; in calculate_mac_key_or_ltk()
120 const uint8_t msg_len = kOctet16Length /* N1 size */ + kOctet16Length /* N2 size */ + in f6() local
130 std::array<uint8_t, msg_len> msg; in f6()
143 constexpr size_t msg_len = kOctet32Length /* U size */ + kOctet32Length /* V size */ in g2() local
151 std::array<uint8_t, msg_len> msg; in g2()
/packages/modules/Bluetooth/system/bta/le_audio/
Dclient_parser.cc304 size_t msg_len = std::accumulate( in PrepareAseCtpCodecConfig() local
329 value.resize(msg_len); in PrepareAseCtpCodecConfig()
403 uint16_t msg_len = confs.size() * kCtpEnableMinLen + kAseNumSize + kCtpOpSize; in PrepareAseCtpEnable() local
405 if (msg_len > GATT_MAX_ATTR_LEN) { in PrepareAseCtpEnable()
414 msg_len += conf.metadata.size(); in PrepareAseCtpEnable()
416 value.resize(msg_len); in PrepareAseCtpEnable()
499 uint16_t msg_len = in PrepareAseCtpUpdateMetadata() local
502 if (msg_len > GATT_MAX_ATTR_LEN) { in PrepareAseCtpUpdateMetadata()
511 msg_len += conf.metadata.size(); in PrepareAseCtpUpdateMetadata()
513 value.resize(msg_len); in PrepareAseCtpUpdateMetadata()
/packages/modules/adb/pairing_auth/
Dpairing_auth.cpp239 bool pairing_auth_init_cipher(PairingAuthCtx* ctx, const uint8_t* their_msg, size_t msg_len) { in pairing_auth_init_cipher() argument
242 CHECK_GT(msg_len, 0U); in pairing_auth_init_cipher()
244 std::vector<uint8_t> p(their_msg, their_msg + msg_len); in pairing_auth_init_cipher()
/packages/modules/adb/pairing_auth/include/adb/pairing/
Dpairing_auth.h118 bool pairing_auth_init_cipher(PairingAuthCtx* ctx, const uint8_t* their_msg, size_t msg_len)
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_sr.cc748 uint16_t msg_len = in gatts_process_primary_service_req() local
750 BT_HDR* p_msg = (BT_HDR*)osi_calloc(msg_len); in gatts_process_primary_service_req()
924 size_t msg_len = sizeof(BT_HDR) + payload_size + L2CAP_MIN_OFFSET; in gatts_process_read_by_type_req() local
925 BT_HDR* p_msg = (BT_HDR*)osi_calloc(msg_len); in gatts_process_read_by_type_req()
Dgatt_main.cc1027 uint16_t msg_len = p_buf->len - 1; in gatt_data_process() local
1046 gatt_server_handle_client_req(tcb, cid, op_code, msg_len, p); in gatt_data_process()
1048 gatt_client_handle_server_rsp(tcb, cid, op_code, msg_len, p); in gatt_data_process()