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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 9ADA0C433F5 for ; Tue, 1 Mar 2022 04:23:06 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5050A83CA0; Tue, 1 Mar 2022 05:23:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="D28iWUac"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0713883C6E; Tue, 1 Mar 2022 05:23:01 +0100 (CET) Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) (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 E7F7683C6E for ; Tue, 1 Mar 2022 05:22:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pf1-x432.google.com with SMTP id d187so13032386pfa.10 for ; Mon, 28 Feb 2022 20:22:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=d8aa9am8YuOcztN/xva3Fmb6pQ2g03OGVkogdtvfM3Y=; b=D28iWUacQ8ViUMHjswvd/Nak5XXvcqFZxY7n6ok1CvU3IrB5KrMgwUsVELglPK6tyf 0segiiQEACgTb+aJzHF138SrTV16L6DlLPAUxAQlW9ztKgWSOSVHd0ZrIJyI980yY+3E i2mT8QKwzp9luYC/jZYn9vbho3QtZJt/rrnIbSZ3dFbL0RtPJLY1K0uxaiLPil21A1WD 4kQgLgOAZ6Hp+Hz9JFDw/xnMTlK/7Z2z9WIQdzXAIfRwTRhEQ9UgQMDT3oRFnH7t80X7 ipnIhLsJFGyN3Zj78JEscy5HMp5BjNApp29NweLvCIv/q7gf/w/ptvvrccuWv5VOBfJs TdPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=d8aa9am8YuOcztN/xva3Fmb6pQ2g03OGVkogdtvfM3Y=; b=EiPX5SyBrdSbrP5mCGqmW7M2TZc8RJVwfeofi1u7qQi/5iLZxQnlS6oJZyPfhKSi6C xOFSEa2DVTfhPKVylKft4urkDXVOxJutTY+qnyzv44sVCPZm4pxNPOCJraAumpgo6C0W T5tXKmD2FlSN8TLrxE4OPKfxF3lbYdzwtlbeJL4lkV8TRlhn6Er4nF4e1Moq0Gvt/EXf FXvbCJWj5kAlvx38vinPY339nvo9gQDRIn2EuC65HDNdqjKPRi/KHm2At/b/nL5fVq7d 5XIcqY5jAOtk67YkQwyVjHG1h63X2xUaaV9Rn9GSzDW7NpXvLt4iMZFU4jk7N84Tv+Xl 2MLw== X-Gm-Message-State: AOAM532c/U/i/nCA5KJwTM9/EUI13Xx5FtEhH+J4rIFYlouVJUXaVhbE hszrEQUGGqFIm/4ahkg8BhDXBw== X-Google-Smtp-Source: ABdhPJzkUGyRZ4UFLmexbe6UZtOnCmA5ah+d393okkPv3V7FtIr6hxFUGANUK8G0355mDfkHGDj5qA== X-Received: by 2002:a05:6a00:24c7:b0:4e1:cb76:32d1 with SMTP id d7-20020a056a0024c700b004e1cb7632d1mr25242192pfv.36.1646108576097; Mon, 28 Feb 2022 20:22:56 -0800 (PST) Received: from laputa (p914133-ipoe.ipoe.ocn.ne.jp. [153.243.15.132]) by smtp.gmail.com with ESMTPSA id f6-20020a654006000000b00346193b405fsm11545242pgp.44.2022.02.28.20.22.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 20:22:55 -0800 (PST) Date: Tue, 1 Mar 2022 13:22:47 +0900 From: AKASHI Takahiro To: Simon Glass Cc: U-Boot Mailing List , Tom Rini Subject: Re: [PATCH 14/18] Make ASYMMETRIC_KEY_TYPE depend on FIT_SIGNATURE Message-ID: <20220301042247.GA80958@laputa> Mail-Followup-To: AKASHI Takahiro , Simon Glass , U-Boot Mailing List , Tom Rini References: <20220228190835.1480772-1-sjg@chromium.org> <20220228190835.1480772-15-sjg@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220228190835.1480772-15-sjg@chromium.org> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean Simon, On Mon, Feb 28, 2022 at 12:08:31PM -0700, Simon Glass wrote: > Add this dependency to avoid a build error if FIT_SIGNATURE is not > enabled. I doubt it. With qemu_arm64_defconfig & ASYMMETRIC_KEY_TYPE & !FIT_SIGNATURE, I don't see any build error on 2022.04-rc2. -Takahiro Akashi > Signed-off-by: Simon Glass > --- > > lib/crypto/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/lib/crypto/Kconfig b/lib/crypto/Kconfig > index 6369bafac0..5c6e964862 100644 > --- a/lib/crypto/Kconfig > +++ b/lib/crypto/Kconfig > @@ -1,5 +1,6 @@ > menuconfig ASYMMETRIC_KEY_TYPE > bool "Asymmetric (public-key cryptographic) key Support" > + depends on FIT_SIGNATURE > help > This option provides support for a key type that holds the data for > the asymmetric keys used for public key cryptographic operations such > -- > 2.35.1.574.g5d30c73bfb-goog >