Home
last modified time | relevance | path

Searched defs:u8 (Results 1 – 25 of 41) sorted by relevance

12

/tools/netsim/rust/daemon/src/
Dffi.rs43 fn handle_request_cxx(chip_id: u32, packet: &CxxVector<u8>, packet_type: u8); in handle_request_cxx()
46 fn handle_response_cxx(chip_id: u32, packet: &CxxVector<u8>, packet_type: u8); in handle_response_cxx()
67 fn HandleResponseCxx(chip_id: u32, packet: &Vec<u8>, packet_type: u8); in HandleResponseCxx()
107 read_fn: fn(stream_id: u32, proto_bytes: &[u8]), in ReadPacketResponseLoop()
137 packet_type: u8, in receive_link_layer_packet()
138 packet: &[u8], in receive_link_layer_packet()
158 packet: &CxxVector<u8>, in report_invalid_packet_cxx()
169 fn HandleBtRequestCxx(rootcanal_id: u32, packet_type: u8, packet: &Vec<u8>); in HandleBtRequestCxx()
178 fn SendLinkLayerLePacket(self: &RustBluetoothChip, packet: &[u8], tx_power: i8); in SendLinkLayerLePacket()
184 pub fn GetCxx(rootcanal_id: u32) -> Vec<u8>; in GetCxx()
[all …]
/tools/security/remote_provisioning/hwtrust/src/cbor/rkp/
Dprotected_data.rs21 challenge: &[u8], in from_cose_encrypt()
23 tag: &[u8], in from_cose_encrypt()
74 plaintext_cbor: &[u8], in from_cbor_bytes()
75 challenge: &[u8], in from_cbor_bytes()
77 tag: &[u8], in from_cbor_bytes()
116 challenge: &[u8], in validate_mac_key()
118 tag: &[u8], in validate_mac_key()
121 ) -> Result<Vec<u8>> { in validate_mac_key()
/tools/netsim/rust/daemon/src/wireless/
Dpacket.rs39 fn response(&mut self, packet: Bytes, packet_type: u8); in response()
103 pub fn handle_response_cxx(chip_id: u32, packet: &cxx::CxxVector<u8>, packet_type: u8) { in handle_response_cxx()
144 pub fn handle_request(chip_id: ChipIdentifier, packet: &Bytes, packet_type: u8) { in handle_request()
163 pub fn handle_request_cxx(chip_id: u32, packet: &cxx::CxxVector<u8>, packet_type: u8) { in handle_request_cxx()
174 fn response(&mut self, _packet: Bytes, _packet_type: u8) {} in response()
Dbluetooth.rs209 packet: Vec<u8>, in report_invalid_packet()
238 packet: &CxxVector<u8>, in report_invalid_packet_cxx()
/tools/netsim/rust/cli/src/
Dffi.rs16 fn handle_chunk(&self, chunk: &[u8]) { in handle_chunk()
27 fn handle_chunk(&self, chunk: &[u8]); in handle_chunk()
52 fn handle_chunk(&self, chunk: &[u8]); in handle_chunk()
71 request: &Vec<u8>, in GetCapture()
80 request: &Vec<u8>, in SendGrpc()
93 pub fn ByteVec(self: &ClientResult) -> &CxxVector<u8>; in ByteVec()
Dfile_handler.rs29 fn handle_chunk(&self, chunk: &[u8]) { in handle_chunk()
Dlib.rs125 fn find_id_for_remove(response: &[u8], cmd: &args::BeaconRemove) -> Result<u32, String> { in find_id_for_remove()
148 request: &Vec<u8>, in continuous_perform_command()
/tools/security/remote_provisioning/hwtrust/cxxbridge/
Dlib.rs39 fn verify_dice_chain(chain: &[u8], kind: DiceChainKind) -> VerifyDiceChainResult; in verify_dice_chain()
42 fn get_dice_chain_public_key(chain: &DiceChain, n: usize) -> Vec<u8>; in get_dice_chain_public_key()
52 fn verify_dice_chain(chain: &[u8], kind: ffi::DiceChainKind) -> ffi::VerifyDiceChainResult { in verify_dice_chain()
84 fn get_dice_chain_public_key(chain: &DiceChain, n: usize) -> Vec<u8> { in get_dice_chain_public_key()
/tools/netsim/rust/daemon/src/http_server/
Dserver_response.rs39 fn put_chunk(&mut self, chunk: &[u8]); in put_chunk()
42 fn put_ok_with_vec(&mut self, mime_type: &str, body: Vec<u8>, headers: StrHeaders); in put_ok_with_vec()
56 pub fn put_response(&mut self, response: Response<Vec<u8>>) { in put_response()
76 pub fn get_response(self) -> Option<Response<Vec<u8>>> { in get_response()
99 fn put_chunk(&mut self, chunk: &[u8]) { in put_chunk()
120 fn put_ok_with_vec(&mut self, mime_type: &str, body: Vec<u8>, headers: StrHeaders) { in put_ok_with_vec()
137 fn new_ok(content_type: &str, body: Vec<u8>) -> Response<Vec<u8>> { in new_ok()
146 fn add_headers(response: &mut Response<Vec<u8>>, headers: StrHeaders) { in add_headers()
Dhttp_handlers.rs122 fn handle_index(request: &Request<Vec<u8>>, _param: &str, writer: ResponseWritable) { in handle_index()
126 fn handle_static(request: &Request<Vec<u8>>, path: &str, writer: ResponseWritable) { in handle_static()
131 fn handle_version(_request: &Request<Vec<u8>>, _param: &str, writer: ResponseWritable) { in handle_version()
136 fn handle_dev(request: &Request<Vec<u8>>, _param: &str, writer: ResponseWritable) { in handle_dev()
Dhttp_router.rs46 pub fn handle_request(&self, request: &Request<Vec<u8>>, writer: ResponseWritable) { in handle_request()
103 fn handle_index(_request: &Request<Vec<u8>>, _param: &str, writer: ResponseWritable) { in handle_index()
107 fn handle_user(_request: &Request<Vec<u8>>, user_id: &str, writer: ResponseWritable) { in handle_user()
112 fn handle_query(request: &Request<Vec<u8>>, _param: &str, writer: ResponseWritable) { in handle_query()
Dhttp_request.rs39 ) -> Result<Request<Vec<u8>>, String> { in parse_http_request()
/tools/netsim/rust/daemon/src/captures/
Dpcap_util.rs112 packet: &[u8], in wrap_bt_packet()
113 ) -> Vec<u8> { in wrap_bt_packet()
125 packet: &[u8], in append_record()
147 packet: &[u8], in append_record_pcapng()
Dcaptures_handler.rs169 pub fn handle_capture(request: &Request<Vec<u8>>, param: &str, writer: ResponseWritable) { in handle_capture()
183 request: &Request<Vec<u8>>, in handle_capture_internal()
241 packet: &[u8], in handle_packet()
/tools/netsim/rust/daemon/src/wifi/
Dradiotap.rs42 pub fn into_pcap(packet: &[u8]) -> Option<Vec<u8>> { in into_pcap()
53 pub fn frame_into_pcap(frame: Frame) -> anyhow::Result<Vec<u8>> { in frame_into_pcap()
/tools/netsim/rust/daemon/src/transport/
Dgrpc.rs37 fn response(&mut self, packet: Bytes, packet_type: u8) { in response()
58 fn response(&mut self, packet: Bytes, packet_type: u8) { in response()
Dwebsocket.rs44 pub fn handle_websocket(request: &Request<Vec<u8>>, param: &str, writer: ResponseWritable) { in handle_websocket()
75 fn response(&mut self, packet: Bytes, packet_type: u8) { in response()
Dsocket.rs43 fn response(&mut self, packet: Bytes, packet_type: u8) { in response()
/tools/netsim/rust/daemon/src/bluetooth/
Dchip.rs27 packet_type: u8, in receive_link_layer_packet()
28 packet: &[u8], in receive_link_layer_packet()
/tools/security/remote_provisioning/hwtrust/src/cbor/
Dpublickey.rs95 fn adjust_coord(mut coordinate: Vec<u8>, length: usize) -> Result<Vec<u8>> { in adjust_coord()
149 fn pkey_from_ec_coords(nid: Nid, x: &[u8], y: &[u8]) -> Result<PKey<Public>> { in pkey_from_ec_coords()
171 fn get_label_value_as_bytes(key: &CoseKey, label: Label) -> Result<&[u8]> { in get_label_value_as_bytes()
178 fn ec_cose_signature_to_der(kind: EcKind, signature: &[u8]) -> Result<Vec<u8>> { in ec_cose_signature_to_der()
227 fn ec_der_signature_to_cose(kind: EcKind, signature: &[u8]) -> Vec<u8> { in ec_der_signature_to_cose()
/tools/security/remote_provisioning/hwtrust/src/
Deek.rs84 fn kdf_party_info<T: HasPublic>(identity: &[u8], key: &PKeyRef<T>) -> Result<PartyInfo> { in kdf_party_info()
92 fn raw_key_bytes<T: HasPublic>(key: &PKeyRef<T>) -> Result<Vec<u8>> { in raw_key_bytes()
Dcbor.rs25 fn serialize(value: Value) -> Vec<u8> { in serialize()
/tools/netsim/rust/proto/src/
Dpacket_streamer.rs149 pub fn packet(&self) -> &[u8] { in packet()
168 pub fn set_packet(&mut self, v: ::std::vec::Vec<u8>) { in set_packet()
173 pub fn mut_packet(&mut self) -> &mut ::std::vec::Vec<u8> { in mut_packet()
185 pub fn take_packet(&mut self) -> ::std::vec::Vec<u8> { in take_packet()
495 pub fn packet(&self) -> &[u8] { in packet()
514 pub fn set_packet(&mut self, v: ::std::vec::Vec<u8>) { in set_packet()
519 pub fn mut_packet(&mut self) -> &mut ::std::vec::Vec<u8> { in mut_packet()
531 pub fn take_packet(&mut self) -> ::std::vec::Vec<u8> { in take_packet()
/tools/security/remote_provisioning/hwtrust/src/dice/
Dentry.rs57 pub fn code_desc(&self) -> Option<&[u8]> { in code_desc()
62 pub fn code_hash(&self) -> &[u8] { in code_hash()
72 pub fn config_hash(&self) -> Option<&[u8]> { in config_hash()
77 pub fn authority_desc(&self) -> Option<&[u8]> { in authority_desc()
82 pub fn authority_hash(&self) -> &[u8] { in authority_hash()
/tools/security/remote_provisioning/hwtrust/src/rkp/
Dprotected_data.rs26 pub fn new(mac_key: Vec<u8>, dice_chain: ChainForm, uds_certs: Option<UdsCerts>) -> Self { in new()

12