Home
last modified time | relevance | path

Searched refs:as_mut_ptr (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/Virtualization/libs/dice/open_dice/src/
Ddice.rs106 pub fn as_mut_ptr(&mut self) -> *mut u8 { in as_mut_ptr() method
107 self.0.as_mut_ptr() in as_mut_ptr()
133 pub fn as_mut_ptr(&mut self) -> *mut u8 { in as_mut_ptr() method
134 self.0.as_mut_ptr() in as_mut_ptr()
230 seed.as_mut_ptr(), in derive_cdi_private_key_seed()
249 id.as_mut_ptr(), in derive_cdi_certificate_id()
281 next_cdi_certificate.as_mut_ptr(), in dice_main_flow()
283 next_cdi_values.cdi_attest.as_mut_ptr(), in dice_main_flow()
284 next_cdi_values.cdi_seal.as_mut_ptr(), in dice_main_flow()
Dops.rs40 output.as_mut_ptr(), in hash()
64 derived_key.as_mut_ptr(), in kdf()
85 public_key.as_mut_ptr(),
86 private_key.as_mut_ptr(),
121 signature.as_mut_ptr(),
170 certificate.as_mut_ptr(),
Dbcc.rs78 buffer.as_mut_ptr(), in bcc_format_config_descriptor()
114 next_chain.as_mut_ptr(), in bcc_main_flow()
116 next_cdi_values.cdi_attest.as_mut_ptr(), in bcc_main_flow()
117 next_cdi_values.cdi_seal.as_mut_ptr(), in bcc_main_flow()
148 next_handover.as_mut_ptr(), in bcc_handover_main_flow()
/packages/modules/Virtualization/libs/libfdt/src/
Dlibfdt.rs33 let fdt = fdt.as_mut_ptr().cast(); in create_empty_tree()
344 let fdt = self.as_fdt_slice_mut().as_mut_ptr().cast(); in nop_node()
354 let fdt = self.as_fdt_slice_mut().as_mut_ptr().cast(); in add_subnode_namelen()
366 let fdt = self.as_fdt_slice_mut().as_mut_ptr().cast(); in setprop()
385 let fdt = self.as_fdt_slice_mut().as_mut_ptr().cast(); in setprop_placeholder()
401 let fdt = self.as_fdt_slice_mut().as_mut_ptr().cast(); in setprop_inplace()
415 let fdt = self.as_fdt_slice_mut().as_mut_ptr().cast(); in appendprop()
435 let fdt = self.as_fdt_slice_mut().as_mut_ptr().cast(); in appendprop_addrrange()
449 let fdt = self.as_fdt_slice_mut().as_mut_ptr().cast(); in delprop()
463 let fdt = self.as_fdt_slice_mut().as_mut_ptr().cast(); in nop_property()
[all …]
/packages/modules/Virtualization/libs/bssl/src/
Dec_key.rs194 signature.as_mut_ptr(), in ecdsa_sign_der()
260 x.as_mut_ptr(), in public_key_coordinates()
261 y.as_mut_ptr(), in public_key_coordinates()
387 unsafe { ECDSA_SIG_set0(self.0.as_mut(), r.as_mut_ptr(), s.as_mut_ptr()) }, in load_from_cose()
408 unsafe { BN_bn2bin_padded(r_bytes.as_mut_ptr(), r_bytes.len(), r) }, in to_cose()
418 unsafe { BN_bn2bin_padded(s_bytes.as_mut_ptr(), s_bytes.len(), s) }, in to_cose()
446 let outp = &mut buf.as_mut_ptr(); in to_der()
549 unsafe { BN_clear_free(self.as_mut_ptr()) } in drop()
572 let ret = unsafe { BN_bn2bin_padded(num.as_mut_ptr(), num.len(), self.0.as_ptr()) }; in to_padded_vec()
577 fn as_mut_ptr(&mut self) -> *mut BIGNUM { in as_mut_ptr() method
Dcbb.rs36 unsafe { CBB_init_fixed(cbb.as_mut_ptr(), buffer.as_mut_ptr(), buffer.len()) }; in new()
Ddigest.rs86 out.as_mut_ptr(), in digest()
127 pub(crate) fn as_mut_ptr(&mut self) -> *mut EVP_MD_CTX { in as_mut_ptr() method
Daead.rs124 out.as_mut_ptr(), in seal()
158 out.as_mut_ptr(), in open()
Devp.rs185 digester_context.as_mut_ptr(), in verify()
198 digester_context.as_mut_ptr(), in verify()
Drand.rs24 let ret = unsafe { RAND_bytes(dest.as_mut_ptr(), dest.len()) }; in rand_bytes()
Dsha.rs29 let ret = unsafe { SHA256(data.as_ptr(), data.len(), out.as_mut_ptr()) };
Dhkdf.rs37 key.as_mut_ptr(),
Dcbs.rs38 unsafe { CBS_init(cbs.as_mut_ptr(), buffer.as_ptr(), buffer.len()) }; in new()
Dhmac.rs49 out.as_mut_ptr(),
/packages/modules/Virtualization/service_vm/demo_apk/src/
Dmain.rs165 cert.as_mut_ptr() as *mut c_void, in get_certificate_at()
185 private_key.as_mut_ptr() as *mut c_void, in get_private_key()
214 signature.as_mut_ptr() as *mut c_void, in sign_with_attested_key()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dutils.rs172 Self { ptr: val.as_mut_ptr(), _covariant: PhantomData } in from()
178 Self { ptr: val.as_mut_ptr(), _covariant: PhantomData } in from()
184 Self { ptr: val.as_mut_ptr(), _covariant: PhantomData } in from()
/packages/modules/Virtualization/service_vm/test_apk/src/native/
Dmain.rs256 cert.as_mut_ptr() as *mut c_void, in get_certificate_at()
276 private_key.as_mut_ptr() as *mut c_void, in get_private_key()
305 signature.as_mut_ptr() as *mut c_void, in sign_with_attested_key()
/packages/modules/Virtualization/libs/vbmeta/src/
Ddescriptor.rs55 if !avb_descriptor_validate_and_byteswap(descriptor, desc.as_mut_ptr()) { in from_image()
122 if !avb_hashtree_descriptor_validate_and_byteswap(src, desc.as_mut_ptr()) { in to_hashtree()
Dlib.rs110 avb_vbmeta_image_header_to_host_byte_order(src, header.as_mut_ptr()); in verify_reader_region()
/packages/modules/Virtualization/compos/src/
Dfsverity.rs37 getxattr(path.as_ptr(), name.as_ptr(), buf.as_mut_ptr() as *mut libc::c_void, buf.len()) in measure()
/packages/modules/Virtualization/pvmfw/avb/tests/
Dutils.rs96 avb_vbmeta_image_header_to_host_byte_order(src, header.as_mut_ptr()); in extract_vbmeta_header()
/packages/modules/Virtualization/vmbase/src/
Dheap.rs57 let (start, size) = unsafe { (HEAP.as_mut_ptr() as usize, HEAP.len()) }; in init()
/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/
Dsocket.rs342 buf.as_mut_ptr() as *mut libc::c_void, in read_mgmt_packet()
/packages/modules/Virtualization/libs/devicemapper/src/
Dlib.rs203 dm_table_load(self, payload.as_mut_ptr() as *mut DmIoctl) in create_device()
/packages/modules/DnsResolver/doh/tests/doh_frontend/src/
Ddns_https_frontend.rs484 if libc::pipe(fds.as_mut_ptr()) == 0 { in build_pipe()

12