Skip to content

Commit

Permalink
[mbedtls] update to 2.28.7 (openthread#9835)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwhui authored Feb 7, 2024
1 parent aa8dfe1 commit 869c2de
Show file tree
Hide file tree
Showing 844 changed files with 149,276 additions and 97,742 deletions.
4 changes: 2 additions & 2 deletions third_party/mbedtls/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

## URL

https://github.com/ARMmbed/mbedtls/releases/tag/mbedtls-2.28.0
https://github.com/ARMmbed/mbedtls/releases/tag/mbedtls-2.28.7

## Version

2.28.0
2.28.7

## License

Expand Down
2 changes: 2 additions & 0 deletions third_party/mbedtls/repo/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Classify all '.function' files as C for syntax highlighting purposes
*.function linguist-language=C
2 changes: 1 addition & 1 deletion third_party/mbedtls/repo/.github/issue_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ github issues for questions.
**OS**
Mbed OS|linux|windows|

**mbed TLS build:**
**Mbed TLS build:**
Version: x.x.x or git commit id
OS version: x.x.x
Configuration: please attach config.h file where possible
Expand Down
33 changes: 8 additions & 25 deletions third_party/mbedtls/repo/.github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,19 @@
Notes:
* Pull requests cannot be accepted until the PR follows the [contributing guidelines](../CONTRIBUTING.md). In particular, each commit must have at least one `Signed-off-by:` line from the committer to certify that the contribution is made under the terms of the [Developer Certificate of Origin](../dco.txt).
* This is just a template, so feel free to use/remove the unnecessary things
## Description
A few sentences describing the overall goals of the pull request's commits.

Please write a few sentences describing the overall goals of the pull request's commits.

## Status
**READY/IN DEVELOPMENT/HOLD**

## Requires Backporting
When there is a bug fix, it should be backported to all maintained and supported branches.
Changes do not have to be backported if:
- This PR is a new feature\enhancement
- This PR contains changes in the API. If this is true, and there is a need for the fix to be backported, the fix should be handled differently in the legacy branch

Yes | NO
Which branch?
## Gatekeeper checklist

## Migrations
If there is any API change, what's the incentive and logic for it.
- [ ] **changelog** provided, or not required
- [ ] **backport** done, or not required
- [ ] **tests** provided, or not required

YES | NO

## Additional comments
Any additional information that could be of interest

## Todos
- [ ] Tests
- [ ] Documentation
- [ ] Changelog updated
- [ ] Backported
## Notes for the submitter

Please refer to the [contributing guidelines](../CONTRIBUTING.md), especially the
checklist for PR contributors.

## Steps to test or reproduce
Outline the steps to test or reproduce the PR here.
13 changes: 13 additions & 0 deletions third_party/mbedtls/repo/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Random seed file created by test scripts and sample programs
seedfile
# MBEDTLS_PSA_INJECT_ENTROPY seed file created by the test framework
00000000ffffff52.psa_its

# CMake build artifacts:
CMakeCache.txt
Expand All @@ -23,6 +25,14 @@ coverage-summary.txt
# generated by scripts/memory.sh
massif-*

# Eclipse project files
.cproject
.project
/.settings

# Unix-like build artifacts:
*.o

# MSVC build artifacts:
*.exe
*.pdb
Expand Down Expand Up @@ -60,3 +70,6 @@ massif-*
/TAGS
/cscope*.out
/tags

# Clangd compilation database
compile_commands.json
4 changes: 4 additions & 0 deletions third_party/mbedtls/repo/.pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,7 @@ reports=no
# Allow unused variables if their name starts with an underscore.
# [unused-argument]
dummy-variables-rgx=_.*

[SIMILARITIES]
# Ignore imports when computing similarities.
ignore-imports=yes
26 changes: 26 additions & 0 deletions third_party/mbedtls/repo/.readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-20.04
tools:
python: "3.9"
jobs:
pre_build:
- ./scripts/apidoc_full.sh
- breathe-apidoc -o docs/api apidoc/xml

# Build documentation in the docs/ directory with Sphinx
sphinx:
builder: dirhtml
configuration: docs/conf.py

# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt
54 changes: 13 additions & 41 deletions third_party/mbedtls/repo/.travis.yml
Original file line number Diff line number Diff line change
@@ -1,52 +1,24 @@
language: c
compiler: gcc
sudo: false
cache: ccache

jobs:
include:
- name: basic checks and reference configurations
addons:
apt:
packages:
- gnutls-bin
- doxygen
- graphviz
- gcc-arm-none-eabi
- libnewlib-arm-none-eabi
- gcc-arm-linux-gnueabi
- libc6-dev-armel-cross
language: python # Needed to get pip for Python 3
python: 3.5 # version from Ubuntu 16.04
install:
- scripts/min_requirements.py
script:
- tests/scripts/all.sh -k 'check_*'
- tests/scripts/all.sh -k test_default_out_of_box
- tests/scripts/all.sh -k test_ref_configs
- tests/scripts/all.sh -k build_arm_linux_gnueabi_gcc_arm5vte build_arm_none_eabi_gcc_m0plus
# Declare python as our language. This way we get our chosen Python version,
# and pip is available. Gcc and clang are available anyway.
dist: jammy
os: linux
language: python
python: 3.10

- name: full configuration
script:
- tests/scripts/all.sh -k test_full_cmake_gcc_asan
cache: ccache

- name: Windows
os: windows
script:
- scripts/windows_msbuild.bat v141 # Visual Studio 2017
branches:
only:
coverity_scan

after_failure:
- tests/scripts/travis-log-failure.sh
install:
- $PYTHON scripts/min_requirements.py

env:
global:
- SEED=1
- secure: "FrI5d2s+ckckC17T66c8jm2jV6i2DkBPU5nyWzwbedjmEBeocREfQLd/x8yKpPzLDz7ghOvr+/GQvsPPn0dVkGlNzm3Q+hGHc/ujnASuUtGrcuMM+0ALnJ3k4rFr9xEvjJeWb4SmhJO5UCAZYvTItW4k7+bj9L+R6lt3TzQbXzg="

- secure: "GF/Fde5fkm15T/RNykrjrPV5Uh1KJ70cP308igL6Xkk3eJmqkkmWCe9JqRH12J3TeWw2fu9PYPHt6iFSg6jasgqysfUyg+W03knRT5QNn3h5eHgt36cQJiJr6t3whPrRaiM6U9omE0evm+c0cAwlkA3GGSMw8Z+na4EnKI6OFCo="
addons:
apt:
packages:
- gnutls-bin
coverity_scan:
project:
name: "ARMmbed/mbedtls"
Expand Down
Loading

0 comments on commit 869c2de

Please sign in to comment.