Message ID | 20211117175215.24262-4-philippe.reynes@softathome.com |
---|---|
State | Changes Requested |
Delegated to: | Tom Rini |
Headers | show |
Series | image: add a stage pre-load | expand |
On Wed, 17 Nov 2021 at 10:52, Philippe Reynes <philippe.reynes@softathome.com> wrote: > > This commit adds the option SPL_RSA_VERIFY_WITH_PKEY. > > Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> > --- > lib/rsa/Kconfig | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/lib/rsa/Kconfig b/lib/rsa/Kconfig > index 469596abe7..608d51c428 100644 > --- a/lib/rsa/Kconfig > +++ b/lib/rsa/Kconfig > @@ -46,6 +46,14 @@ config RSA_VERIFY_WITH_PKEY > directly specified in image_sign_info, where all the necessary > key properties will be calculated on the fly in verification code. > > +config SPL_RSA_VERIFY_WITH_PKEY > + bool "Execute RSA verification without key parameters from FDT within SPL" > + depends on SPL > + select SPL_RSA_VERIFY > + select SPL_ASYMMETRIC_KEY_TYPE > + select SPL_ASYMMETRIC_PUBLIC_KEY_SUBTYPE > + select SPL_RSA_PUBLIC_KEY_PARSER missing help > + > config RSA_SOFTWARE_EXP > bool "Enable driver for RSA Modular Exponentiation in software" > depends on DM > -- > 2.17.1 >
diff --git a/lib/rsa/Kconfig b/lib/rsa/Kconfig index 469596abe7..608d51c428 100644 --- a/lib/rsa/Kconfig +++ b/lib/rsa/Kconfig @@ -46,6 +46,14 @@ config RSA_VERIFY_WITH_PKEY directly specified in image_sign_info, where all the necessary key properties will be calculated on the fly in verification code. +config SPL_RSA_VERIFY_WITH_PKEY + bool "Execute RSA verification without key parameters from FDT within SPL" + depends on SPL + select SPL_RSA_VERIFY + select SPL_ASYMMETRIC_KEY_TYPE + select SPL_ASYMMETRIC_PUBLIC_KEY_SUBTYPE + select SPL_RSA_PUBLIC_KEY_PARSER + config RSA_SOFTWARE_EXP bool "Enable driver for RSA Modular Exponentiation in software" depends on DM
This commit adds the option SPL_RSA_VERIFY_WITH_PKEY. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> --- lib/rsa/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+)