Home
last modified time | relevance | path

Searched refs:req_header (Results 1 – 2 of 2) sorted by relevance

/trusty/user/app/keymint/
Dffi_bindings.rs69 req_header: KeyboxReqHdr, field
76 let req_header = KeyboxReqHdr { cmd: sys::keybox_cmd_KEYBOX_CMD_UNWRAP, reserved: 0 }; in new() localVariable
79 KeyboxUnwrapReq { req_header, unwrap_req_header, wrapped_keybox } in new()
92 serializer.serialize_as_bytes(&self.req_header.cmd)?; in serialize()
93 serializer.serialize_as_bytes(&self.req_header.reserved)?; in serialize()
/trusty/user/base/lib/hwaes/srv/
Dhwaes_server.c283 struct hwaes_req* req_header = (struct hwaes_req*)req_msg_buf; in hwaes_handle_aes_cmd() local
289 (struct hwaes_aes_req*)(req_msg_buf + sizeof(*req_header)); in hwaes_handle_aes_cmd()
304 size_t req_header_size = sizeof(*req_header) + sizeof(*cmd_header) + in hwaes_handle_aes_cmd()
314 (struct hwaes_shm_desc*)(req_msg_buf + sizeof(*req_header) + in hwaes_handle_aes_cmd()
494 struct hwaes_req* req_header = (struct hwaes_req*)req_msg_buf; in hwaes_on_message() local
495 if (req_header->reserved) { in hwaes_on_message()
497 req_header->reserved); in hwaes_on_message()
504 resp_header->cmd = req_header->cmd; in hwaes_on_message()
507 switch (req_header->cmd) { in hwaes_on_message()
514 TLOGE("unsupported request: %d\n", (int)req_header->cmd); in hwaes_on_message()