boot: don't select non-existent CONFIG_VPL_CRYPTO
PATCH 1/1 boot: don't select non-existent CONFIG_VPL_CRYPTO
Symbol CONFIG_VPL_CRYPTO does not exist.
Don't select it.
--- boot/Kconfig | 1 - 1 file changed, 1 deletion(-)
boot/Kconfig +0 -1
@@ -386,7 +386,6 @@ config VPL_FIT_SIGNATURE default y select FIT_SIGNATURE select VPL_FIT - select VPL_CRYPTO select VPL_HASH imply VPL_RSA imply VPL_RSA_VERIFY
Signature · 1 line
2.51.0
Hi Heinrich,
Quoted 1 line · Heinrich Schuchardt
Symbol
CONFIG_VPL_CRYPTOdoes not exist.
Correct but I have a hunch this was based off of SPL_FIT_SIGNATURE which does require crypto support, so I'm assuming VPL would too.
But this symbol indeed never existed, and even if it did, it wouldn't compile anything else as far as I can tell since drivers/crypto is enabled by default in proper and only if CONFIG_SPL_CRYPTO is set for SPL, and only SPL (checking for !TPL and !VPL)... so something feels unfinished with VPL here to me.
I'm not sure we're improving anything there but I don't think it makes things worse, as such
Thanks!
Quentin
Quoted 9 lines · Quentin Schulz
Hi Heinrich,
Quoted 1 line · Heinrich Schuchardt
Symbol
CONFIG_VPL_CRYPTOdoes not exist.Correct but I have a hunch this was based off of
SPL_FIT_SIGNATUREwhich does require crypto support, so I'm assuming VPL would too.But this symbol indeed never existed, and even if it did, it wouldn't compile anything else as far as I can tell since
drivers/cryptois enabled by default in proper and only ifCONFIG_SPL_CRYPTOis set for SPL, and only SPL (checking for !TPL and !VPL)... so something feels unfinished with VPL here to me.
Quoted 8 lines
I'm not sure we're improving anything there but I don't think it makes things worse, as such
Fixes 4218456b3fac ("vbe: Add Kconfig options for VPL")Reviewed-by Quentin Schulz <[email protected]>Thanks!
Quentin
Thank you for reviewing.
There is a symbol CONFIG_VPL_MBEDTLS_LIB_CRYPTO that might be used but then VPL_FIT_SIGNATURE support would have to depend on MBEDTLS.
Maybe Simon can inform us what his design intention was. Adding a defconfig actually testing VPL_FIT_SIGNATURE would be helpful.
Best regards
Heinrich
Quoted 21 lines · Heinrich Schuchardt
Quoted 9 lines · Quentin Schulz
Hi Heinrich,
Quoted 1 line · Heinrich Schuchardt
Symbol
CONFIG_VPL_CRYPTOdoes not exist.Correct but I have a hunch this was based off of
SPL_FIT_SIGNATUREwhich does require crypto support, so I'm assuming VPL would too.But this symbol indeed never existed, and even if it did, it wouldn't compile anything else as far as I can tell since
drivers/cryptois enabled by default in proper and only ifCONFIG_SPL_CRYPTOis set for SPL, and only SPL (checking for !TPL and !VPL)... so something feels unfinished with VPL here to me.Quoted 8 lines
I'm not sure we're improving anything there but I don't think it makes things worse, as such
Fixes 4218456b3fac ("vbe: Add Kconfig options for VPL")Reviewed-by Quentin Schulz <[email protected]>Thanks!
QuentinThank you for reviewing.
Quoted 7 lines
There is a symbol
CONFIG_VPL_MBEDTLS_LIB_CRYPTOthat might be used but thenVPL_FIT_SIGNATUREsupport would have to depend on MBEDTLS.Maybe Simon can inform us what his design intention was. Adding a defconfig actually testing
VPL_FIT_SIGNATUREwould be helpful.Best regards
Heinrich
There are more non-existent symbols implied by VPL_FIT_SIGNATURE
imply VPL_RSA
imply VPL_RSA_VERIFY
@Tom
I wonder why the VPL feature was suggested if it was never tested or used. Should we remove all of VPL?
Best regards
Heinrich
Hi Heinrich,
Quoted 30 lines · Heinrich Schuchardt
Quoted 21 lines · Heinrich Schuchardt
Quoted 9 lines · Quentin Schulz
Hi Heinrich,
Quoted 1 line · Heinrich Schuchardt
Symbol
CONFIG_VPL_CRYPTOdoes not exist.Correct but I have a hunch this was based off of
SPL_FIT_SIGNATUREwhich does require crypto support, so I'm assuming VPL would too.But this symbol indeed never existed, and even if it did, it wouldn't compile anything else as far as I can tell since
drivers/cryptois enabled by default in proper and only ifCONFIG_SPL_CRYPTOis set for SPL, and only SPL (checking for !TPL and !VPL)... so something feels unfinished with VPL here to me.Quoted 8 lines
I'm not sure we're improving anything there but I don't think it makes things worse, as such
Fixes 4218456b3fac ("vbe: Add Kconfig options for VPL")Reviewed-by Quentin Schulz <[email protected]>Thanks!
QuentinThank you for reviewing.
Quoted 7 lines
There is a symbol
CONFIG_VPL_MBEDTLS_LIB_CRYPTOthat might be used but thenVPL_FIT_SIGNATUREsupport would have to depend on MBEDTLS.Maybe Simon can inform us what his design intention was. Adding a defconfig actually testing
VPL_FIT_SIGNATUREwould be helpful.Best regards
Heinrich
Quoted 8 lines
There are more non-existent symbols implied by
VPL_FIT_SIGNATUREimply
VPL_RSA
implyVPL_RSA_VERIFY@Tom
I wonder why the VPL feature was suggested if it was never tested or used. Should we remove all of VPL?
As far as I remember, VPL was a necessary step to add support for VBE (Verified Boot for Embedded) that Simon was working on. I don't think it got realized entirely (upstream I mean) which may explain the current state of VPL symbols.
Cheers,
Quentin
Hi Quentin,
Quoted 52 lines · Quentin Schulz
Hi Heinrich,
Quoted 38 lines · Heinrich Schuchardt
Quoted 30 lines · Heinrich Schuchardt
Quoted 17 lines · Quentin Schulz
Hi Heinrich,
Quoted 1 line · Heinrich Schuchardt
Symbol
CONFIG_VPL_CRYPTOdoes not exist.Correct but I have a hunch this was based off of
SPL_FIT_SIGNATUREwhich does require crypto support, so I'm assuming VPL would too.But this symbol indeed never existed, and even if it did, it wouldn't compile anything else as far as I can tell since
drivers/cryptois enabled by default in proper and only ifCONFIG_SPL_CRYPTOis set for SPL, and only SPL (checking for !TPL and !VPL)... so something feels unfinished with VPL here to me.I'm not sure we're improving anything there but I don't think it makes things worse, as such
Quoted 6 lines
Fixes 4218456b3fac ("vbe: Add Kconfig options for VPL")Reviewed-by Quentin Schulz <[email protected]>Thanks!
QuentinThank you for reviewing.
There is a symbol
CONFIG_VPL_MBEDTLS_LIB_CRYPTOthat might be used but thenVPL_FIT_SIGNATUREsupport would have to depend on MBEDTLS.Quoted 6 lines
Maybe Simon can inform us what his design intention was. Adding a defconfig actually testing
VPL_FIT_SIGNATUREwould be helpful.Best regards
Heinrich
Quoted 9 lines
There are more non-existent symbols implied by
VPL_FIT_SIGNATUREimply
VPL_RSA
implyVPL_RSA_VERIFY@Tom
I wonder why the VPL feature was suggested if it was never tested or used. Should we remove all of VPL?
Quoted 4 lines
As far as I remember, VPL was a necessary step to add support for VBE (Verified Boot for Embedded) that Simon was working on. I don't think it got realized entirely (upstream I mean) which may explain the current state of VPL symbols.
Heinrich asked me the same thing this morning. From my understanding, the penultimate series was applied but later reverted. The final series was never applied. It's in the Concept tree for now and is running fine on an rk3399 board:
https://concept.u-boot.org/u-boot/u-boot/-/jobs/300379
If there is any interest in getting these two series in I could resend.
Regards,
Simon
Quoted 4 lines · Heinrich Schuchardt
Symbol
CONFIG_VPL_CRYPTOdoes not exist.
Don't select it.
Applied to u-boot/next, thanks!
[1/1] boot: don't select non-existent CONFIG_VPL_CRYPTO
commit: ff1b59c9bd49141efd45d50ddba291820a6ae975
Signature · 1 line
Tom