mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Merge patch series "rsa: Add rsa_verify_openssl() to use openssl for host builds"
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/20250224212055.2992852-1-paul.henrys_ext@softathome.com
This commit is contained in:
@@ -565,6 +565,11 @@ int rsa_verify(struct image_sign_info *info,
|
||||
uint8_t hash[info->crypto->key_len];
|
||||
int ret;
|
||||
|
||||
#ifdef USE_HOSTCC
|
||||
if (!info->fdt_blob)
|
||||
return rsa_verify_openssl(info, region, region_count, sig, sig_len);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Verify that the checksum-length does not exceed the
|
||||
* rsa-signature-length
|
||||
|
||||
Reference in New Issue
Block a user