From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 204A4C4338F for ; Wed, 25 Aug 2021 14:13:19 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 75B4461051 for ; Wed, 25 Aug 2021 14:13:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 75B4461051 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9D1E58164D; Wed, 25 Aug 2021 16:13:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="t+lMgCR7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 740FF8164D; Wed, 25 Aug 2021 16:13:14 +0200 (CEST) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0A34780A22 for ; Wed, 25 Aug 2021 16:13:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x735.google.com with SMTP id y144so27241658qkb.6 for ; Wed, 25 Aug 2021 07:13:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=rGpdSVQ+II7MYH5QEnHxKKDfm7NZHg566klKL2x7WVY=; b=t+lMgCR74K9YG+aZVnZezj5ExdzwBjHzeTcK91yiX3ITMFBKkv/ui05W0YuSK88KHX H+EgRWSTe6oqJcHunIWr5HKoEF5Xa6R7PUGwJoFNwbvE7kCoKXsca4NeKyZuaSFF1FpN asoviWDuC+ws9qjtNmcydUanmylQTNrfQVmDQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=rGpdSVQ+II7MYH5QEnHxKKDfm7NZHg566klKL2x7WVY=; b=K2rzZL20bTbRhGJBNDbKho/heIHeqJecQZU8M6w3mKsSUK2JHskIkCsgreG0fNmKGa ytMdQJ2w9iF7dUL8ylLZ7VdEgMvbkpRHdNQ2XgTxrBAvUTtDqMf7siXBRjMbw0bJ+Gqu +3GJ0GOACtMndupBnJLwDHa1qF6aiSD4uNlXyhi2hOc+jYvf6HNuKBrJKG+Xbik5tgj1 PyPzxBAnjyB5Dk4rC9ehbWGzlCKO5Ey+S8pLXWVOCQTAGqrx0OcZBrSVWQdyTcGtO4UM 9DRGXxlPoFv0A4nzOo9bG9YWA8SzfiXsm8263FIQlT6GRi8DhPmavxhTsj2pbiP80h2H G6PA== X-Gm-Message-State: AOAM531hcou+5h/g+wkCTC93wSkgfgZSZAoE7S6mz9N68AOqTFe72l0d LbbkX6Wdg5f43jwro2tJ6nYCOg== X-Google-Smtp-Source: ABdhPJx8R8e8vvwb4aevEobzM7UWaek+7nTJZYdvx+7j1qSRBpVfRpiXFW1Y4EnOp5VNu/5fqRmvoA== X-Received: by 2002:a05:620a:129c:: with SMTP id w28mr31251964qki.359.1629900788780; Wed, 25 Aug 2021 07:13:08 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-519a-4843-2801-9790.res6.spectrum.com. [2603:6081:7b01:cbda:519a:4843:2801:9790]) by smtp.gmail.com with ESMTPSA id 9sm9683205qtz.83.2021.08.25.07.13.07 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Aug 2021 07:13:08 -0700 (PDT) Date: Wed, 25 Aug 2021 10:13:06 -0400 From: Tom Rini To: Oleksandr Suvorov Cc: u-boot@lists.denx.de, Ricardo Salveti , Masahiro Yamada Subject: Re: [PATCH] Kconfig: Don't use RSA_FREESCALE_EXP on MX7ULP Message-ID: <20210825141306.GT858@bill-the-cat> References: <20210825135651.77629-1-oleksandr.suvorov@foundries.io> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OKfVsIwV4wneIVeG" Content-Disposition: inline In-Reply-To: <20210825135651.77629-1-oleksandr.suvorov@foundries.io> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --OKfVsIwV4wneIVeG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 25, 2021 at 04:56:51PM +0300, Oleksandr Suvorov wrote: > From: Ricardo Salveti >=20 > The CAAM on IMX7ULP doesn't support public key hardware acceleration > (PKHA), as in other NXP parts. Disable RSA_FREESCALE_EXP for IMX7ULP > too. >=20 > Fixed: f4e9ff7135 ("Kconfig: Don't use RSA_FREESCALE_EXP on IMX") > Signed-off-by: Ricardo Salveti > Signed-off-by: Oleksandr Suvorov > --- >=20 > lib/rsa/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/lib/rsa/Kconfig b/lib/rsa/Kconfig > index a90d67e5a8..55e17596f0 100644 > --- a/lib/rsa/Kconfig > +++ b/lib/rsa/Kconfig > @@ -1,6 +1,6 @@ > config RSA > bool "Use RSA Library" > - select RSA_FREESCALE_EXP if FSL_CAAM && !ARCH_MX7 && !ARCH_MX6 && !ARCH= _MX5 > + select RSA_FREESCALE_EXP if FSL_CAAM && !ARCH_MX7 && !ARCH_MX7ULP && !A= RCH_MX6 && !ARCH_MX5 > select RSA_SOFTWARE_EXP if !RSA_FREESCALE_EXP > help > RSA support. This enables the RSA algorithm used for FIT image What iMX families does this work on? I think we need to look at fixing the logic to be a bit more restrictive to start with, instead of opting families out. --=20 Tom --OKfVsIwV4wneIVeG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmEmT+sACgkQFHw5/5Y0 tyynMAv/U/s2XDRGuQC1iiPcs0H7tPEkszRcUJ6GtHashOwUwMvGYWxObbEU6oqU xD7QQ4kecFGJSzLzIOb12sH2GbxB4EKE+H679i1dIMsD0e6U1JvBuyivr5keL3Ox CBQuZ1AAGz+ItKEnPjQJsXCSM5yDNs1t4P1J++MBT/OvkMu4LICKqdEVYxF3OsBX NJMwyWh/xxiz5+cbT4AuJWsagbTOuJSMkPMRAyobxbwR3OF//92vDRg/4HlDgQbO AfJHWPOLK/b2cM0tall0u1tmN2R9ABlMgzAEM19dv+XQW/nseSerLMXe33oM66Fa koMyEJE5TeYUo/uVJEJUcL/6qIYxH4seMlR4YdHKwLTrS4hqz7uniGAFxYdw6zup qhGfNNops6NPp/SvnDda9Us9Y1PIJh3j4U8xIQlWUpRWgSN+Fk57ipjuY8ChKI8a lOQz1WUqy2FF5RGvzCHQA4IFK49ZCI82WDjPL2Y/O3Kq3xJJFbGDf6+KkY5tZuYM kk/kCATe =7ZTc -----END PGP SIGNATURE----- --OKfVsIwV4wneIVeG--