Merge patch series "Add preload_check_sign tool"

Paul HENRYS <paul.henrys_ext@softathome.com> says:

This serie of patches adds a new tool to authenticate files signed
with a preload header.
This tool is also used in the tests to actually verify the
authenticity of the file signed with such a preload header.

Link: https://lore.kernel.org/r/20250212093126.3722186-1-paul.henrys_ext@softathome.com
This commit is contained in:
Tom Rini
2025-02-21 08:34:34 -06:00
committed by Simon Glass
parent e79b61ff1a
commit 915972962f

View File

@@ -1503,7 +1503,7 @@ int rsa_verify_openssl(struct image_sign_info *info,
goto out;
}
for (i=0 ; i < region_count ; ++i) {
for (i = 0; i < region_count; ++i) {
if (EVP_DigestVerifyUpdate(ctx, region[i].data,
region[i].size) <= 0) {
ret = -EINVAL;