1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-05-11 17:32:34 +08:00

fix document about tls13

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2022-01-27 12:55:32 +08:00
parent 72a0565e13
commit adb1869f8d

View File

@ -122,20 +122,16 @@ MVP definition
- Supported versions: - Supported versions:
- only TLS 1.3, version negotiation is not supported. - TLS 1.2 and TLS 1.3 but version negotiation is not supported.
- TLS 1.3 and 1.2 can be disable/enable with build option. One of them MUST be - TLS 1.3 can be enabled in the build (MBEDTLS_SSL_PROTO_TLS1_3 configuration
enabled. Supported build options: option) without TLS 1.2 (MBEDTLS_SSL_PROTO_TLS1_2 configuration option).
| MBEDTLS_SSL_PROTO_TLS1_2 | MBEDTLS_SSL_PROTO_TLS1_3 | - TLS 1.2 can be enabled in the build independently of TLS 1.3.
| ------------------------ | ------------------------ |
| yes | no |
| no | yes |
| yes | yes |
- If both TLS 1.3 and TLS 1.2 are enabled, only one of them can be configured - If both TLS 1.3 and TLS 1.2 are enabled at build time, only one of them can
enabled via `mbedtls_ssl_conf_{min,max}_version`. Otherwise, `mbedtls_ssl_setup` be configured at runtime via `mbedtls_ssl_conf_{min,max}_version`. Otherwise,
will raise `MBEDTLS_ERR_SSL_BAD_CONFIG` error. `mbedtls_ssl_setup` will raise `MBEDTLS_ERR_SSL_BAD_CONFIG` error.
- Compatibility with existing SSL/TLS build options: - Compatibility with existing SSL/TLS build options: