]> git.dujemihanovic.xyz Git - u-boot.git/commit
rsa-verify: Rework host check for CONFIG_RSA_VERIFY_WITH_PKEY
authorTom Rini <trini@konsulko.com>
Tue, 6 Dec 2022 18:51:21 +0000 (13:51 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:07:03 +0000 (10:07 -0500)
commit137de2cf0dc62d574de7363dd4ac7cc1f4848fcf
tree623250990d8e0fc536bc7fcd17a5592b136dc5b3
parent218ce3695bfd02f048443f888137e134dbcfcbfc
rsa-verify: Rework host check for CONFIG_RSA_VERIFY_WITH_PKEY

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@linaro.org>
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/rsa/rsa-verify.c