<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/tools/image-host.c, branch v2025.07</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/tools/image-host.c?h=v2025.07</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/tools/image-host.c?h=v2025.07'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2025-06-22T16:16:39Z</updated>
<entry>
<title>lib: rsa: fix compilation error without openssl</title>
<updated>2025-06-22T16:16:39Z</updated>
<author>
<name>Shiji Yang</name>
<email>yangshiji66@outlook.com</email>
</author>
<published>2025-06-19T16:38:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=961e260cdcd01d68c8dae87eef67e116f1a67aed'/>
<id>urn:sha1:961e260cdcd01d68c8dae87eef67e116f1a67aed</id>
<content type='text'>
The symbol TOOLS_IMAGE_PRE_LOAD doesn't depend on TOOLS_LIBCRYPTO.
If we choose to build tools without openssl, rsa_verify_openssl()
will attempt to call the unavailable openssl library functions.

Fixes: 942c8c8e6697 ("rsa: Add rsa_verify_openssl() to use openssl for host builds")
Signed-off-by: Shiji Yang &lt;yangshiji66@outlook.com&gt;
</content>
</entry>
<entry>
<title>Merge patch series "rsa: Add rsa_verify_openssl() to use openssl for host builds"</title>
<updated>2025-02-28T22:51:10Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2025-02-28T22:51:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5bc4240eb65c378eeca3f45069eeb125cd01ceed'/>
<id>urn:sha1:5bc4240eb65c378eeca3f45069eeb125cd01ceed</id>
<content type='text'>
Paul HENRYS &lt;paul.henrys_ext@softathome.com&gt; 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
</content>
</entry>
<entry>
<title>rsa: Add rsa_verify_openssl() to use openssl for host builds</title>
<updated>2025-02-28T22:51:01Z</updated>
<author>
<name>Paul HENRYS</name>
<email>paul.henrys_ext@softathome.com</email>
</author>
<published>2025-02-24T21:20:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=942c8c8e669739d2e8dec67a7ed90158defc93ed'/>
<id>urn:sha1:942c8c8e669739d2e8dec67a7ed90158defc93ed</id>
<content type='text'>
rsa_verify_openssl() is used in lib/rsa/rsa-verify.c to authenticate data
when building host tools.

Signed-off-by: Paul HENRYS &lt;paul.henrys_ext@softathome.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'v2025.04-rc3' into next</title>
<updated>2025-02-24T23:15:14Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2025-02-24T23:15:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3ecda19009ebbe46a64b0629f8b64173c7a551c0'/>
<id>urn:sha1:3ecda19009ebbe46a64b0629f8b64173c7a551c0</id>
<content type='text'>
Prepare v2025.04-rc3
</content>
</entry>
<entry>
<title>Revert "Merge patch series "Add preload_check_sign tool""</title>
<updated>2025-02-24T16:32:04Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2025-02-24T16:32:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=523a56cc54637a0c04a1e87c262599faf26d7d69'/>
<id>urn:sha1:523a56cc54637a0c04a1e87c262599faf26d7d69</id>
<content type='text'>
This reverts commit c8750efe02c20725388dd4279896aaf306acfad4, reversing
changes made to 8c6cf8aeea7e57ca686de8b765e4baf3a7ef1fa7.

Unfortunately these changes do not build on macOS hosts.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>Merge patch series "Add preload_check_sign tool"</title>
<updated>2025-02-21T17:37:27Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2025-02-21T14:34:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c8750efe02c20725388dd4279896aaf306acfad4'/>
<id>urn:sha1:c8750efe02c20725388dd4279896aaf306acfad4</id>
<content type='text'>
Paul HENRYS &lt;paul.henrys_ext@softathome.com&gt; 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
</content>
</entry>
<entry>
<title>rsa: Add rsa_verify_openssl() to use openssl for host builds</title>
<updated>2025-02-21T14:34:21Z</updated>
<author>
<name>Paul HENRYS</name>
<email>paul.henrys_ext@softathome.com</email>
</author>
<published>2025-02-12T09:31:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=77718437862ee849bd8818c482208aaa92363c8d'/>
<id>urn:sha1:77718437862ee849bd8818c482208aaa92363c8d</id>
<content type='text'>
rsa_verify_openssl() is used in lib/rsa/rsa-verify.c to authenticate data
when building host tools.

Signed-off-by: Paul HENRYS &lt;paul.henrys_ext@softathome.com&gt;
</content>
</entry>
<entry>
<title>tools: use cryptographically safe RNG</title>
<updated>2025-02-18T18:30:32Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2025-02-11T13:55:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=50e8089c1de107137c7a30fd5691ebd449f42e2d'/>
<id>urn:sha1:50e8089c1de107137c7a30fd5691ebd449f42e2d</id>
<content type='text'>
The PRNG implementing the random() function only has 2^31 states and
therefore is unsafe to use for cryptography. Use arc4random() instead.

Fixes: cc34f04efd63 ("tools: image-host.c: use random instead of rand")
Addresses-Coverity-ID: 312953 Calling risky function
Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
</content>
</entry>
<entry>
<title>tools: fix NULL_AFTER_DEREF in image-host.c</title>
<updated>2025-02-11T14:17:22Z</updated>
<author>
<name>Anton Moryakov</name>
<email>ant.v.moryakov@gmail.com</email>
</author>
<published>2025-01-30T13:42:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=25c03648e9faf334d5f97ab8a37b3b199a60fcfb'/>
<id>urn:sha1:25c03648e9faf334d5f97ab8a37b3b199a60fcfb</id>
<content type='text'>
Report of the static analyzer:
1. NULL_AFTER_DEREF Pointer 'str', which is dereferenced at
   image-host.c:688 by calling function 'strdup', is compared to a NULL
   value at image-host.c:691.
2. NULL_AFTER_DEREF Pointer 'list', which is dereferenced at
   image-host.c:689, is compared to a NULL value at image-host.c:691.

Corrections explained:
1. Checking for NULL before using pointers: The if (!list || !str) check
   is now performed before calling strdup and realloc, which prevents
   null pointer dereferences.
2. Checking the result of strdup: strdup can return NULL if memory
   allocation fails. This also needs to be checked.
3. Checking the result of realloc: If realloc returns NULL, then memory
   has not been allocated and dup must be freed to avoid memory leaks.

Triggers found by static analyzer Svace.

Signed-off-by: Anton Moryakov &lt;ant.v.moryakov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge patch series "upl: Prerequite patches for updated spec"</title>
<updated>2025-01-22T23:08:47Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2025-01-22T22:08:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a3b71cc6f5cc74d4edc5808790a3d2999ea3f7fe'/>
<id>urn:sha1:a3b71cc6f5cc74d4edc5808790a3d2999ea3f7fe</id>
<content type='text'>
Simon Glass &lt;sjg@chromium.org&gt; says:

The current UPL spec[1] has been tidied up and improved over the last
year, since U-Boot's original UPL support was written.

This series includes some prerequisite patches needed for the real UPL
patches. It is split from [2]

[1] https://github.com/UniversalPayload/spec/tree/3f1450d
[2] https://patchwork.ozlabs.org/project/uboot/list/?series=438574&amp;state=*

Link: https://lore.kernel.org/r/20250111000029.245022-1-sjg@chromium.org
</content>
</entry>
</feed>
