Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5635943pxv; Wed, 21 Jul 2021 10:04:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+dw8raZou/rd0K+bfyVcc57E+IjjQB2IFERy+Myf79P0I1Ky1jrU+q7Q/IPRgKWZ8cWxa X-Received: by 2002:a05:6402:1812:: with SMTP id g18mr48554339edy.325.1626887054712; Wed, 21 Jul 2021 10:04:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626887054; cv=none; d=google.com; s=arc-20160816; b=YM8l1KhIhqWtq3hLkF7bo//M2GYqGdli/VPxExWn0b61zSGakXH1vZQh8UndpNpd2N dINAyoUhxMgYbTTnJspiELP0S5nKA4b1CwjcKmvNiwIG9IJeKre5reFWeT9xN0W37orJ uPKQf9/gLZfPFvbiVl09Xv0z1z4GHjGxAezmJY1Bso7VCEVzfzlnJDjJHMDCPAjYW7X8 YnxirdXJ7O4M3GfLJTRGh9lUFxZcXayxwVO83irU4uQHthEcOFkw0b8nIQmdNNz1Hnsa He+gjIdi/aG9kDYVPsjxKlSgctWQOCLFgBJTieTORjg2/mRvuArZU4lRP5i4b9gcGIKG rv0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=I26wUn6XXqjZFXnMQhLfTdJASOvt39qnmY8s4VjRFwY=; b=K+j/BYdbe5WrbGoJfKoTaJeQC9q2h0/ehbW/1ccaAZUJiOdkhp9+Vbh0B1FGslIlsR umV+CZ2i2hxU4Hywl5bm7cjM02Ad0vmK8q6EzFanVDpqwSsIjt6ZjEud0ZGSxK7Ejpmt 8FN36PJhgFj8cTq4D3kZJnNgEF2xm35PC7vnOnCzXdc/u7ObSnFoa6mxWfgBX0sMy7We 7bnYk/OAk6ZKiUvmyrL0RZOyL6eJ6R/zRPAgopOucX+1MRR40kWCwjKLyyp1mcOLF/LE M0VxlvbfYCdR16gYzHfmv5TnTHlcGcN55UGwLbX1sc671vh0zwzK1XJ4ceLtevTYRpih kfRg== 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 b1si28763568edr.456.2021.07.21.10.03.46; Wed, 21 Jul 2021 10:04:14 -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 S236383AbhGUQWM (ORCPT + 99 others); Wed, 21 Jul 2021 12:22:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236377AbhGUQWL (ORCPT ); Wed, 21 Jul 2021 12:22:11 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7A3BC0613C1 for ; Wed, 21 Jul 2021 10:02:47 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=[IPv6:::1]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m6FcI-0006k1-92; Wed, 21 Jul 2021 19:02:42 +0200 Subject: Re: [PATCH v2 6/6] KEYS: trusted: Introduce support for NXP CAAM-based trusted keys To: Richard Weinberger Cc: Richard Weinberger , Jonathan Corbet , David Howells , Jarkko Sakkinen , James Bottomley , Mimi Zohar , kernel , James Morris , "Serge E. Hallyn" , horia geanta , aymen sghaier , Herbert Xu , davem , Udit Agarwal , Eric Biggers , Jan Luebbe , david , Franck Lenormand , Sumit Garg , "open list, ASYMMETRIC KEYS" , Linux Crypto Mailing List , Linux Doc Mailing List , linux-integrity , linux-kernel , LSM References: <39e6d65ca5d2a0a35fb71d6c1f85add8ee489a19.1624364386.git-series.a.fatoum@pengutronix.de> <1850833581.13438.1625172175436.JavaMail.zimbra@nod.at> <2f608e5a-5a12-6db1-b9bd-a2cd9e3e3671@pengutronix.de> <783613027.15909.1625223222889.JavaMail.zimbra@nod.at> From: Ahmad Fatoum Message-ID: <879d4cda-2ac1-d81b-7f4d-c08261e0aa0c@pengutronix.de> Date: Wed, 21 Jul 2021 19:02:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: a.fatoum@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-crypto@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi, On 20.07.21 21:19, Richard Weinberger wrote: > On Fri, Jul 2, 2021 at 2:37 PM Ahmad Fatoum wrote: >>> Both is possible. If the string starts with "0x" it needs to be decoded to a >>> 128 bit key. Otherwise it has to be a up to 16 byte string. >> >> Fine by me. Looking forward to your patches. :-) > > I'm not sure how to proceed. Should I base my changes on this series > or do you plan to send an updated > version soon? > Maybe it makes also sense to base my DCP patch set on yours. > > Trusted Keys maintainers, what do you prefer? I sent out v3 despite the name (of course forgot that git-send-email -vX is silently dropped when sending patch files directly..): https://lore.kernel.org/linux-integrity/cover.9fc9298fd9d63553491871d043a18affc2dbc8a8.1626885907.git-series.a.fatoum@pengutronix.de/T/#t I'd advise you base your changes on the first two patches there as well as the Kconfig fix/enhancement I sent out separately: https://lore.kernel.org/linux-integrity/20210721160258.7024-1-a.fatoum@pengutronix.de/T/#u Those are relevant for you as well and I assume they should be good to be merged even if the CAAM series turns out to need some more love. Cheers, Ahmad -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |