[PATCHv3 010/149] rsa-verify: Rework host check for CONFIG_RSA_VERIFY_WITH_PKEY
Simon Glass
sjg at chromium.org
Wed Dec 7 02:08:30 CET 2022
On Wed, 7 Dec 2022 at 07:51, Tom Rini <trini at konsulko.com> wrote:
>
> While we do not want to use CONFIG_RSA_VERIFY_WITH_PKEY on the host, we
> cannot undef the symbol in this manner. As this ends up being a test
> within another function we can use !tools_build() as a test here.
>
> Cc: AKASHI Takahiro <takahiro.akashi at linaro.org>
> Cc: Simon Glass <sjg at chromium.org>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Changes in v3:
> - Move comment, per Akashi-san
> Changes in v2:
> - Switch to !tools_build() per Simon
> ---
> lib/rsa/rsa-verify.c | 20 +++++++-------------
> 1 file changed, 7 insertions(+), 13 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list