Skip to content

Commit 53baf00

Browse files
authored
Merge branch 'zephyrproject-rtos:zephyr' into zephyr
2 parents 68c0da7 + fb36f3f commit 53baf00

File tree

1,348 files changed

+63104
-53954
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,348 files changed

+63104
-53954
lines changed

.github/pull_request_template.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ Please write a few sentences describing the overall goals of the pull request's
99
Please tick as appropriate and edit the reasons (e.g.: "backport: not needed because this is a new feature")
1010

1111
- [ ] **changelog** provided, or not required
12-
- [ ] **backport** done, or not required
12+
- [ ] **3.6 backport** done, or not required
13+
- [ ] **2.28 backport** done, or not required
1314
- [ ] **tests** provided, or not required
1415

1516

@@ -18,3 +19,10 @@ Please tick as appropriate and edit the reasons (e.g.: "backport: not needed bec
1819

1920
Please refer to the [contributing guidelines](https://github.com/Mbed-TLS/mbedtls/blob/development/CONTRIBUTING.md), especially the
2021
checklist for PR contributors.
22+
23+
Help make review efficient:
24+
* Multiple simple commits
25+
- please structure your PR into a series of small commits, each of which does one thing
26+
* Avoid force-push
27+
- please do not force-push to update your PR - just add new commit(s)
28+
* See our [Guidelines for Contributors](https://mbed-tls.readthedocs.io/en/latest/reviews/review-for-contributors/) for more details about the review process.

.gitignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
seedfile
33
# MBEDTLS_PSA_INJECT_ENTROPY seed file created by the test framework
44
00000000ffffff52.psa_its
5+
# Log files created by all.sh to reduce the logs in case a component runs
6+
# successfully
7+
quiet-make.*
58

69
# CMake build artifacts:
710
CMakeCache.txt
@@ -63,5 +66,10 @@ massif-*
6366
/cscope*.out
6467
/tags
6568

66-
# Clangd compilation database
69+
# clangd compilation database
6770
compile_commands.json
71+
# clangd index files
72+
/.cache/clangd/index/
73+
74+
# VScode folder to store local debug files and configurations
75+
.vscode

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "framework"]
2+
path = framework
3+
url = https://github.com/Mbed-TLS/mbedtls-framework

.readthedocs.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
# Required
66
version: 2
77

8+
# Include the framework submodule in the build
9+
submodules:
10+
include:
11+
- framework
12+
813
# Set the version of Python and other tools you might need
914
build:
1015
os: ubuntu-20.04

3rdparty/Makefile.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
THIRDPARTY_DIR = $(dir $(word 2, $(MAKEFILE_LIST)))
1+
THIRDPARTY_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
22
include $(THIRDPARTY_DIR)/everest/Makefile.inc
33
include $(THIRDPARTY_DIR)/p256-m/Makefile.inc

3rdparty/everest/Makefile.inc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
THIRDPARTY_INCLUDES+=-I../3rdparty/everest/include -I../3rdparty/everest/include/everest -I../3rdparty/everest/include/everest/kremlib
1+
THIRDPARTY_INCLUDES+=-I$(THIRDPARTY_DIR)/everest/include -I$(THIRDPARTY_DIR)/everest/include/everest -I$(THIRDPARTY_DIR)/everest/include/everest/kremlib
22

33
THIRDPARTY_CRYPTO_OBJECTS+= \
4-
../3rdparty/everest/library/everest.o \
5-
../3rdparty/everest/library/x25519.o \
6-
../3rdparty/everest/library/Hacl_Curve25519_joined.o
4+
$(THIRDPARTY_DIR)/everest/library/everest.o \
5+
$(THIRDPARTY_DIR)/everest/library/x25519.o \
6+
$(THIRDPARTY_DIR)/everest/library/Hacl_Curve25519_joined.o

3rdparty/p256-m/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Makefile

3rdparty/p256-m/Makefile.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
THIRDPARTY_INCLUDES+=-I../3rdparty/p256-m/p256-m/include -I../3rdparty/p256-m/p256-m/include/p256-m -I../3rdparty/p256-m/p256-m_driver_interface
1+
THIRDPARTY_INCLUDES+=-I$(THIRDPARTY_DIR)/p256-m/p256-m/include -I$(THIRDPARTY_DIR)/p256-m/p256-m/include/p256-m -I$(THIRDPARTY_DIR)/p256-m/p256-m_driver_interface
22

33
THIRDPARTY_CRYPTO_OBJECTS+= \
4-
../3rdparty/p256-m//p256-m_driver_entrypoints.o \
5-
../3rdparty/p256-m//p256-m/p256-m.o
4+
$(THIRDPARTY_DIR)/p256-m//p256-m_driver_entrypoints.o \
5+
$(THIRDPARTY_DIR)/p256-m//p256-m/p256-m.o

BRANCHES.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,32 @@
22

33
At any point in time, we have a number of maintained branches, currently consisting of:
44

5-
- The [`master`](https://github.com/Mbed-TLS/mbedtls/tree/master) branch:
5+
- The [`main`](https://github.com/Mbed-TLS/mbedtls/tree/main) branch:
66
this always contains the latest release, including all publicly available
77
security fixes.
88
- The [`development`](https://github.com/Mbed-TLS/mbedtls/tree/development) branch:
9-
this is where the current major version of Mbed TLS (version 3.x) is being
10-
prepared. It has API changes that make it incompatible with Mbed TLS 2.x,
9+
this is where the next major version of Mbed TLS (version 4.0) is being
10+
prepared. It has API changes that make it incompatible with Mbed TLS 3.x,
1111
as well as all the new features and bug fixes and security fixes.
1212
- One or more long-time support (LTS) branches: these only get bug fixes and
13-
security fixes. Currently, the only supported LTS branch is:
14-
[`mbedtls-2.28`](https://github.com/Mbed-TLS/mbedtls/tree/mbedtls-2.28).
13+
security fixes. Currently, the supported LTS branches are:
14+
- [`mbedtls-2.28`](https://github.com/Mbed-TLS/mbedtls/tree/mbedtls-2.28).
15+
- [`mbedtls-3.6`](https://github.com/Mbed-TLS/mbedtls/tree/mbedtls-3.6).
1516

1617
We retain a number of historical branches, whose names are prefixed by `archive/`,
1718
such as [`archive/mbedtls-2.7`](https://github.com/Mbed-TLS/mbedtls/tree/archive/mbedtls-2.7).
1819
These branches will not receive any changes or updates.
1920

2021
We use [Semantic Versioning](https://semver.org/). In particular, we maintain
21-
API compatibility in the `master` branch across minor version changes (e.g.
22+
API compatibility in the `main` branch across minor version changes (e.g.
2223
the API of 3.(x+1) is backward compatible with 3.x). We only break API
2324
compatibility on major version changes (e.g. from 3.x to 4.0). We also maintain
2425
ABI compatibility within LTS branches; see the next section for details.
2526

26-
Every major version will become an LTS branch when the next major version is
27-
released. We may occasionally create LTS branches from other releases at our
28-
discretion.
29-
When a new LTS branch is created, it usually remains supported for three years.
27+
We will make regular LTS releases on an 18-month cycle, each of which will have
28+
a 3 year support lifetime. On this basis, 3.6 LTS (released March 2024) will be
29+
supported until March 2027. The next LTS release will be a 4.x release, which is
30+
planned for September 2025.
3031

3132
## Backwards Compatibility for application code
3233

@@ -102,10 +103,13 @@ CONTRIBUTING](CONTRIBUTING.md#backwards-compatibility).
102103

103104
The following branches are currently maintained:
104105

105-
- [master](https://github.com/Mbed-TLS/mbedtls/tree/master)
106+
- [main](https://github.com/Mbed-TLS/mbedtls/tree/main)
106107
- [`development`](https://github.com/Mbed-TLS/mbedtls/)
108+
- [`mbedtls-3.6`](https://github.com/Mbed-TLS/mbedtls/tree/mbedtls-3.6)
109+
maintained until March 2027, see
110+
<https://github.com/Mbed-TLS/mbedtls/releases/tag/v3.6.1>.
107111
- [`mbedtls-2.28`](https://github.com/Mbed-TLS/mbedtls/tree/mbedtls-2.28)
108-
maintained until at least the end of 2024, see
109-
<https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.7>.
112+
maintained until the end of 2024, see
113+
<https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.9>.
110114

111115
Users are urged to always use the latest version of a maintained branch.

BUGS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Known issues in Mbed TLS are [tracked on GitHub](https://github.com/Mbed-TLS/mbe
77
If you think you've found a bug in Mbed TLS, please follow these steps:
88

99
1. Make sure you're using the latest version of a
10-
[maintained branch](BRANCHES.md): `master`, `development`,
10+
[maintained branch](BRANCHES.md): `main`, `development`,
1111
or a long-time support branch.
1212
2. Check [GitHub](https://github.com/Mbed-TLS/mbedtls/issues) to see if
1313
your issue has already been reported. If not, …

0 commit comments

Comments
 (0)