commit | effa4522e0061d941f576e8cf342d19dbc617b18 | [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 | bd0d7351170753542dd3bcb1b3d9c8caee44c12d [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>