Lines Matching refs:legacy
25 wire::legacy::{
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()
286 let km_version = legacy::KmVersion::KeyMint3; in handle_message()
292 km_date: legacy::KM_DATE, in handle_message()
412 let req_msg = legacy::deserialize_trusty_req(&msg.0).map_err(|e| { in on_message()
419 Ok(resp_msg) => legacy::serialize_trusty_rsp(resp_msg).map_err(|e| { in on_message()
425 legacy::serialize_trusty_error_rsp(op, rc).map_err(|e| { in on_message()
515 let req_msg = legacy::deserialize_trusty_secure_req(&msg.0).map_err(|e| { in on_message()
528 Ok(resp_msg) => legacy::serialize_trusty_secure_rsp(resp_msg).map_err(|e| { in on_message()
534 legacy::serialize_trusty_secure_error_rsp(op, rc).map_err(|e| { in on_message()
632 legacy::{self, InnerSerialize},
638 legacy::TrustyKeymasterOperation::ConfigureBootPatchlevel as u32;
639 const SET_BOOT_PARAMS_CMD: u32 = legacy::TrustyKeymasterOperation::SetBootParams as u32;
640 const SET_ATTESTATION_IDS_CMD: u32 = legacy::TrustyKeymasterOperation::SetAttestationIds as u32;
641 const SET_ATTESTATION_KEY_CMD: u32 = legacy::TrustyKeymasterOperation::SetAttestationKey as u32;
679 let error_code = legacy::deserialize_trusty_rsp_error_code(&rsp.0) in check_response_status()
689 (cmd << legacy::TRUSTY_CMD_SHIFT).to_ne_bytes().to_vec() in get_message_request()
701 ) -> Result<Vec<u8>, legacy::Error> { in get_configure_boot_patchlevel_message()
714 ) -> Result<Vec<u8>, legacy::Error> { in get_set_boot_params_message()
734 ) -> Result<Vec<u8>, legacy::Error> { in get_set_attestation_ids_message()
750 ) -> Result<Vec<u8>, legacy::Error> { in get_set_attestation_key_message()