Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4828052pxv; Tue, 20 Jul 2021 12:22:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNlmHDjBh9WUAD4JoIw8fczVVLE4lZV7BTIjW65fS3euyIKQQpNk/fjzsQPydQTLnu0vel X-Received: by 2002:a50:8d8b:: with SMTP id r11mr42027880edh.217.1626808958616; Tue, 20 Jul 2021 12:22:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626808958; cv=none; d=google.com; s=arc-20160816; b=uHx843c37tMjM5BV+U3WJpEZt4TdoctPK9D1rRUdQ360fGQ3TRnGB/kdv+4ncR4Uhx Nj9m2KcBB6RhsjXOklPrvabMRmeNKqkWJpHL/qDRGcGsX+ZzuPGmdvcDrFIShdSTXFms e7LwYlI6tnw8LNgH7DnxHCCPCq/A0lUwSgsARmGxDMyrp3Z/VE+mjR5MKrOSEj77rMLj rn/smHNBl28hiy2jO/KACD2ktpxRNQV/mW+E9BwwBBYX/+4Zllfkz1ACLm+0bRc1eAS8 XluFCGnghUqMGf8AbWCA7u9eyVXrFm79rchHdK5rESZFJEkpYSUkrbhU4BLyuIxMXSQ4 gUZg== 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=zFuzNBIJ3SOuNszQPtdyxiTi9yoIw9/CFgzpID1S2XU=; b=TtCYJavWZfl7Bg68Nmnmzon/TIsxt5JH1Ii4WznU2tRZCdeInthJD460/cmyd3U0Ic HT8jo5bSAYE2foMh2+2VV6qYr/XQDqA6kxU9e4mpEnwGdhdqpNy56Tq75+v2HImUAe0k lZALSFL2CAanAkzicZ2XHbwnxruQTmn1nSeFM2eh41fR3Tvrv0G8muW7evbftM1n32aW ik3xqv1T1FJmJgCunc56H0QMzCU7q4vbqAydbvLR1obk5s2MxVUwTjb6ZdnxwaKDyZpX XuAXOerh4vZwJQQL61h9arfZTQX68AfL+v5qDMlQmWTmZO7qCYBCT4HGWz9ORqvQuEeX XyYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gp7M1Qgh; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v21si5825879ejg.310.2021.07.20.12.22.03; Tue, 20 Jul 2021 12:22:38 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gp7M1Qgh; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232954AbhGTSkW (ORCPT + 99 others); Tue, 20 Jul 2021 14:40:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232735AbhGTSjg (ORCPT ); Tue, 20 Jul 2021 14:39:36 -0400 Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F374C061574; Tue, 20 Jul 2021 12:20:08 -0700 (PDT) Received: by mail-qt1-x82b.google.com with SMTP id d15so293672qte.13; Tue, 20 Jul 2021 12:20:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zFuzNBIJ3SOuNszQPtdyxiTi9yoIw9/CFgzpID1S2XU=; b=gp7M1QghoO41WNBVmXuuTneI1Vq3cIRZrRygM7/0rnzOtNhjGFBpPckaBnDsYpz2/J uQOZ9shSUn/+MPbMg3ZzbO2VD77Pt1tcALFBRn12Uwh7wHtAD3sWOhaQYgAUkhDzb2W7 kV8KK10Wz9W/YsAXeAShXJlQVRowN33Tyd03Nfz2ud3LllXPJ4zFmFhduNExqhAz2UY3 u6yLQnJWJDZbUsOt+NbQP/V+hM/YYvVt1ycnQJB1oGKnFSLCu4U1MYawVnfCjTl8yQfZ g3ixrsadSGTvcu8Wk9XVHeLXMPf9llKChDxC7aW0Zy3pVty51zt6w/HY0j1t12BQGUbs b5Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zFuzNBIJ3SOuNszQPtdyxiTi9yoIw9/CFgzpID1S2XU=; b=BMygT8rqHUeqRWOmwYncvq7du60Vxu8O2yC9xV4Q2jWs9qZNWZUs9YKaFp3YXI8eZK MARrgB3XO8nI9grGoRPqUWNLU5E668QUSZy9n0H5gz6pjMbklI9dO2WgKo050wAVKEms EyyV0J3YTkSorfvu0GyQ7I/GOijK2CR8Rx8RjVwjNAihCMsbnYv2Xmzc9D3vNXlTZCT6 RGI/KqhDenBYxrbZ86mJJK/EnwKIdJoJMv0di27S7PvDRWL2dNpu+Mif5QwXQSMeGBRQ B3uqoVBltaI3XFnENr0wYhSfSYkTxLb5vsNtYlg+7A1iURCPUnYuGttDQQCjA4g7jCRo QXaQ== X-Gm-Message-State: AOAM532TJ+WFy5yTcu3BsbYnZ9AuULpZnVJZqKqqZSW8fq+NYYD5JrDf /1cFA1ZSISJLZJOojq7mXhKaT7X7VMUznuHNn6aigh166l8= X-Received: by 2002:a05:622a:138d:: with SMTP id o13mr27796695qtk.245.1626808807804; Tue, 20 Jul 2021 12:20:07 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: From: Richard Weinberger Date: Tue, 20 Jul 2021 21:19:56 +0200 Message-ID: Subject: Re: [PATCH v2 6/6] KEYS: trusted: Introduce support for NXP CAAM-based trusted keys To: Ahmad Fatoum 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org 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? -- Thanks, //richard