Home
last modified time | relevance | path

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

/trusty/user/base/lib/hwkey/
Dhwkey.c256 struct hwkey_derive_versioned_msg req_msg = { in hwkey_derive_versioned() local
266 int rc = tipc_send2(session, &req_msg, sizeof(req_msg), args->context, in hwkey_derive_versioned()
272 if (((size_t)rc) != sizeof(req_msg) + args->context_len) { in hwkey_derive_versioned()
291 if (resp_msg.header.cmd != (req_msg.header.cmd | HWKEY_RESP_BIT)) { in hwkey_derive_versioned()
293 resp_msg.header.cmd, req_msg.header.cmd); in hwkey_derive_versioned()
/trusty/user/app/keymint/
Dipc_manager.rs258 fn handle_message(&self, req_msg: TrustyPerformOpReq) -> Result<TrustyPerformOpRsp, Error> { in handle_message()
259 let cmd_code = req_msg.code(); in handle_message()
262 if self.boot_done() && legacy::is_trusty_bootloader_req(&req_msg) { in handle_message()
270 if legacy::is_trusty_provisioning_req(&req_msg) && !(self.can_provision()?) { in handle_message()
275 match req_msg { in handle_message()
412 let req_msg = legacy::deserialize_trusty_req(&msg.0).map_err(|e| { in on_message() localVariable
416 let op = req_msg.code(); in on_message()
418 let resp = match self.handle_message(req_msg) { in on_message()
453 req_msg: TrustyPerformSecureOpReq, in handle_message()
455 match req_msg { in handle_message()
[all …]
/trusty/user/base/lib/hwkey/rust/src/
Dlib.rs128 let req_msg = hwkey_msg { in get_keyslot_data() localVariable
135 self.0.send(&HwkeyMsg { msg: req_msg, request: slot_id })?; in get_keyslot_data()
213 let req_msg = hwkey_derive_versioned_msg { in derive() localVariable
222 let msg = HwkeyDeriveVersionedMsg { msg: req_msg, context: src }; in derive()
/trusty/user/base/interface/boot_done/generated/
DIBootDone.cpp157 ipc_msg_t req_msg = {.num_iov = countof(req_iov), in on_message() local
161 rc = read_msg(chan, mi.id, sizeof(req_hdr), &req_msg); in on_message()
/trusty/user/base/app/apploader/tests/
Dapploader_test.c53 ipc_msg_t req_msg = { in make_request() local
61 rc = send_msg(channel, &req_msg); in make_request()
/trusty/user/base/app/hwaes-unittest/
Dhwaes-test.c309 ipc_msg_t req_msg = { in make_bad_request() local
317 rc = send_msg(channel, &req_msg); in make_bad_request()