From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko =?ISO-8859-1?Q?St=FCbner?= Date: Mon, 25 May 2020 19:18:09 +0200 Subject: [PATCH v5 2/8] lib: rsa: take spl/non-spl into account when building rsa_verify_with_pkey() In-Reply-To: <20200522141937.3523692-2-heiko@sntech.de> References: <20200522141937.3523692-1-heiko@sntech.de> <20200522141937.3523692-2-heiko@sntech.de> Message-ID: <5018990.Qxp6z9GvRN@diego> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Freitag, 22. Mai 2020, 16:19:31 CEST schrieb Heiko Stuebner: > From: Heiko Stuebner > > Right now in multiple places there are only checks for the full > CONFIG_RSA_VERIFY_WITH_PKEY option, not split into main,spl,tpl variants. > > This breaks when the rsa functions get enabled for SPL, for example to > verify u-boot proper from spl. > > So fix this by using the existing helpers to distinguis between > build-steps. > > Signed-off-by: Heiko Stuebner transplanting a tag from v4: Reviewed-by: Philipp Tomsich