forked from Mbed-TLS/mbedtls
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'tls/development' into development
Merge Mbed TLS at f790a6c into Mbed Crypto. Resolve conflicts by performing the following: - Reject changes to README.md - Don't add crypto as a submodule - Remove test/ssl_cert_test from programs/Makefile - Add cipher.nist_kw test to tests/CMakeLists.txt - Reject removal of crypto-specific all.sh tests - Reject update to SSL-specific portion of component_test_valgrind in all.sh - Reject addition of ssl-opt.sh testing to component_test_m32_o1 in all.sh * tls/development: (87 commits) Call mbedtls_cipher_free() to reset a cipher context Don't call mbedtls_cipher_setkey twice Update crypto submodule Minor fixes in get certificate policies oid test Add certificate policy oid x509 extension cpp_dummy_build: Add missing header psa_util.h Clarify comment mangled by an earlier refactoring Add an "out-of-box" component Run ssl-opt.sh on 32-bit runtime Don't use debug level 1 for informational messages Skip uncritical unsupported extensions Give credit to OSS-Fuzz for Mbed-TLS#2404 all.sh: remove component_test_new_ecdh_context Remove crypto-only related components from all.sh Remove ssl_cert_test sample app Make CRT callback tests more robust Rename constant in client2.c Document and test flags in x509_verify Fix style issues and a typo Fix a rebase error ...
- Loading branch information
Showing
46 changed files
with
1,560 additions
and
1,191 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,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
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 was deleted.
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
Oops, something went wrong.