<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/lib/mbedtls, branch v2025.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/lib/mbedtls?h=v2025.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/lib/mbedtls?h=v2025.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2024-12-06T23:47:23Z</updated>
<entry>
<title>mbedtls: remove MBEDTLS_HAVE_TIME</title>
<updated>2024-12-06T23:47:23Z</updated>
<author>
<name>Ilias Apalodimas</name>
<email>ilias.apalodimas@linaro.org</email>
</author>
<published>2024-12-06T10:56:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=45f05f681224d88d1b170063001b59edc8fc24cf'/>
<id>urn:sha1:45f05f681224d88d1b170063001b59edc8fc24cf</id>
<content type='text'>
When MbedTLS TLS features were added MBEDTLS_HAVE_TIME was defined as part
of enabling https:// support. However that pointed to the wrong function
which could crash if it received a NULL pointer.

Looking closer that function is not really needed, as it only seems to
increase the RNG entropy by using 4b of the current time and date.
The reason that was enabled is that lwIP was unconditionally requiring it,
although it's configurable and can be turned off.

Since lwIP doesn't use that field anywhere else, make it conditional and
disable it from our config.

Fixes: commit a564f5094f62 ("mbedtls: Enable TLS 1.2 support")
Reported-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
Signed-off-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
Reviewed-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Acked-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
</content>
</entry>
<entry>
<title>mbedtls: Enable TLS 1.2 support</title>
<updated>2024-11-13T01:09:52Z</updated>
<author>
<name>Ilias Apalodimas</name>
<email>ilias.apalodimas@linaro.org</email>
</author>
<published>2024-11-10T08:28:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a564f5094f62e40cf758e391b5213e3924d56f4d'/>
<id>urn:sha1:a564f5094f62e40cf758e391b5213e3924d56f4d</id>
<content type='text'>
Since lwIP and mbedTLS have been merged we can tweak the config options
and enable TLS1.2 support. Add RSA and ECDSA by default and enable
enough block cipher modes of operation to be comatible with modern
TLS requirements and webservers

Reviewed-by: Raymond Mao &lt;raymond.mao@linaro.org&gt;
Acked-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
Signed-off-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</content>
</entry>
<entry>
<title>mbedtls: fix defects in coverity scan</title>
<updated>2024-10-18T20:18:12Z</updated>
<author>
<name>Raymond Mao</name>
<email>raymond.mao@linaro.org</email>
</author>
<published>2024-10-16T23:48:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7f453771528160f0401a8cb7cd871c32e56f63f2'/>
<id>urn:sha1:7f453771528160f0401a8cb7cd871c32e56f63f2</id>
<content type='text'>
Fixes of unreleased buffer, deadcode and wrong variable type detected
by coverity scan.

Addresses-Coverity-ID: 510809:  Resource leaks  (RESOURCE_LEAK)
Addresses-Coverity-ID: 510806:  Control flow issues  (DEADCODE)
Addresses-Coverity-ID: 510794 Control flow issues  (NO_EFFECT)

Signed-off-by: Raymond Mao &lt;raymond.mao@linaro.org&gt;
</content>
</entry>
<entry>
<title>asn1_decoder: add build options for ASN1 decoder</title>
<updated>2024-10-14T23:58:51Z</updated>
<author>
<name>Raymond Mao</name>
<email>raymond.mao@linaro.org</email>
</author>
<published>2024-10-03T21:50:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ab58c46584f3aafd47f7c3c123ef96e7c44e873a'/>
<id>urn:sha1:ab58c46584f3aafd47f7c3c123ef96e7c44e873a</id>
<content type='text'>
When building with MbedTLS, we are using MbedTLS to decode ASN1 data
for x509, pkcs7 and mscode.
Introduce _LEGACY and _MBEDTLS kconfigs for ASN1 decoder legacy and
MbedTLS implementations respectively.

Signed-off-by: Raymond Mao &lt;raymond.mao@linaro.org&gt;
Reviewed-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</content>
</entry>
<entry>
<title>mbedtls: add RSA helper layer on MbedTLS</title>
<updated>2024-10-14T23:58:50Z</updated>
<author>
<name>Raymond Mao</name>
<email>raymond.mao@linaro.org</email>
</author>
<published>2024-10-03T21:50:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1df80a4f5f7868101692c371b9185c01a99714b5'/>
<id>urn:sha1:1df80a4f5f7868101692c371b9185c01a99714b5</id>
<content type='text'>
Add RSA helper layer on top on MbedTLS PK and RSA library.
Introduce _LEGACY and _MBEDTLS kconfigs for RSA helper legacy and
MbedTLS implementations respectively.

Signed-off-by: Raymond Mao &lt;raymond.mao@linaro.org&gt;
Acked-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</content>
</entry>
<entry>
<title>lib/crypto: Adapt mscode_parser to MbedTLS</title>
<updated>2024-10-14T23:58:49Z</updated>
<author>
<name>Raymond Mao</name>
<email>raymond.mao@linaro.org</email>
</author>
<published>2024-10-03T21:50:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=513a15db0dba24bc5e5dad971a2be1a4831a0037'/>
<id>urn:sha1:513a15db0dba24bc5e5dad971a2be1a4831a0037</id>
<content type='text'>
Previous patch has introduced MbedTLS porting layer for mscode parser,
here to adjust the header and makefiles accordingly.
Adding _LEGACY Kconfig for legacy mscode implementation.

Signed-off-by: Raymond Mao &lt;raymond.mao@linaro.org&gt;
</content>
</entry>
<entry>
<title>mbedtls: add MSCode parser porting layer</title>
<updated>2024-10-14T23:58:48Z</updated>
<author>
<name>Raymond Mao</name>
<email>raymond.mao@linaro.org</email>
</author>
<published>2024-10-03T21:50:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=65a7b48d5a1abb9439e8f5afaaf1b9643b08ed27'/>
<id>urn:sha1:65a7b48d5a1abb9439e8f5afaaf1b9643b08ed27</id>
<content type='text'>
Add porting layer for MSCode on top of MbedTLS ASN1 library.
Introduce _MBEDTLS kconfigs for MSCode MbedTLS implementation.

Signed-off-by: Raymond Mao &lt;raymond.mao@linaro.org&gt;
Acked-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</content>
</entry>
<entry>
<title>mbedtls: add PKCS7 parser porting layer</title>
<updated>2024-10-14T23:58:46Z</updated>
<author>
<name>Raymond Mao</name>
<email>raymond.mao@linaro.org</email>
</author>
<published>2024-10-03T21:50:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7de0d155cce7006167089b753abb14c0dc83c0e4'/>
<id>urn:sha1:7de0d155cce7006167089b753abb14c0dc83c0e4</id>
<content type='text'>
Add porting layer for PKCS7 parser on top of MbedTLS PKCS7 library.
Introduce _LEGACY and _MBEDTLS kconfigs for PKCS7 parser legacy and
MbedTLS implementations respectively.

Signed-off-by: Raymond Mao &lt;raymond.mao@linaro.org&gt;
Reviewed-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</content>
</entry>
<entry>
<title>mbedtls: add X509 cert parser porting layer</title>
<updated>2024-10-14T23:58:44Z</updated>
<author>
<name>Raymond Mao</name>
<email>raymond.mao@linaro.org</email>
</author>
<published>2024-10-03T21:50:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=70002cec5f1c43c4a57c802b5149a1f320c5eaac'/>
<id>urn:sha1:70002cec5f1c43c4a57c802b5149a1f320c5eaac</id>
<content type='text'>
Add porting layer for X509 cert parser on top of MbedTLS X509
library.
Introduce _LEGACY and _MBEDTLS kconfigs for X509 cert parser legacy
and MbedTLS implementations respectively.

Signed-off-by: Raymond Mao &lt;raymond.mao@linaro.org&gt;
</content>
</entry>
<entry>
<title>mbedtls: add public key porting layer</title>
<updated>2024-10-14T23:58:43Z</updated>
<author>
<name>Raymond Mao</name>
<email>raymond.mao@linaro.org</email>
</author>
<published>2024-10-03T21:50:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bfbf3ab6151ff22e2c6f90cf4cff92758b84e66a'/>
<id>urn:sha1:bfbf3ab6151ff22e2c6f90cf4cff92758b84e66a</id>
<content type='text'>
Add porting layer for public key on top of MbedTLS X509 library.
Introduce _LEGACY and _MBEDTLS kconfigs for public key legacy and
MbedTLS implementations respectively.

Signed-off-by: Raymond Mao &lt;raymond.mao@linaro.org&gt;
Reviewed-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
</content>
</entry>
</feed>
