commit | 2bbed3ff8c7fa0c0fa3fd28a9497bf7a99e3388b | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Sep 25 19:43:23 2021 -0600 |
committer | Tom Rini <trini@konsulko.com> | Fri Oct 08 15:53:26 2021 -0400 |
tree | fc0702f72792fb3114c8cc4fd2262f8f2ad115fd | |
parent | e059157f0d5737b63fe2f1fec145509d82508109 [diff] |
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: Simon Glass <sjg@chromium.org> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>