Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1975376ybt; Thu, 2 Jul 2020 19:58:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhzcLDyQRHAqyqCHRZiao+xqYw02F8y+ZkammiAf4e79agiB9Kg/u2B2x69ncjd1Wrorzn X-Received: by 2002:a05:6402:3d0:: with SMTP id t16mr36996693edw.287.1593745134465; Thu, 02 Jul 2020 19:58:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593745134; cv=none; d=google.com; s=arc-20160816; b=Easeom6jcZZWdXwUnoT4UPf/JbKGSdZiXxmtUM7IVxIL4c7bJ+6FVLXVusbZPhz193 wm3uTBMYIti/VP/Y30tkkXSX/qKy1PuVg98hE5JDRhArF0DV5lkeo+76NdDhqPOyQpiL RPEEM8WYdAOAo/LSBYWmRxc4e4spbowUaVFC8SZjprINkYKAvac2dfGHk20B/HQb9Jqw Mlt+bgYHNt/O8lT1ndQHdakoJQvvrhDmas+WGeyBloQ8JajvIlfopG1mttOPKRiJqZ9C XeZ4a68Q3Qc3+0E9ZhWGN0ZuaGdn1XhX2eUBW8wJ5h8AI/ErLNCnUTcz06yvEYyzvTFj vuWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=r8/o+ggWr3qoewUPv6PF0r3ha7Z5KDqqHhvY9TnPc4k=; b=e61RIYQHv+PKp7SID/NjrdtqI6iANKamb/wktkATruiQWcFVsemgXggVOosBXIb9mN iRIH9aOx0HxAxbU/a9bOteJ3ul201Hpo14W+lXJ1FgzhSbPJiL8yLoDJwdLVe4SnBE9n Sg5KA9WiG3ZmUpo7SLHZVcfWGPuNcXsVNWjSwfsEEsyD6wsE8awoNaYNlj8gb6xEnK+Q u6aOH40BXc1W9hapYOEAgfpu9D7cLFfnMTABevKEteTJrM+/PdHATeC5p8PVpYcYPegX wHKUfIEo+jNK8tIoEnE7Sy28G/DJo//CWxiAP64qvOrhHRaqHDCtlayntcRn9TJIHEdJ zYDQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ds17si9025063ejc.619.2020.07.02.19.58.31; Thu, 02 Jul 2020 19:58:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726150AbgGCC4D (ORCPT + 99 others); Thu, 2 Jul 2020 22:56:03 -0400 Received: from mga01.intel.com ([192.55.52.88]:56724 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725915AbgGCC4D (ORCPT ); Thu, 2 Jul 2020 22:56:03 -0400 IronPort-SDR: eEchHP2jU5ewE2nJW5JzqBpVM2VTXGSE16EGH8A5N6FYL0hbMEtRYiLynY+OvGXIk0OuwzKWeK bA+czXMnZSgg== X-IronPort-AV: E=McAfee;i="6000,8403,9670"; a="165137428" X-IronPort-AV: E=Sophos;i="5.75,306,1589266800"; d="scan'208";a="165137428" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jul 2020 19:56:02 -0700 IronPort-SDR: IOKL1bFc6dUxuaYrYu+rNE+5Y1aIq/TZfWggqmQ14Gqd/acVt4L8kcvoDI2+uy59YuynQBq87+ +VjJ+v1rqgGA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,306,1589266800"; d="scan'208";a="426156694" Received: from skochetx-mobl1.ger.corp.intel.com (HELO localhost) ([10.252.55.66]) by orsmga004.jf.intel.com with ESMTP; 02 Jul 2020 19:55:50 -0700 Date: Fri, 3 Jul 2020 05:55:48 +0300 From: Jarkko Sakkinen To: Borislav Petkov Cc: x86@kernel.org, linux-sgx@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, Jethro Beekman , Andy Lutomirski , akpm@linux-foundation.org, andriy.shevchenko@linux.intel.com, asapek@google.com, cedric.xing@intel.com, chenalexchen@google.com, conradparker@google.com, cyhanish@google.com, dave.hansen@intel.com, haitao.huang@intel.com, josh@joshtriplett.org, kai.huang@intel.com, kai.svahn@intel.com, kmoy@google.com, ludloff@google.com, nhorman@redhat.com, npmccallum@redhat.com, puiterwijk@redhat.com, rientjes@google.com, sean.j.christopherson@intel.com, tglx@linutronix.de, yaozhangx@google.com Subject: Re: [PATCH v33 12/21] x86/sgx: Allow a limited use of ATTRIBUTE.PROVISIONKEY for attestation Message-ID: <20200703025548.GD306897@linux.intel.com> References: <20200617220844.57423-1-jarkko.sakkinen@linux.intel.com> <20200617220844.57423-13-jarkko.sakkinen@linux.intel.com> <20200629160242.GB32176@zn.tnic> <20200703023146.GA306897@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200703023146.GA306897@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 03, 2020 at 05:32:28AM +0300, Jarkko Sakkinen wrote: > On Mon, Jun 29, 2020 at 06:02:42PM +0200, Borislav Petkov wrote: > > On Thu, Jun 18, 2020 at 01:08:34AM +0300, Jarkko Sakkinen wrote: > > > Provisioning Certification Enclave (PCE), the root of trust for other > > > enclaves, generates a signing key from a fused key called Provisioning > > > Certification Key. PCE can then use this key to certify an attestation key > > > of a QE, e.g. we get the chain of trust down to the hardware if the Intel > > > > What's a QE? > > > > I don't see this acronym resolved anywhere in the whole patchset. > > Quoting Enclave. Thanks for spotting this. I updated my GIT-tree accordingly. /Jarkko