<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/lib/mbedtls/Makefile, 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/Makefile?h=v2025.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/lib/mbedtls/Makefile?h=v2025.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2024-11-13T01:09:52Z</updated>
<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>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>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>
<entry>
<title>mbedtls: add digest shim layer for MbedTLS</title>
<updated>2024-10-14T23:58:31Z</updated>
<author>
<name>Raymond Mao</name>
<email>raymond.mao@linaro.org</email>
</author>
<published>2024-10-03T21:50:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bdc3f44a6bf4de61d99c818b3e8e71b07a9eea52'/>
<id>urn:sha1:bdc3f44a6bf4de61d99c818b3e8e71b07a9eea52</id>
<content type='text'>
Implement digest shim layer on top of MbedTLS crypto library.
Introduce &lt;alg&gt;_MBEDTLS kconfig for MbedTLS crypto implementations.

Signed-off-by: Raymond Mao &lt;raymond.mao@linaro.org&gt;
</content>
</entry>
<entry>
<title>mbedtls: add mbedtls into the build system</title>
<updated>2024-10-14T23:58:12Z</updated>
<author>
<name>Raymond Mao</name>
<email>raymond.mao@linaro.org</email>
</author>
<published>2024-10-03T21:50:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=13de8483388c8ca2feed74de229540b0b3822025'/>
<id>urn:sha1:13de8483388c8ca2feed74de229540b0b3822025</id>
<content type='text'>
Port mbedtls with adapted libc header files.
Add mbedtls default config header file.
Optimize mbedtls default config by disabling unused features to
reduce the target size.
Add mbedtls kbuild makefile.
Add Kconfig skeleton and config submenu entry for selecting
crypto libraries between mbedtls and legacy ones.
Add the mbedtls include directories into the build system.
Port u-boot hash functions as MbedTLS crypto alternatives and set
it as default.

Subsequent patches will separate those Kconfigs into pairs of
_LEGACY and _MBEDTLS for controlling the implementations of legacy
crypto libraries and MbedTLS ones respectively.

The motivation of moving and adapting *INT* macros from kernel.h
to limits.h is to fulfill the MbedTLS building requirement.
The conditional compilation statements in MbedTLS expects the
*INT* macros as constant expressions, thus expressions like
`((int)(~0U &gt;&gt; 1))` will not work.

Prerequisite
------------

This patch series requires mbedtls git repo to be added as a
subtree to the main U-Boot repo via:

$ git subtree add --prefix lib/mbedtls/external/mbedtls \
      https://github.com/Mbed-TLS/mbedtls.git \
      v3.6.0 --squash

Moreover, due to the Windows-style files from mbedtls git repo,
we need to convert the CRLF endings to LF and do a commit manually:

$ git add --renormalize .
$ git commit

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