该项目从 https://github.com/Mbed-TLS/mbedtls 镜像。
拉取镜像更新于 。
- 8月 10, 2021
-
-
由 Jerry Yu 创作于
Before `mbedtls_ssl_setup`, config functions should be called. Without it, `mbedtls_ssl_setup` will raise invalid value error. Change-Id: I46fdaa5e8eb83d06c620087a9e1e7e14e1c5d9b5 Signed-off-by:
Jerry Yu <jerry.h.yu@arm.com>
-
由 Jerry Yu 创作于
tls1.3 and tls1.2 can not be enabled at same time before #4832 resolved. And the test won't run into `handshake` stage, add `skip_handshak_check` function to skip it. Change-Id: I13f3b06b2f33b9c9beb8cac90f5fda41a4ed53f3 Signed-off-by:
Jerry Yu <jerry.h.yu@arm.com>
-
由 Jerry Yu 创作于
Check configuration parameter in structure setup function to make sure the config data is available and valid. Current implementation checks the version config. Available version configs are - tls1_3 only - tls1_2 only issues: #4844 Change-Id: Ia762bd3d817440ae130b45f19b80a2868afae924 Signed-off-by:
Jerry Yu <jerry.h.yu@arm.com>
-
- 8月 09, 2021
-
-
由 Jerry Yu 创作于
If socket setup fail, ssl structure setup won't be called. And the order of them do not affect final result, but it will break ssl setup negative tests. Change the order can fix that. issue: #4844 Change-Id: I2488ed5f74773421eb1eac0cfd7f1ce4fbb0b32d Signed-off-by:
Jerry Yu <jerry.h.yu@arm.com>
-
由 Jerry Yu 创作于
To support tls1.3 relative tests, add `tls1_3` parameter for `{min,max}_version` and `force_version` issues: #4844 Change-Id: I1b22a076582374b8aabc733086562e9d03a94a2a Signed-off-by:
Jerry Yu <jerry.h.yu@arm.com>
-
- 8月 04, 2021
-
-
由 Gilles Peskine 创作于
ssl-opt.sh: Skip tests instead of conditional hard abort
-
- 8月 03, 2021
-
-
由 Gilles Peskine 创作于
Move MBEDTLS_ERR_xxx Doxygen comments before the definition
-
由 Gilles Peskine 创作于
Remove duplicated check in `check_config.h`
-
由 Gilles Peskine 创作于
This makes no difference to the output. Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
Now that descriptions of error codes no longer have to be on the same line for the sake of generate_errors.pl, move them to their own line before the definition. This aligns them with what we do for other definitions, and means that we no longer need to have very long lines containing both the C definition and the comment. ``` perl -i -pe 's~^(#define +MBEDTLS_ERR_\w+ +-\w+) */\*[*!]<(.*)\*/~/**$2*/\n$1~' include/mbedtls/*.h ``` This commit does not change the output of generate_errors.pl. Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
They were recognized by a prior commit. In this commit, replace line breaks (with optional comment continuation marker) by spaces. Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
Before this commit, definitions of error codes must match a strict pattern, with a Doxygen comment following the definition on the same line and starting with "/**<". Change how generate_errors.pl so that the Doxygen comment can be before the definition instead of after, and doesn't have to be on the same line. Also allow spaces between "#" and "define", and allow Doxygen comments to start with "/*!" rather than "/**". Starting with "///" or "//!" is not supported. This commit does not change the output of generate_errors.pl. Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
- 8月 02, 2021
-
-
由 Gilles Peskine 创作于
Store TLS version in SSL session structure
-
由 Hanno Becker 创作于
Signed-off-by:
Hanno Becker <hanno.becker@arm.com>
-
由 Hanno Becker 创作于
Signed-off-by:
Hanno Becker <hanno.becker@arm.com>
-
- 8月 01, 2021
-
-
由 Hanno Becker 创作于
Signed-off-by:
Hanno Becker <hanno.becker@arm.com>
-
由 Hanno Becker 创作于
Signed-off-by:
Hanno Becker <hanno.becker@arm.com>
-
- 7月 31, 2021
-
-
由 Gilles Peskine 创作于
Fix divide by zero if macro used with wrong key type
-
- 7月 30, 2021
-
-
由 Dave Rodgman 创作于
Explicitly mark fields as private via MBEDTLS_PRIVATE(...)
-
- 7月 29, 2021
-
-
由 Manuel Pégourié-Gonnard 创作于
Re-introduction of key slot checks
-
由 Manuel Pégourié-Gonnard 创作于
Save the basic-build-test.sh test report summary to coverage-summary.txt
-
由 Manuel Pégourié-Gonnard 创作于
Fix bugs around generate_psa_tests.py invocation from tests/Makefile
-
- 7月 27, 2021
-
-
由 Manuel Pégourié-Gonnard 创作于
Remove all TLS 1.0 and 1.1 instances and add some compatibility tests
-
由 Gilles Peskine 创作于
This has been irrelevant since Mbed TLS 2.0.0. Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
- 7月 23, 2021
-
-
由 Ronald Cron 创作于
psa_generate_test: tweak MSVC detection to work with non-English Visual Studio
-
由 Hanno Becker 创作于
Instances of `mbedtls_ssl_session` represent data enabling session resumption. With the introduction of TLS 1.3, the format of this data changes. We therefore need TLS-version field as part of `mbedtlsl_ssl_session` which allows distinguish 1.2 and 1.3 sessions. This commit introduces such a TLS-version field to mbedtls_ssl_session. The change has a few ramifications: - Session serialization/deserialization routines need to be adjusted. This is achieved by adding the TLS-version after the header of Mbed TLS version+config, and by having the subsequent structure of the serialized data depend on the value of this field. The details are described in terms of the RFC 8446 presentation language. The 1.2 session (de)serialization are moved into static helper functions, while the top-level session (de)serialization only parses the Mbed TLS version+config header and the TLS-version field, and dispatches according to the found version. This way, it will be easy to add support for TLS 1.3 sessions in the future. - Tests for session serialization need to be adjusted - Once we add support for TLS 1.3, with runtime negotiation of 1.2 vs. 1.3, we will need to have some logic comparing the TLS version of the proposed session to the negotiated TLS version. For now, however, we only support TLS 1.2, and no such logic is needed. Instead, we just store the TLS version in the session structure at the same point when we populate mbedtls_ssl_context.minor_ver. The change introduces some overlap between `mbedtls_ssl_session.minor_ver` and `mbedtls_ssl_context.minor_ver`, which should be studied and potentially resolved. However, with both fields being private and explicitly marked so, this can happen in a later change. Signed-off-by:
Hanno Becker <hanno.becker@arm.com>
-
- 7月 22, 2021
-
-
由 Gilles Peskine 创作于
Replace reserved identifier clashes with suitable replacements
-
由 Hanno Becker 创作于
Signed-off-by:
Hanno Becker <hanno.becker@arm.com>
-
由 Hanno Becker 创作于
This was always intended to be explicitly marked private. Signed-off-by:
Hanno Becker <hanno.becker@arm.com>
-
由 Hanno Becker 创作于
This was an oversight during concurrent merging in the run-up to Mbed TLS 3.0. Signed-off-by:
Hanno Becker <hanno.becker@arm.com>
-
由 Gilles Peskine 创作于
Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Ronald Cron 创作于
Test block sizes are powers of 2
-
由 Gilles Peskine 创作于
The previous implementation was hard to understand and could in principle fail to notice if there was a test case failure and the writing of the line "Note: $TOTAL_FAIL failures." failed. KISS. Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
- 7月 21, 2021
-
-
由 Gilles Peskine 创作于
Enable Curve448 support via the PSA API
-
- 7月 20, 2021
-
-
由 TRodziewicz 创作于
Signed-off-by:
TRodziewicz <tomasz.rodziewicz@mobica.com>
-
- 7月 16, 2021
-
-
由 Ronald Cron 创作于
3.0: Updates to the storage format test strategy after starting implementation
-
- 7月 15, 2021
-
-
由 Gilles Peskine 创作于
What matters is that we validate that test data is not removed. Keeping the test data is the most obvious way, but not the only way. Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-
由 Gilles Peskine 创作于
Signed-off-by:
Gilles Peskine <Gilles.Peskine@arm.com>
-