Lines Matching refs:Ok
77 Ok(KMMessage(Vec::try_alloc_from(bytes)?)) in deserialize()
85 ) -> Result<S::Ok, S::Error> { in serialize() argument
95 Algorithm::Rsa => Ok(SigningAlgorithm::Rsa), in keymaster_algorithm_to_signing_algorithm()
96 Algorithm::Ec => Ok(SigningAlgorithm::Ec), in keymaster_algorithm_to_signing_algorithm()
135 Ok(ConnectResult::Accept(Context { uuid: peer.clone() })) in on_connect()
159 Ok(MessageResult::MaintainConnection) in on_message()
188 Ok(matches!( in provisioning_allowed()
196 Ok(matches!( in provisioning_allowed_at_boot()
278 Ok(TrustyPerformOpRsp::GetVersion(GetVersionResponse { in handle_message()
289 Ok(TrustyPerformOpRsp::GetVersion2(GetVersion2Response { in handle_message()
314 Ok(TrustyPerformOpRsp::SetBootParams(SetBootParamsResponse {})) in handle_message()
331 Ok(TrustyPerformOpRsp::ConfigureBootPatchlevel(ConfigureBootPatchlevelResponse {})) in handle_message()
336 Ok(TrustyPerformOpRsp::SetAttestationKey(SetAttestationKeyResponse {})) in handle_message()
341 Ok(TrustyPerformOpRsp::AppendAttestationCertChain( in handle_message()
348 Ok(TrustyPerformOpRsp::ClearAttestationCertChain( in handle_message()
355 Ok(TrustyPerformOpRsp::SetWrappedAttestationKey( in handle_message()
371 Ok(TrustyPerformOpRsp::SetAttestationIds(SetAttestationIdsResponse {})) in handle_message()
385 Ok(TrustyPerformOpRsp::SetAttestationIdsKM3(SetAttestationIdsKM3Response {})) in handle_message()
402 Ok(ConnectResult::Accept(Context { uuid: peer.clone() })) in on_connect()
419 Ok(resp_msg) => legacy::serialize_trusty_rsp(resp_msg).map_err(|e| { in on_message()
436 Ok(MessageResult::MaintainConnection) in on_message()
459 Ok(TrustyPerformSecureOpRsp::GetAuthTokenKey(GetAuthTokenKeyResponse { in handle_message()
467 Ok(TrustyPerformSecureOpRsp::GetDeviceInfo(GetDeviceInfoResponse { in handle_message()
483 Ok(TrustyPerformSecureOpRsp::SetAttestationIds(SetAttestationIdsResponse {})) in handle_message()
501 return Ok(ConnectResult::CloseConnection); in on_connect()
504 Ok(ConnectResult::Accept(Context { uuid: peer.clone() })) in on_connect()
524 return Ok(MessageResult::CloseConnection); in on_message()
528 Ok(resp_msg) => legacy::serialize_trusty_secure_rsp(resp_msg).map_err(|e| { in on_message()
548 Ok(MessageResult::MaintainConnection) in on_message()
681 if error_code == ErrorCode::Ok { in check_response_status()
682 Ok(()) in check_response_status()
704 Ok(req) in get_configure_boot_patchlevel_message()
722 Ok(req) in get_set_boot_params_message()
744 Ok(req) in get_set_attestation_ids_message()
755 Ok(req) in get_set_attestation_key_message()