Home
last modified time | relevance | path

Searched refs:serialize_as_bytes (Results 1 – 9 of 9) sorted by relevance

/trusty/user/base/lib/hwkey/rust/src/
Dlib.rs529 serializer.serialize_as_bytes(&self.msg.header)?; in serialize()
530 serializer.serialize_as_bytes(&self.msg.arg1)?; in serialize()
531 serializer.serialize_as_bytes(&self.msg.arg2)?; in serialize()
553 serializer.serialize_as_bytes(&self.msg.header)?; in serialize()
554 serializer.serialize_as_bytes(&self.msg.kdf_version)?; in serialize()
555 serializer.serialize_as_bytes(&self.msg.rollback_version_source)?; in serialize()
560 serializer.serialize_as_bytes(rv)?; in serialize()
565 serializer.serialize_as_bytes(&self.msg.key_options)?; in serialize()
566 serializer.serialize_as_bytes(&self.msg.key_len)?; in serialize()
/trusty/user/base/lib/tipc/rust/src/
Dserialization.rs28 unsafe fn serialize_as_bytes<T: Sized>(&mut self, obj: &'s T) -> Result<Self::Ok, Self::Error> { in serialize_as_bytes() method
63 unsafe { serializer.serialize_as_bytes(self) } in serialize()
Dservice.rs1367 unsafe { serializer.serialize_as_bytes(self) } in serialize()
/trusty/user/base/lib/hwbcc/rust/src/
Dlib.rs90 serializer.serialize_as_bytes(&self.cmd)?; in serialize()
91 serializer.serialize_as_bytes(&self.test_mode)?; in serialize()
92 serializer.serialize_as_bytes(&self.context) in serialize()
138 serializer.serialize_as_bytes(&self.algorithm)?; in serialize()
139 serializer.serialize_as_bytes(&self.data_size)?; in serialize()
140 serializer.serialize_as_bytes(&self.aad_size)?; in serialize()
/trusty/user/app/keymint/
Dffi_bindings.rs92 serializer.serialize_as_bytes(&self.req_header.cmd)?; in serialize()
93 serializer.serialize_as_bytes(&self.req_header.reserved)?; in serialize()
94 serializer.serialize_as_bytes(&self.unwrap_req_header.wrapped_keybox_len)?; in serialize()
/trusty/user/base/lib/hwwsk/rust/src/
Dlib.rs133 serializer.serialize_as_bytes(&self.req.key_size)?; in serialize()
134 serializer.serialize_as_bytes(&self.req.key_flags)?; in serialize()
208 serializer.serialize_as_bytes(&self.cmd)?; in serialize()
209 serializer.serialize_as_bytes(&self.status)?; in serialize()
/trusty/user/base/lib/system_state/rust/src/
Dlib.rs159 unsafe { serializer.serialize_as_bytes(&self.0)? }; in serialize()
165 unsafe { serializer.serialize_as_bytes(req) } in serialize()
/trusty/user/app/sample/memref-test/rust/
Dmemref_test.rs143 unsafe { serializer.serialize_as_bytes(self) } in serialize()
198 unsafe { serializer.serialize_as_bytes(&self.value) } in serialize()
/trusty/user/app/sample/rust-hello-world/
Dlib.rs95 serializer.serialize_as_bytes(match self.tag { in serialize()
99 serializer.serialize_as_bytes(&self.length)?; in serialize()