Re: [PATCH] common: Kconfig.boot: add config SPL_FIT_RSASSA_PSS

2021-10-26 Thread Tom Rini
On Fri, Oct 15, 2021 at 11:35:03AM +0200, Philippe Reynes wrote:

> The padding pss is only supported on u-boot and tools since
> commit 2bbed3ff8c7f ("image: Use Kconfig to enable FIT_RSASSA_PSS on host")
> 
> This commit adds the config SPL_FIT_RSASSA_PSS to support
> the padding pss in the SPL.
> 
> Signed-off-by: Philippe Reynes 
> Reviewed-by: Simon Glass 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Re: [PATCH] common: Kconfig.boot: add config SPL_FIT_RSASSA_PSS

2021-10-24 Thread Simon Glass
On Fri, 15 Oct 2021 at 03:35, Philippe Reynes
 wrote:
>
> The padding pss is only supported on u-boot and tools since
> commit 2bbed3ff8c7f ("image: Use Kconfig to enable FIT_RSASSA_PSS on host")
>
> This commit adds the config SPL_FIT_RSASSA_PSS to support
> the padding pss in the SPL.
>
> Signed-off-by: Philippe Reynes 
> ---
>  common/Kconfig.boot | 7 +++
>  1 file changed, 7 insertions(+)

Reviewed-by: Simon Glass 


[PATCH] common: Kconfig.boot: add config SPL_FIT_RSASSA_PSS

2021-10-15 Thread Philippe Reynes
The padding pss is only supported on u-boot and tools since
commit 2bbed3ff8c7f ("image: Use Kconfig to enable FIT_RSASSA_PSS on host")

This commit adds the config SPL_FIT_RSASSA_PSS to support
the padding pss in the SPL.

Signed-off-by: Philippe Reynes 
---
 common/Kconfig.boot | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/common/Kconfig.boot b/common/Kconfig.boot
index 9b84a8d005..c948d58094 100644
--- a/common/Kconfig.boot
+++ b/common/Kconfig.boot
@@ -175,6 +175,13 @@ config SPL_FIT_SIGNATURE_MAX_SIZE
  device memory. Assure this size does not extend past expected storage
  space.
 
+config SPL_FIT_RSASSA_PSS
+   bool "Support rsassa-pss signature scheme of FIT image contents in SPL"
+   depends on SPL_FIT_SIGNATURE
+   help
+ Enable this to support the pss padding algorithm as described
+ in the rfc8017 (https://tools.ietf.org/html/rfc8017) in SPL.
+
 config SPL_LOAD_FIT
bool "Enable SPL loading U-Boot as a FIT (basic fitImage features)"
select SPL_FIT
-- 
2.17.1