Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp679001pxf; Thu, 1 Apr 2021 10:43:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzb7/55bY4m50MprT9ny4FPMxHv2ISAbStEfXmxIxCaDgdAvgZrjv0E+uz8KX75YfV8m8BA X-Received: by 2002:aa7:d792:: with SMTP id s18mr11082908edq.176.1617299011762; Thu, 01 Apr 2021 10:43:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617299011; cv=none; d=google.com; s=arc-20160816; b=ZFvXDK3qIaMx45WCjsjxlm/AKhgsy8IFq872zeRkIY3ySwyG4rsGDdoBR2hfCXuznr KUn6GzPOTwB/RGeZ79sbkspmVSJIinpFryzMmHGB0c2b1yxdzYdz7W3aXmeJLSAfBP9B nMpDnmC9mXKSRktna0igLD2UKPUItyWqOxlYAwCqKFRQmvWqNAWrKU2xgsxXSSUfa33l R1xdSH9FUbzflccoMT4i7xS4MTyTEJSj64isitQUsMYEykM+k9HQt7wF9/NhvyXR2GVd kOGF1Eieg7q9a5DTmD9/+DuMDQ7ucw7fmjtmqZfCB33Q5PWIERfYCia8BoSubMTG2DI3 rxJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date; bh=LwxgDd9A7ykkgzzW5fmkJtED+EJWt4u9BhpN3DvyppU=; b=NE7d+t2amMuy9m0msxsDCV+x03B1VL3Jur6nawWq2jiROg1B8jKny32LJ+5k9WxaFk 5JFWQ0kIZD0qkwb9a8Wtezj2zejc/m/W2ZlqrPPS/yJGOkUCGGKxjONbhn2ZABzEE1ge lZAPXvDM9HD4tB/a64KrD3aFPZdX6FHDxxYXcAuSEEhr0S++n9g69QOdLHc3HHDrCwxV YcAnCqhEmsi2LkcJGbLlfoQEVyr8bBmyWCpO5gfuE7hcB6rq14HB84LhnfzwMx74qcw2 RMxa4LNA+kMHN30jg9vGDO+8VaUZUoi+gVXNGSS2+c4txjO+XBvDyXgj+Bpl5C8+WKXD WMMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j3si4706227eds.542.2021.04.01.10.43.05; Thu, 01 Apr 2021 10:43:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234623AbhDARmK convert rfc822-to-8bit (ORCPT + 99 others); Thu, 1 Apr 2021 13:42:10 -0400 Received: from lithops.sigma-star.at ([195.201.40.130]:40430 "EHLO lithops.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234180AbhDARgr (ORCPT ); Thu, 1 Apr 2021 13:36:47 -0400 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 81C17606BA2C; Thu, 1 Apr 2021 15:59:27 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id zwE_aygEcMAG; Thu, 1 Apr 2021 15:59:27 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 1458D60A3592; Thu, 1 Apr 2021 15:59:27 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ETgRfEjK7WK1; Thu, 1 Apr 2021 15:59:26 +0200 (CEST) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id D76FC6071A7C; Thu, 1 Apr 2021 15:59:26 +0200 (CEST) Date: Thu, 1 Apr 2021 15:59:26 +0200 (CEST) From: Richard Weinberger To: Sumit Garg Cc: Ahmad Fatoum , Jarkko Sakkinen , horia geanta , Mimi Zohar , aymen sghaier , Herbert Xu , davem , James Bottomley , kernel , David Howells , James Morris , "Serge E. Hallyn" , Steffen Trumtrar , Udit Agarwal , Jan Luebbe , david , Franck Lenormand , linux-integrity , "open list, ASYMMETRIC KEYS" , Linux Crypto Mailing List , linux-kernel , LSM Message-ID: <1846277009.140163.1617285566823.JavaMail.zimbra@nod.at> In-Reply-To: References: <1666035815.140054.1617283065549.JavaMail.zimbra@nod.at> Subject: Re: [PATCH v1 0/3] KEYS: trusted: Introduce support for NXP CAAM-based trusted keys MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF78 (Linux)/8.8.12_GA_3809) Thread-Topic: KEYS: trusted: Introduce support for NXP CAAM-based trusted keys Thread-Index: jPSCsanR7JeNVp3vlsHfcUPQzmg/6A== Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Sumit, ----- Ursprüngliche Mail ----- > Von: "Sumit Garg" > In this case why would one prefer to use CAAM when you have standards > compliant TPM-Chip which additionally offers sealing to specific PCR > (integrity measurement) values. I don't think we can dictate what good/sane solutions are and which are not. Both CAAM and TPM have pros and cons, I don't see why supporting both is a bad idea. >> > IMHO allowing only one backend at the same time is a little over simplified. >> >> It is, but I'd rather leave this until it's actually needed. >> What can be done now is adopting a format for the exported keys that would >> make this extension seamless in future. >> > > +1 As long we don't make multiple backends at runtime impossible I'm fine and will happily add support for it when needed. :-) Thanks, //richard