Home
last modified time | relevance | path

Searched refs:u8 (Results 1 – 25 of 30) sorted by relevance

12

/device/google/cuttlefish/host/commands/secure_env/rust/
Dtpm.rs24 pub const ROOT_KEK_MARKER: &[u8] = b"CF Root KEK";
41 fn tpm_hmac(&self, data: &[u8]) -> Result<Vec<u8>, Error> { in tpm_hmac() argument
61 fn hkdf_expand(&self, info: &[u8], out_len: usize) -> Result<Vec<u8>, Error> { in hkdf_expand() argument
69 let n = n as u8; in hkdf_expand()
85 fn hmac(&self, _imp: &dyn crypto::Hmac, data: &[u8]) -> Result<Vec<u8>, Error> { in hmac() argument
91 fn derive_bytes(&self, context: &[u8], output_len: usize) -> Result<Vec<u8>, Error> { in derive_bytes() argument
108 fn root_kek(&self, _context: &[u8]) -> Result<crypto::OpaqueOr<crypto::hmac::Key>, Error> { in root_kek()
115 let k: [u8; 32] = in kak()
151 _salt: &[u8], in hkdf() argument
152 _ikm: &[u8], in hkdf() argument
[all …]
Dlib.rs47 const SNAPSHOT_SOCKET_MESSAGE_SUSPEND: u8 = 1;
48 const SNAPSHOT_SOCKET_MESSAGE_SUSPEND_ACK: u8 = 2;
49 const SNAPSHOT_SOCKET_MESSAGE_RESUME: u8 = 3;
/device/linaro/poplar/wifi/wifi_hal/
Dwifi_offload.cpp71 u8 mIndex;
72 u8 *mIpPkt;
74 u8 *mSrcMacAddr;
75 u8 *mDstMacAddr;
82 MKeepAliveCommand(wifi_interface_handle iface, u8 index, u8 *ip_packet, u16 ip_packet_len, in MKeepAliveCommand()
83 u8 *src_mac_addr, u8 *dst_mac_addr, u32 period_msec, GetCmdType cmdType) in MKeepAliveCommand()
90 MKeepAliveCommand(wifi_interface_handle iface, u8 index, GetCmdType cmdType) in MKeepAliveCommand()
120 result = request.put(MKEEP_ALIVE_ATTRIBUTE_IP_PKT, (u8*)mIpPkt, mIpPktLen); in createRequest()
219 u16 /* ether_type */, u8 *ip_packet, u16 ip_packet_len, u8 *src_mac_addr, u8 *dst_mac_addr, in wifi_start_sending_offloaded_packet()
Dwifi_hal.cpp83 const u8 *program, u32 len);
86 static wifi_error wifi_configure_nd_offload(wifi_interface_handle iface, u8 enable);
868 u8 version; in handleEvent()
893 const u8* mProgram;
908 const u8* program, u32 len) in AndroidPktFilterCommand()
930 u8 *program = new u8[mProgramLen]; in createSetPktFilterRequest()
1032 u8 mEnable;
1034 SetNdoffloadCommand(wifi_interface_handle handle, u8 enable) in SetNdoffloadCommand()
1344 const u8 *program, u32 len) in wifi_set_packet_filter()
1354 static wifi_error wifi_configure_nd_offload(wifi_interface_handle handle, u8 enable) in wifi_configure_nd_offload()
Drtt.cpp89 u8 id;
90 u8 len;
91 u8 token;
92 u8 mode;
93 u8 type;
Dlink_layer_stats.cpp135 u32 * /* stats_clear_rsp_mask */, u8 /* stop_req */, u8 * /* stop_rsp */) in wifi_clear_link_stats() argument
Dcommon.h222 u8 ssid[DOT11_MAX_SSID_LEN+1]; // null terminated
237 u8 ie_data[1]; // IE data to follow
Dgscan.cpp1214 (u8)epno_params.min5GHz_rssi); in createSetupRequest()
1219 (u8)epno_params.min24GHz_rssi); in createSetupRequest()
1782 u8 dialog_token; /* GAS dialog token */ in handleEvent()
1783 u8 fragment_id; /* fragment id */ in handleEvent()
1786 u8 data[1]; /* variable length specified by data_len */ in handleEvent()
/device/generic/goldfish/wifi/wifi_hal/
Dinterface.h46 u8 request,
47 u8* response);
64 wifi_error configureNdOffload(u8 enable);
73 wifi_error readPacketFilter(u32 src_offset, u8 *host_dst, u32 length);
74 wifi_error setPacketFilter(const u8 *program, u32 len);
78 u8 *ip_packet,
80 u8 *src_mac_addr,
81 u8 *dst_mac_addr,
96 std::vector<u8> mApfMemory;
Dinterface.cpp162 u8 /*request*/, in clearLinkStats() argument
163 u8* response) { in clearLinkStats()
232 wifi_error Interface::configureNdOffload(u8 /*enable*/) { in configureNdOffload() argument
270 wifi_error Interface::readPacketFilter(u32 src_offset, u8 *host_dst, u32 length) { in readPacketFilter()
279 wifi_error Interface::setPacketFilter(const u8 *program, u32 len) { in setPacketFilter()
297 u8 * /*ip_packet*/, in startSendingOffloadedPacket() argument
299 u8 * /*src_mac_addr*/, in startSendingOffloadedPacket()
300 u8 * /*dst_mac_addr*/, in startSendingOffloadedPacket()
Dwifi_hal.cpp217 u8 stop_req, in wifi_clear_link_stats()
218 u8 *stop_rsp) { in wifi_clear_link_stats()
308 wifi_error wifi_configure_nd_offload(wifi_interface_handle handle, u8 enable) { in wifi_configure_nd_offload()
361 const u8 *program, u32 len) { in wifi_set_packet_filter()
370 u32 src_offset, u8 *host_dst, in wifi_read_packet_filter()
391 u8 *ip_packet, in wifi_start_sending_offloaded_packet()
393 u8 *src_mac_addr, in wifi_start_sending_offloaded_packet()
394 u8 *dst_mac_addr, in wifi_start_sending_offloaded_packet()
/device/linaro/poplar/wifi/wpa_supplicant_8_lib/
Ddriver_cmd_wext.c104 buf[bp++] = (u8)WEXT_CSCAN_PASV_DWELL_TIME; in wpa_driver_wext_combo_scan()
105 buf[bp++] = (u8)(WEXT_CSCAN_PASV_DWELL_TIME >> 8); in wpa_driver_wext_combo_scan()
109 buf[bp++] = (u8)WEXT_CSCAN_HOME_DWELL_TIME; in wpa_driver_wext_combo_scan()
110 buf[bp++] = (u8)(WEXT_CSCAN_HOME_DWELL_TIME >> 8); in wpa_driver_wext_combo_scan()
131 u8 channel; in wpa_driver_wext_set_cscan_params()
144 channel = (u8)atoi(cmd + 5); in wpa_driver_wext_set_cscan_params()
168 buf[bp++] = (u8)WEXT_CSCAN_PASV_DWELL_TIME_DEF; in wpa_driver_wext_set_cscan_params()
169 buf[bp++] = (u8)(WEXT_CSCAN_PASV_DWELL_TIME_DEF >> 8); in wpa_driver_wext_set_cscan_params()
171 buf[bp++] = (u8)pasv_dwell; in wpa_driver_wext_set_cscan_params()
172 buf[bp++] = (u8)(pasv_dwell >> 8); in wpa_driver_wext_set_cscan_params()
[all …]
Ddriver_cmd_nl80211.c93 u8 macaddr[ETH_ALEN] = {}; in wpa_driver_nl80211_driver_cmd()
127 int wpa_driver_set_p2p_noa(void *priv, u8 count, int start, int duration) in wpa_driver_set_p2p_noa()
137 int wpa_driver_get_p2p_noa(void *priv __unused, u8 *buf __unused, size_t len __unused) in wpa_driver_get_p2p_noa()
/device/google/cuttlefish/guest/hals/light/lights/
Dlights_vsock_server.rs36 light_type: u8,
41 pub fn new(id: u32, color: u32, light_type: u8) -> Self { in new()
50 connection_thread_sender: mpsc::Sender<Vec<u8>>,
56 let (sender, receiver) = mpsc::channel::<Vec<u8>>(); in new()
103 buffer: Vec<u8>, in send_buffer_with_length() argument
/device/google/cuttlefish/guest/libs/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c50 u8 macaddr[ETH_ALEN] = {}; in wpa_driver_nl80211_driver_cmd()
64 int wpa_driver_set_p2p_noa(void* priv, u8 count, int start, int duration) { in wpa_driver_set_p2p_noa()
69 int wpa_driver_get_p2p_noa(void* priv, u8* buf, size_t len) { in wpa_driver_get_p2p_noa()
/device/generic/goldfish/wifi/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c43 u8 macaddr[ETH_ALEN] = {}; in wpa_driver_nl80211_driver_cmd()
59 UNUSED_ARG u8 count, in wpa_driver_set_p2p_noa()
67 UNUSED_ARG u8* buf, in wpa_driver_get_p2p_noa()
/device/linaro/dragonboard/shared/utils/rmtfs/
Dqmi_rmtfs.qmi47 required u8 direction = 2;
49 required u8 is_force_sync = 4;
72 optional u8 status = 0x10;
/device/generic/goldfish/camera/
Dmetadata_utils.cpp117 v.data.assign(e.data.u8, e.data.u8 + sz); in parseCameraMetadataMap()
158 ((j > 0) ? "," : ""), e.data.u8[j]); in prettyPrintCameraMetadata()
DQemuCamera.cpp494 static_cast<camera_metadata_enum_android_control_af_mode_t>(entry.data.u8[0]); in applyMetadata()
499 static_cast<camera_metadata_enum_android_control_af_trigger_t>(entry.data.u8[0]); in applyMetadata()
528 && (entry.data.u8[0] == ANDROID_STATISTICS_LENS_SHADING_MAP_MODE_ON)) { in applyMetadata()
Dexif.cpp346 reinterpret_cast<const char*>(metadataEntry.data.u8), in createExifData()
347 reinterpret_cast<const char*>(metadataEntry.data.u8) + metadataEntry.count); in createExifData()
/device/google/cuttlefish/guest/hals/nfc/src/
Dnfc.rs46 fn send_data_callback(&self, data: &[u8]) -> binder::Result<()> { in send_data_callback()
204 fn log_packet(packet: &[u8]) -> Result<(), anyhow::Error> { in log_packet()
313 async fn write(&self, data: &[u8]) -> binder::Result<i32> { in write()
/device/google/cuttlefish/guest/hals/keymint/rust/src/
Dkeymint_hal_main.rs47 fn execute(&mut self, serialized_req: &[u8]) -> binder::Result<Vec<u8>> { in execute() argument
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/pkg-config/src/
Dlib.rs635 fn parse_libs_cflags(&mut self, name: &str, output: &[u8], config: &Config) { in parse_libs_cflags() argument
818 fn run(mut cmd: Command) -> Result<Vec<u8>, Error> { in run() argument
844 fn split_flags(output: &[u8]) -> Vec<String> { in split_flags()
/device/linaro/dragonboard/shared/utils/pd-mapper/
Dservreg_loc.qmi25 u8 service_data_valid;
/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/cmsis/
Dcore_sc300.h644 …__O uint8_t u8; /*!< Offset: 0x000 ( /W) ITM Stimulus Port 8-bit … member
1578 ITM->PORT[0].u8 = (uint8_t) ch; in ITM_SendChar()

12