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.
Paul HENRYS (6): rsa: Add rsa_verify_openssl() to use openssl for host builds image: Add an inline declaration of unmap_sysmem() boot: Add support of the pre-load signature for host tools tools: Add preload_check_sign to authenticate images with a pre-load configs: Enable the pre-load signature in tools-only_defconfig binman: Authenticate the image when testing the preload signature boot/image-pre-load.c | 57 ++++++++++++- configs/tools-only_defconfig | 3 +- include/image.h | 18 ++++ lib/rsa/rsa-verify.c | 5 ++ tools/.gitignore | 1 + tools/Kconfig | 5 ++ tools/Makefile | 5 ++ tools/binman/ftest.py | 15 ++++ tools/image-host.c | 141 ++++++++++++++++++++++++++++++ tools/mkimage.h | 4 + tools/preload_check_sign.c | 161 +++++++++++++++++++++++++++++++++++ 11 files changed, 412 insertions(+), 3 deletions(-) create mode 100644 tools/preload_check_sign.c -- 2.43.0