-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to mbedtls 2.28.0 #173
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
fceaf68
replace vendor directory with mbedtls-2.28.0
MihirLuthra 60d5c27
Vendor Change:-
34448f9
Adding mpi_force_c_code feature
raoulstrackx f5452d0
update build headers
MihirLuthra 8fa6dd4
update build config
MihirLuthra ca5e364
bump version to 2.28.0
MihirLuthra 804fb6d
update Cargo.lock files
MihirLuthra 96f37bd
use appropriate hash len in sign verify tests
MihirLuthra 112a267
use appropriate hash len in sign verify tests
6243033
define MBEDTLS_CHECK_RETURN_WARNING
MihirLuthra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Maintained branches | ||
|
||
At any point in time, we have a number of maintained branches consisting of: | ||
|
||
- The [`master`](https://github.com/ARMmbed/mbedtls/tree/master) branch: | ||
this always contains the latest release, including all publicly available | ||
security fixes. | ||
- The [`development`](https://github.com/ARMmbed/mbedtls/tree/development) branch: | ||
this is where new features land, | ||
as well as bug fixes and security fixes. | ||
- One or more long-time support (LTS) branches: | ||
these only get bug fixes and security fixes. | ||
|
||
We use [Semantic Versioning](https://semver.org/). In particular, we maintain | ||
API compatibility in the `master` branch between major version changes. We | ||
also maintain ABI compatibility within LTS branches; see the next section for | ||
details. | ||
|
||
## Backwards Compatibility | ||
|
||
We maintain API compatibility in released versions of Mbed TLS. If you have | ||
code that's working and secure with Mbed TLS x.y.z and does not rely on | ||
undocumented features, then you should be able to re-compile it without | ||
modification with any later release x.y'.z' with the same major version | ||
number, and your code will still build, be secure, and work. | ||
|
||
There are rare exceptions: code that was relying on something that became | ||
insecure in the meantime (for example, crypto that was found to be weak) may | ||
need to be changed. In case security comes in conflict with backwards | ||
compatibility, we will put security first, but always attempt to provide a | ||
compatibility option. | ||
|
||
For the LTS branches, additionally we try very hard to also maintain ABI | ||
compatibility (same definition as API except with re-linking instead of | ||
re-compiling) and to avoid any increase in code size or RAM usage, or in the | ||
minimum version of tools needed to build the code. The only exception, as | ||
before, is in case those goals would conflict with fixing a security issue, we | ||
will put security first but provide a compatibility option. (So far we never | ||
had to break ABI compatibility in an LTS branch, but we occasionally had to | ||
increase code size for a security fix.) | ||
|
||
For contributors, see the [Backwards Compatibility section of | ||
CONTRIBUTING](CONTRIBUTING.md#cackwords-compatibility). | ||
|
||
## Current Branches | ||
|
||
The following branches are currently maintained: | ||
|
||
- [master](https://github.com/ARMmbed/mbedtls/tree/master) | ||
- [`development`](https://github.com/ARMmbed/mbedtls/) | ||
- [`mbedtls-2.28`](https://github.com/ARMmbed/mbedtls/tree/mbedtls-2.28) | ||
maintained until at least the end of 2024. | ||
|
||
Users are urged to always use the latest version of a maintained branch. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
## Known issues | ||
|
||
Known issues in Mbed TLS are [tracked on GitHub](https://github.com/ARMmbed/mbedtls/issues). | ||
|
||
## Reporting a bug | ||
|
||
If you think you've found a bug in Mbed TLS, please follow these steps: | ||
|
||
1. Make sure you're using the latest version of a | ||
[maintained branch](BRANCHES.md): `master`, `development`, | ||
or a long-time support branch. | ||
2. Check [GitHub](https://github.com/ARMmbed/mbedtls/issues) to see if | ||
your issue has already been reported. If not, … | ||
3. If the issue is a security risk (for example: buffer overflow, | ||
data leak), please report it confidentially as described in | ||
[`SECURITY.md`](SECURITY.md). If not, … | ||
4. Please [create an issue on on GitHub](https://github.com/ARMmbed/mbedtls/issues). | ||
|
||
Please do not use GitHub for support questions. If you want to know | ||
how to do something with Mbed TLS, please see [`SUPPORT.md`](SUPPORT.md) for available documentation and support channels. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing MBEDTLS_IGNORE_RETURN
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed, not adding this as this is a function-like macro (although, I am less knowledgeable about why). For reference: