-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed 'libstb/crypto/mbedtls/' content from commit 7a03e1cbf5
git-subtree-dir: libstb/crypto/mbedtls git-subtree-split: 7a03e1cbf5569b5e4de32d8c42a3083175503804 Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
- Loading branch information
1 parent
f76a1d9
commit e9f31b2
Showing
985 changed files
with
233,953 additions
and
0 deletions.
There are no files selected for viewing
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,41 @@ | ||
Note: This is just a template, so feel free to use/remove the unnecessary things | ||
|
||
### Description | ||
- Type: Bug | Enhancement\Feature Request | Question | ||
- Priority: Blocker | Major | Minor | ||
|
||
--------------------------------------------------------------- | ||
## Bug | ||
|
||
**OS** | ||
Mbed OS|linux|windows| | ||
|
||
**mbed TLS build:** | ||
Version: x.x.x or git commit id | ||
OS version: x.x.x | ||
Configuration: please attach config.h file where possible | ||
Compiler and options (if you used a pre-built binary, please indicate how you obtained it): | ||
Additional environment information: | ||
|
||
**Peer device TLS stack and version** | ||
OpenSSL|GnuTls|Chrome|NSS(Firefox)|SecureChannel (IIS/Internet Explorer/Edge)|Other | ||
Version: | ||
|
||
**Expected behavior** | ||
|
||
**Actual behavior** | ||
|
||
**Steps to reproduce** | ||
|
||
---------------------------------------------------------------- | ||
## Enhancement\Feature Request | ||
|
||
**Justification - why does the library need this feature?** | ||
|
||
**Suggested enhancement** | ||
|
||
----------------------------------------------------------------- | ||
|
||
## Question | ||
|
||
**Please first check for answers in the [Mbed TLS knowledge Base](https://tls.mbed.org/kb), and preferably file an issue in the [Mbed TLS support forum](https://forums.mbed.com/c/mbed-tls)** |
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,39 @@ | ||
Notes: | ||
* Pull requests cannot be accepted until: | ||
- The submitter has [accepted the online agreement here with a click through](https://developer.mbed.org/contributor_agreement/) | ||
or for companies or those that do not wish to create an mbed account, a slightly different agreement can be found [here](https://www.mbed.com/en/about-mbed/contributor-license-agreements/) | ||
- The PR follows the [mbed TLS coding standards](https://tls.mbed.org/kb/development/mbedtls-coding-standards) | ||
* 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. | ||
|
||
|
||
## 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? | ||
|
||
## Migrations | ||
If there is any API change, what's the incentive and logic for it. | ||
|
||
YES | NO | ||
|
||
## Additional comments | ||
Any additional information that could be of interest | ||
|
||
## Todos | ||
- [ ] Tests | ||
- [ ] Documentation | ||
- [ ] Changelog updated | ||
- [ ] Backported | ||
|
||
|
||
## Steps to test or reproduce | ||
Outline the steps to test or reproduce the PR here. |
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,43 @@ | ||
# Random seed file created by test scripts and sample programs | ||
seedfile | ||
|
||
# CMake build artifacts: | ||
CMakeCache.txt | ||
CMakeFiles | ||
CTestTestfile.cmake | ||
cmake_install.cmake | ||
Testing | ||
# CMake generates *.dir/ folders for in-tree builds (used by MSVC projects), ignore all of those: | ||
*.dir/ | ||
# MSVC files generated by CMake: | ||
/*.sln | ||
/*.vcxproj | ||
/*.filters | ||
|
||
# Test coverage build artifacts: | ||
Coverage | ||
*.gcno | ||
*.gcda | ||
|
||
# generated by scripts/memory.sh | ||
massif-* | ||
|
||
# MSVC build artifacts: | ||
*.exe | ||
*.pdb | ||
*.ilk | ||
*.lib | ||
|
||
# Python build artifacts: | ||
*.pyc | ||
|
||
# Generated documentation: | ||
/apidoc | ||
|
||
# Editor navigation files: | ||
/GPATH | ||
/GRTAGS | ||
/GSYMS | ||
/GTAGS | ||
/TAGS | ||
/tags |
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,3 @@ | ||
default:\ | ||
:langmap=c\:.c.h.function:\ | ||
|
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,52 @@ | ||
[BASIC] | ||
# We're ok with short funtion argument names. | ||
# [invalid-name] | ||
argument-rgx=[a-z_][a-z0-9_]*$ | ||
|
||
# Allow filter and map. | ||
# [bad-builtin] | ||
bad-functions=input | ||
|
||
# We prefer docstrings, but we don't require them on all functions. | ||
# Require them only on long functions (for some value of long). | ||
# [missing-docstring] | ||
docstring-min-length=10 | ||
|
||
# Allow longer methods than the default. | ||
# [invalid-name] | ||
method-rgx=[a-z_][a-z0-9_]{2,35}$ | ||
|
||
# Allow module names containing a dash (but no underscore or uppercase letter). | ||
# They are whole programs, not meant to be included by another module. | ||
# [invalid-name] | ||
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|[a-z][-0-9a-z]+)$ | ||
|
||
# Some functions don't need docstrings. | ||
# [missing-docstring] | ||
no-docstring-rgx=(run_)main$ | ||
|
||
# We're ok with short local or global variable names. | ||
# [invalid-name] | ||
variable-rgx=[a-z_][a-z0-9_]*$ | ||
|
||
[DESIGN] | ||
# Allow more than the default 7 attributes. | ||
# [too-many-instance-attributes] | ||
max-attributes=15 | ||
|
||
[FORMAT] | ||
# Allow longer modules than the default recommended maximum. | ||
# [too-many-lines] | ||
max-module-lines=2000 | ||
|
||
[MESSAGES CONTROL] | ||
disable= | ||
|
||
[REPORTS] | ||
# Don't diplay statistics. Just the facts. | ||
reports=no | ||
|
||
[VARIABLES] | ||
# Allow unused variables if their name starts with an underscore. | ||
# [unused-argument] | ||
dummy-variables-rgx=_.* |
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,48 @@ | ||
language: c | ||
compiler: | ||
- clang | ||
- gcc | ||
sudo: false | ||
cache: ccache | ||
|
||
# blocklist | ||
branches: | ||
except: | ||
- development-psa | ||
- coverity_scan | ||
|
||
script: | ||
- tests/scripts/recursion.pl library/*.c | ||
- tests/scripts/check-generated-files.sh | ||
- tests/scripts/check-doxy-blocks.pl | ||
- tests/scripts/check-names.sh | ||
- tests/scripts/check-files.py | ||
- tests/scripts/doxygen.sh | ||
- cmake -D CMAKE_BUILD_TYPE:String="Check" . | ||
- make | ||
- make test | ||
- programs/test/selftest | ||
- OSSL_NO_DTLS=1 tests/compat.sh | ||
- tests/ssl-opt.sh -e '\(DTLS\|SCSV\).*openssl' | ||
- tests/scripts/test-ref-configs.pl | ||
- tests/scripts/curves.pl | ||
- tests/scripts/key-exchanges.pl | ||
after_failure: | ||
- tests/scripts/travis-log-failure.sh | ||
env: | ||
global: | ||
- SEED=1 | ||
- secure: "barHldniAfXyoWOD/vcO+E6/Xm4fmcaUoC9BeKW+LwsHqlDMLvugaJnmLXkSpkbYhVL61Hzf3bo0KPJn88AFc5Rkf8oYHPjH4adMnVXkf3B9ghHCgznqHsAH3choo6tnPxaFgOwOYmLGb382nQxfE5lUdvnM/W/psQjWt66A1+k=" | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- doxygen | ||
- graphviz | ||
coverity_scan: | ||
project: | ||
name: "ARMmbed/mbedtls" | ||
notification_email: simon.butcher@arm.com | ||
build_command_prepend: | ||
build_command: make | ||
branch_pattern: coverity_scan |
Oops, something went wrong.