diff options
| author | Simon Glass <[email protected]> | 2021-07-14 17:05:31 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-07-16 12:58:55 -0400 |
| commit | ad74aed11e1dfe39b7f32dd855859abaf51d33f0 (patch) | |
| tree | b06b66babbe8c7860cebad5e558e65d96707003c /common | |
| parent | f5bc9c25f3159db2e420cdcff974980a5258a44f (diff) | |
image: Rename CONFIG_FIT_ENABLE_RSASSA_PSS_SUPPORT
Drop the ENABLE and SUPPORT parts of this, which are redundant.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Alexandru Gagniuc <[email protected]>
Signed-off-by: Alexandru Gagniuc <[email protected]>
Diffstat (limited to 'common')
| -rw-r--r-- | common/Kconfig.boot | 2 | ||||
| -rw-r--r-- | common/image-sig.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/common/Kconfig.boot b/common/Kconfig.boot index d28ce96a28e..ae3f2b6f62b 100644 --- a/common/Kconfig.boot +++ b/common/Kconfig.boot @@ -103,7 +103,7 @@ config FIT_SIGNATURE_MAX_SIZE device memory. Assure this size does not extend past expected storage space. -config FIT_ENABLE_RSASSA_PSS_SUPPORT +config FIT_RSASSA_PSS bool "Support rsassa-pss signature scheme of FIT image contents" depends on FIT_SIGNATURE default n diff --git a/common/image-sig.c b/common/image-sig.c index 0f8e592aba7..8b5cecbfa43 100644 --- a/common/image-sig.c +++ b/common/image-sig.c @@ -99,12 +99,12 @@ struct padding_algo padding_algos[] = { .name = "pkcs-1.5", .verify = padding_pkcs_15_verify, }, -#ifdef CONFIG_FIT_ENABLE_RSASSA_PSS_SUPPORT +#ifdef CONFIG_FIT_RSASSA_PSS { .name = "pss", .verify = padding_pss_verify, } -#endif /* CONFIG_FIT_ENABLE_RSASSA_PSS_SUPPORT */ +#endif /* CONFIG_FIT_RSASSA_PSS */ }; struct checksum_algo *image_get_checksum_algo(const char *full_name) |
