Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2815184rdh; Wed, 27 Sep 2023 13:39:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHh5/CZVmF3no+ljBKmDfug5qHV3DoACWKUPA0uY27YIWaWVii/t8yoBvSxp4f9Bl4KOiKH X-Received: by 2002:a05:6871:212:b0:1d5:f22f:7a00 with SMTP id t18-20020a056871021200b001d5f22f7a00mr3623540oad.27.1695847151082; Wed, 27 Sep 2023 13:39:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695847151; cv=none; d=google.com; s=arc-20160816; b=BeL660qV3b+busuSJP/9l0pFD5rPtxP4CWOtvZt81akYHrltGIvaa1ZkYiqjuCuQbT Hu8nNnYZ4iBuVNXlYm+X9bjTy4FrV8xc4o3cGFtcVrqiaZJgkIYDHccbPrTwSI2duYUS wzNt0xyVeVCo21ZpxFkgzFNmYFcH8r9krC5AXZU9U2gCSk4hRDknDVL4iwuLOIqR5e/j UCfvb255eShyFxqB7Opuua7gNVS/iqHIfZq9kf4rHwr9/1DcW2vEqnsLcg3NHFivvr9D BbqccXKyQ6MDw/24gkx/1KgDmVtM/NFmoDqgbxGjTsyfjZmHm4kLUVcatljjlVd75RIO sTeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=HK/8Dajte472KzlqsoW1YYI86LGqovc35i9+35GKRvo=; fh=HCUxrxIKpsPCpzmLwwyG9Rz6eKbt/xw4xZjH4fvchfg=; b=fmzt6DmZr3IpPmV8KFnx+7u8bEckIS7Np5kvDkvoBfR69Em9kHgE2dHu1wkPK2v615 3xas4zH3ggTbTS0V9Lp4ZwlSX1+OrXCwn0sK6L+5TdkzHIadxMsVYTkEii0qFYo/myl6 t85ah8JPkcKCkvfh1pdfdi7JzkdSte+AvxadiTIAYfUs8iPjwPliZWGmVZbcdtkLmwRj wyZS0WHxi3ogoId+ecTVGR6D9K13seYdjTADk+LW+R1nOtQ3/eePgvZNt5HmOnloDWvh KjOICQer8zImAmD15XimYFcSbmumqSWrFOsm25WyYrWwaMg6TaW8l8QJKW/W4Lv2Otd1 ixQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UJo9Dx6E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id a35-20020a631a63000000b00573feb1e7c6si16503107pgm.888.2023.09.27.13.39.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 13:39:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UJo9Dx6E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 89FFB8206D67; Wed, 27 Sep 2023 01:04:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230099AbjI0IEt (ORCPT + 99 others); Wed, 27 Sep 2023 04:04:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230109AbjI0IEp (ORCPT ); Wed, 27 Sep 2023 04:04:45 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16ED0191 for ; Wed, 27 Sep 2023 01:04:43 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2bffa8578feso178523101fa.2 for ; Wed, 27 Sep 2023 01:04:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695801881; x=1696406681; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=HK/8Dajte472KzlqsoW1YYI86LGqovc35i9+35GKRvo=; b=UJo9Dx6EqyAYAUBmNa3UMbh8yRolRwSGuN7RYptpBdwanv3UuYKhL/F+gMOpadwm6H edTrMYnwkhc71Wuk+MvXjLCUacuzhQf3trj7n1j3aSZJwaz5chLDBUpcrtjUM0dXSM4D AIck4CJvF6h2eHcpfd1eGb0s7fjamVkiglUZx/9txk9byIDhSC2VGnxgI4tFFAeEZgMA MADM67NKTP4Ltg4iwOiPB91UwnJIyNRvC43BMnf3WjoKivykYQESMJh5ZmDalvJekKt6 gD3vEirm/ctzvVJl8w7gxa4Cq8BDIvtRrDA9/WhMCPZ7jXBRj7L81BWDPYNI71TvAYto rvgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695801881; x=1696406681; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HK/8Dajte472KzlqsoW1YYI86LGqovc35i9+35GKRvo=; b=mgTGC7t4TVcS1E0SSaM9xXgrehE9MLl0N8ozaVdF1R0piSfM/DSha8oX9N9zsJ05TC CG415uLBxuuNG7aP5oz5wsF8XOibPwOfEmTr4fCocTQfXj5lhTTg7JLDlxg16PUgMU8v 1uZr+NIwQXqmUbniF+IynHoxJIPaZMvkzTtzptqaxoVduTApaE0+h3yog3aMsDQVwiUb mb4pB65LACoIJz+2RqnLMoSX6qRPXkPQYT07L5Xky4guewULF/iS4MCnEtscugxa7kcF mKnGV4EADKFN/VdcHOfCVwJPb5GhFFUxZJ8dsteyHkTFPKtb1ch24g90t+x8bcRgzuen 1j/g== X-Gm-Message-State: AOJu0YzefEIDSNfiRvlGolt4IbeWKMb7IpEA+KatSqNWC4VSP9pYocqs oY47z6LVTftdt8TMbk2TOcnen+UmnnqgkMlc1g6SdYR/Y/r6lBoj1sHVsQ== X-Received: by 2002:a2e:a230:0:b0:2c0:2b44:6eb7 with SMTP id i16-20020a2ea230000000b002c02b446eb7mr1300087ljm.35.1695801881296; Wed, 27 Sep 2023 01:04:41 -0700 (PDT) MIME-Version: 1.0 References: <169570181657.596431.6178773442587231200.stgit@dwillia2-xfh.jf.intel.com> <169570182987.596431.14062417344858914481.stgit@dwillia2-xfh.jf.intel.com> In-Reply-To: From: Thomas Fossati Date: Wed, 27 Sep 2023 10:04:25 +0200 Message-ID: Subject: Re: [PATCH v4 2/6] configfs-tsm: Introduce a shared ABI for attestation reports To: Dan Williams Cc: linux-coco@lists.linux.dev, Dionna Amalie Glaze , James Bottomley , Peter Gonda , Greg Kroah-Hartman , Samuel Ortiz , Thomas Gleixner , peterz@infradead.org, linux-kernel@vger.kernel.org, x86@kernel.org, dave.hansen@linux.intel.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 27 Sep 2023 01:04:54 -0700 (PDT) Hi Dan, > On 9/25/2023 9:17 PM, Dan Williams wrote: > > +++ b/include/linux/tsm.h > > @@ -0,0 +1,63 @@ > > +/* SPDX-License-Identifier: GPL-2.0 */ > > +#ifndef __TSM_H > > +#define __TSM_H > > + > > +#include > > +#include > > +#include > > + > > +#define TSM_INBLOB_MAX 64 I guess @inblob is supposed to (possibly) accommodate nonces from a challenger, correct? If so, 64 bytes may not be enough for attesters that produce EAT-formatted reports -- see [1], and [2]. [1] https://www.ietf.org/archive/id/draft-ietf-rats-eat-21.html#section-4.1-5 [2] https://github.com/ietf-rats-wg/eat/pull/421/files cheers, thanks