Skip to content
Commit 2bbed3ff authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

image: Use Kconfig to enable FIT_RSASSA_PSS on host



Add a host Kconfig for FIT_RSASSA_PSS. With this we can use
CONFIG_IS_ENABLED(FIT_RSASSA_PSS) directly in the host build, so drop the
forcing of this in the image.h header.

Drop the #ifdef around padding_pss_verify() too since it is not needed.
Use the compiler to check the config where possible, instead of the
preprocessor.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarAlexandru Gagniuc <mr.nuke.me@gmail.com>
parent e059157f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment